public class NumberTick extends ValueTick
Constructor and Description |
---|
NumberTick(java.lang.Number number,
java.lang.String label,
org.jfree.ui.TextAnchor textAnchor,
org.jfree.ui.TextAnchor rotationAnchor,
double angle)
Creates a new tick.
|
NumberTick(TickType tickType,
double value,
java.lang.String label,
org.jfree.ui.TextAnchor textAnchor,
org.jfree.ui.TextAnchor rotationAnchor,
double angle)
Creates a new tick.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Number |
getNumber()
Returns the number.
|
equals, getTickType, getValue
clone, getAngle, getRotationAnchor, getText, getTextAnchor, toString
public NumberTick(java.lang.Number number, java.lang.String label, org.jfree.ui.TextAnchor textAnchor, org.jfree.ui.TextAnchor rotationAnchor, double angle)
number
- the number (null
not permitted).label
- the label.textAnchor
- the part of the label that is aligned with the anchor
point.rotationAnchor
- defines the rotation point relative to the text.angle
- the rotation angle (in radians).public NumberTick(TickType tickType, double value, java.lang.String label, org.jfree.ui.TextAnchor textAnchor, org.jfree.ui.TextAnchor rotationAnchor, double angle)
tickType
- the tick type.value
- the value.label
- the label.textAnchor
- the part of the label that is aligned with the anchor
point.rotationAnchor
- defines the rotation point relative to the text.angle
- the rotation angle (in radians).public java.lang.Number getNumber()