|
ChartCat 1.2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectli.netcat.chart.util.tag.LineTagConstraints
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.
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 |
public LineTagConstraints(float x, float y, int alignment)
LineTagConstraints
object with the given 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 |
public void displace(Tag tag)
TagConstraints
tagX
, tagY
, directionX
and directionY
of
the given tag.
displace
in interface TagConstraints
tag
- The tag that needs a primary displacement.
|
ChartCat 1.2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |