ChartCat 1.2

li.netcat.chart.util.tag
Class LineTagConstraints

java.lang.Object
  extended byli.netcat.chart.util.tag.LineTagConstraints
All Implemented Interfaces:
TagConstraints

public class LineTagConstraints
extends java.lang.Object
implements TagConstraints

This tag constraints define that all tags must be placed on a straight line. The line is defined by a point that lies on the straight line and an alignment that specifies where to place the labels.

Author:
Arthur Marxer

Constructor Summary
LineTagConstraints(float x, float y, int alignment)
          Constructs a new LineTagConstraints object with the given parameters.
 
Method Summary
 void displace(Tag tag)
          Does the primary displacement of the given tag.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LineTagConstraints

public LineTagConstraints(float x,
                          float y,
                          int alignment)
Constructs a new LineTagConstraints object with the given parameters.

Parameters:
x - The x-coordinate of a point that lies on the straight line.
y - The y-coordinate of a point that lies on the straight line.
Method Detail

displace

public void displace(Tag tag)
Description copied from interface: TagConstraints
Does the primary displacement of the given tag. This method typically modifies the properties tagX, tagY, directionX and directionY of the given tag.

Specified by:
displace in interface TagConstraints
Parameters:
tag - The tag that needs a primary displacement.

ChartCat 1.2

Copyright © 2003 - 2005 NetCat Inc.. All rights reserved. Feedback

Chart,Charting,Charts,Java,Java Chart,Java Charting,Java Charts,Chart Java,Charts Java,3D,3D Chart,3Dchart,Graph,Graphs,Chart Graph,Java Graph,Diagram,Diagrams,Java Diagram,Java Diagrams,Curve,Curves,Bar Chart,Pie Chart,Line Chart,Area Chart,Bar Graph,Pie Graph,Line Graph,Java Diagram,Chart Diagram,Package,Library,Chart Library,Chart Engine,Chart Package,Graph Package,Paint,Support,Graphic,Graphics,Print, Chart,Charting,Charts,Java,Java Chart,Java Charting,Java Charts,Chart Java,Charts Java,3D,3D Chart,3Dchart,Graph,Graphs,Chart Graph,Java Graph,Diagram,Diagrams,Java Diagram,Java Diagrams,Curve,Curves,Bar Chart,Pie Chart,Line Chart,Area Chart,Bar Graph,Pie Graph,Line Graph,Java Diagram,Chart Diagram,Package,Library,Chart Library,Chart Engine,Chart Package,Graph Package,Paint,Support,Graphic,Graphics,Print, Chart,Charting,Charts,Java,Java Chart,Java Charting,Java Charts,Chart Java,Charts Java,3D,3D Chart,3Dchart,Graph,Graphs,Chart Graph,Java Graph,Diagram,Diagrams,Java Diagram,Java Diagrams,Curve,Curves,Bar Chart,Pie Chart,Line Chart,Area Chart,Bar Graph,Pie Graph,Line Graph,Java Diagram,Chart Diagram,Package,Library,Chart Library,Chart Engine,Chart Package,Graph Package,Paint,Support,Graphic,Graphics,Print