org.jfree.chart.axis
Class NumberTick

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

public class NumberTick
extends ValueTick

A numerical tick.

See Also:
Serialized Form

Constructor Summary
NumberTick(java.lang.Number number, java.lang.String label, float anchorX, float anchorY, org.jfree.ui.TextAnchor textAnchor, org.jfree.ui.TextAnchor rotationAnchor, double angle)
          Creates a new tick.
 
Method Summary
 java.lang.Number getNumber()
          Returns the number.
 
Methods inherited from class org.jfree.chart.axis.ValueTick
getValue
 
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

NumberTick

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

Parameters:
number - the number.
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 with the anchor point.
rotationAnchor - defines the rotation point relative to the text.
angle - the rotation angle (in radians).
Method Detail

getNumber

public java.lang.Number getNumber()
Returns the number.

Returns:
the number.