Class AxisLabelLocation

java.lang.Object
org.jfree.chart.axis.AxisLabelLocation
All Implemented Interfaces:
Serializable

public final class AxisLabelLocation extends Object implements Serializable
Used to indicate the location of an axis label.
See Also:
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      For serialization.
      See Also:
    • HIGH_END

      public static final AxisLabelLocation HIGH_END
      Axis label at the top.
    • MIDDLE

      public static final AxisLabelLocation MIDDLE
      Axis label at the middle.
    • LOW_END

      public static final AxisLabelLocation LOW_END
      Axis label at the bottom.
    • name

      private final String name
      The name.
  • Constructor Details

    • AxisLabelLocation

      private AxisLabelLocation(String name)
      Private constructor.
      Parameters:
      name - the name.
  • Method Details

    • toString

      public String toString()
      Returns a string representing the object.
      Overrides:
      toString in class Object
      Returns:
      The string.
    • equals

      public boolean equals(Object obj)
      Returns true if this object is equal to the specified object, and false otherwise.
      Overrides:
      equals in class Object
      Parameters:
      obj - the other object (null permitted).
      Returns:
      A boolean.
    • hashCode

      public int hashCode()
      Returns a hash code for this instance.
      Overrides:
      hashCode in class Object
      Returns:
      A hash code.
    • readResolve

      private Object readResolve() throws ObjectStreamException
      Ensures that serialization returns the unique instances.
      Returns:
      The object.
      Throws:
      ObjectStreamException - if there is a problem.