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

public abstract class ValueTick
extends Tick
A value tick.
See Also:
Serialized Form
  • 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).
  • Method Details

    • getValue

      public double getValue()
      Returns the value.
      Returns:
      the value.
    • equals

      public boolean equals​(Object obj)
      Tests this tick for equality with an arbitrary object.
      Overrides:
      equals in class Tick
      Parameters:
      obj - the object to test (null permitted).
      Returns:
      A boolean.