public abstract class Tick extends java.lang.Object implements java.io.Serializable, java.lang.Cloneable
Constructor and Description |
---|
Tick(java.lang.String text,
org.jfree.ui.TextAnchor textAnchor,
org.jfree.ui.TextAnchor rotationAnchor,
double angle)
Creates a new tick.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone()
Returns a clone of the tick.
|
boolean |
equals(java.lang.Object obj)
Tests this tick for equality with an arbitrary object.
|
double |
getAngle()
Returns the angle.
|
org.jfree.ui.TextAnchor |
getRotationAnchor()
Returns the text anchor that defines the point around which the label is
rotated.
|
java.lang.String |
getText()
Returns the text version of the tick value.
|
org.jfree.ui.TextAnchor |
getTextAnchor()
Returns the text anchor.
|
java.lang.String |
toString()
Returns a string representation of the tick.
|
public Tick(java.lang.String text, org.jfree.ui.TextAnchor textAnchor, org.jfree.ui.TextAnchor rotationAnchor, double angle)
text
- the formatted version of the tick value.textAnchor
- the text anchor (null
not permitted).rotationAnchor
- the rotation anchor (null
not
permitted).angle
- the angle.public java.lang.String getText()
null
);public org.jfree.ui.TextAnchor getTextAnchor()
null
).public org.jfree.ui.TextAnchor getRotationAnchor()
null
).public double getAngle()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
obj
- the object (null
permitted).public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
in class java.lang.Object
java.lang.CloneNotSupportedException
- if there is a problem cloning.public java.lang.String toString()
toString
in class java.lang.Object