| java.lang.Object org.jfree.chart.axis.Tick
All known Subclasses: org.jfree.chart.axis.ValueTick, org.jfree.chart.axis.CategoryTick,
Constructor Summary | |
public | Tick(String text, TextAnchor textAnchor, TextAnchor rotationAnchor, double angle) Creates a new tick.
Parameters: text - the formatted version of the tick value. Parameters: textAnchor - the text anchor (null not permitted). Parameters: rotationAnchor - the rotation anchor (null not permitted). Parameters: angle - the angle. |
Method Summary | |
public Object | clone() Returns a clone of the tick. | public boolean | equals(Object obj) Tests this tick for equality with an arbitrary object.
Parameters: obj - the object (null permitted). | public double | getAngle() Returns the angle. | public TextAnchor | getRotationAnchor() Returns the text anchor that defines the point around which the label is
rotated. | public String | getText() Returns the text version of the tick value. | public TextAnchor | getTextAnchor() Returns the text anchor. | public String | toString() Returns a string representation of the tick. |
Tick | public Tick(String text, TextAnchor textAnchor, TextAnchor rotationAnchor, double angle)(Code) | | Creates a new tick.
Parameters: text - the formatted version of the tick value. Parameters: textAnchor - the text anchor (null not permitted). Parameters: rotationAnchor - the rotation anchor (null not permitted). Parameters: angle - the angle. |
equals | public boolean equals(Object obj)(Code) | | Tests this tick for equality with an arbitrary object.
Parameters: obj - the object (null permitted). A boolean. |
getAngle | public double getAngle()(Code) | | Returns the angle.
The angle. |
getRotationAnchor | public TextAnchor getRotationAnchor()(Code) | | Returns the text anchor that defines the point around which the label is
rotated.
A text anchor (never null ). |
getText | public String getText()(Code) | | Returns the text version of the tick value.
A string (possibly null ; |
getTextAnchor | public TextAnchor getTextAnchor()(Code) | | Returns the text anchor.
The text anchor (never null ). |
toString | public String toString()(Code) | | Returns a string representation of the tick.
A string. |
|
|