org.jfree.chart.axis
Class ValueTick

java.lang.Object
  extended byorg.jfree.chart.axis.Tick
      extended byorg.jfree.chart.axis.ValueTick
All Implemented Interfaces:
java.lang.Cloneable, java.io.Serializable
Direct Known Subclasses:
DateTick, NumberTick

public abstract class ValueTick
extends Tick

A value tick.

See Also:
Serialized Form

Constructor Summary
ValueTick(double value, java.lang.String label, float anchorX, float anchorY, org.jfree.ui.TextAnchor textAnchor, org.jfree.ui.TextAnchor rotationAnchor, double angle)
          Creates a new value tick.
 
Method Summary
 double getValue()
          Returns the value.
 
Methods inherited from class org.jfree.chart.axis.Tick
clone, getAngle, getRotationAnchor, getText, getTextAnchor, toString
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ValueTick

public ValueTick(double value,
                 java.lang.String label,
                 float anchorX,
                 float anchorY,
                 org.jfree.ui.TextAnchor textAnchor,
                 org.jfree.ui.TextAnchor rotationAnchor,
                 double angle)
Creates a new value tick.

Parameters:
value - the value.
label - the label.
anchorX - the x-coordinate for the anchor point.
anchorY - the y-coordinate for the anchor point.
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).
Method Detail

getValue

public double getValue()
Returns the value.

Returns:
the value.