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:
Serialized Form
  • Field Details

  • 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 o)
      Returns true if this object is equal to the specified object, and false otherwise.
      Overrides:
      equals in class Object
      Parameters:
      o - the other object.
      Returns:
      A boolean.
    • getHorizontalOpposite

      public static ItemLabelAnchor getHorizontalOpposite​(ItemLabelAnchor anchor)
      Deprecated.
      Renderer now has positive and negative item label anchors.
      Returns the anchor point that is horizontally opposite the given anchor point.
      Parameters:
      anchor - an anchor point.
      Returns:
      The opposite anchor point.
    • getVerticalOpposite

      public static ItemLabelAnchor getVerticalOpposite​(ItemLabelAnchor anchor)
      Deprecated.
      Renderer now has positive and negative item label positions.
      Returns the anchor point that is vertically opposite the given anchor point.
      Parameters:
      anchor - an anchor point.
      Returns:
      The opposite anchor point.