Class ValueTick
java.lang.Object
org.jfree.chart.axis.Tick
org.jfree.chart.axis.ValueTick
- All Implemented Interfaces:
Serializable, Cloneable
- Direct Known Subclasses:
DateTick, NumberTick
-
Constructor Summary
ConstructorsConstructorDescriptionValueTick(double value, String label, org.jfree.ui.TextAnchor textAnchor, org.jfree.ui.TextAnchor rotationAnchor, double angle) Creates a new value tick.ValueTick(TickType tickType, double value, String label, org.jfree.ui.TextAnchor textAnchor, org.jfree.ui.TextAnchor rotationAnchor, double angle) Creates a new value tick. -
Method Summary
Modifier and TypeMethodDescriptionbooleanTests this tick for equality with an arbitrary object.Returns the tick type (major or minor).doublegetValue()Returns the value.Methods inherited from class Tick
clone, getAngle, getRotationAnchor, getText, getTextAnchor, toString
-
Constructor Details
-
ValueTick
public ValueTick(double value, String label, org.jfree.ui.TextAnchor textAnchor, org.jfree.ui.TextAnchor rotationAnchor, double angle) Creates a new value tick.- Parameters:
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).
-
ValueTick
public ValueTick(TickType tickType, double value, String label, org.jfree.ui.TextAnchor textAnchor, org.jfree.ui.TextAnchor rotationAnchor, double angle) Creates a new value tick.- Parameters:
tickType- the tick type (major or minor).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).- Since:
- 1.0.7
-
-
Method Details
-
getValue
-
getTickType
Returns the tick type (major or minor).- Returns:
- The tick type.
- Since:
- 1.0.7
-
equals
-