public abstract class ValueTick extends Tick
Constructor and Description |
---|
ValueTick(double value,
java.lang.String label,
org.jfree.ui.TextAnchor textAnchor,
org.jfree.ui.TextAnchor rotationAnchor,
double angle)
Creates a new value tick.
|
ValueTick(TickType tickType,
double value,
java.lang.String label,
org.jfree.ui.TextAnchor textAnchor,
org.jfree.ui.TextAnchor rotationAnchor,
double angle)
Creates a new value tick.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj)
Tests this tick for equality with an arbitrary object.
|
TickType |
getTickType()
Returns the tick type (major or minor).
|
double |
getValue()
Returns the value.
|
clone, getAngle, getRotationAnchor, getText, getTextAnchor, toString
public ValueTick(double value, java.lang.String label, org.jfree.ui.TextAnchor textAnchor, org.jfree.ui.TextAnchor rotationAnchor, double angle)
value
- the value.label
- the label.textAnchor
- the part of the label that is aligned to the anchor
point.rotationAnchor
- defines the rotation point relative to the label.angle
- the rotation angle (in radians).public ValueTick(TickType tickType, double value, java.lang.String label, org.jfree.ui.TextAnchor textAnchor, org.jfree.ui.TextAnchor rotationAnchor, double angle)
tickType
- the tick type (major or minor, null
not
permitted).value
- the value.label
- the label.textAnchor
- the part of the label that is aligned to the anchor
point.rotationAnchor
- defines the rotation point relative to the label.angle
- the rotation angle (in radians).public double getValue()
public TickType getTickType()