Class ItemLabelAnchor

java.lang.Object
org.jfree.chart.labels.ItemLabelAnchor
All Implemented Interfaces:
Serializable

public final class ItemLabelAnchor extends Object implements Serializable
An enumeration of the positions that a value label can take, relative to an item in a CategoryPlot.
See Also:
  • Field Details

  • Constructor Details

    • ItemLabelAnchor

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

    • isInternal

      public boolean isInternal()
      Returns true if this anchor point is inside an area.
      Returns:
      true if this anchor point is inside an area, false otherwise.
    • 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.
      Returns:
      A boolean.
    • readResolve

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