Package org.jfree.chart.labels
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 Summary
-
Method Summary
Modifier and Type Method Description boolean
equals(Object o)
Returnstrue
if this object is equal to the specified object, andfalse
otherwise.static ItemLabelAnchor
getHorizontalOpposite(ItemLabelAnchor anchor)
Deprecated.Renderer now has positive and negative item label anchors.static ItemLabelAnchor
getVerticalOpposite(ItemLabelAnchor anchor)
Deprecated.Renderer now has positive and negative item label positions.String
toString()
Returns a string representing the object.
-
Field Details
-
CENTER
Center. -
INSIDE1
INSIDE1. -
INSIDE2
INSIDE2. -
INSIDE3
INSIDE3. -
INSIDE4
INSIDE4. -
INSIDE5
INSIDE5. -
INSIDE6
INSIDE6. -
INSIDE7
INSIDE7. -
INSIDE8
INSIDE8. -
INSIDE9
INSIDE9. -
INSIDE10
INSIDE10. -
INSIDE11
INSIDE11. -
INSIDE12
INSIDE12. -
OUTSIDE1
OUTSIDE1. -
OUTSIDE2
OUTSIDE2. -
OUTSIDE3
OUTSIDE3. -
OUTSIDE4
OUTSIDE4. -
OUTSIDE5
OUTSIDE5. -
OUTSIDE6
OUTSIDE6. -
OUTSIDE7
OUTSIDE7. -
OUTSIDE8
OUTSIDE8. -
OUTSIDE9
OUTSIDE9. -
OUTSIDE10
OUTSIDE10. -
OUTSIDE11
OUTSIDE11. -
OUTSIDE12
OUTSIDE12.
-
-
Method Details
-
toString
Returns a string representing the object. -
equals
Returnstrue
if this object is equal to the specified object, andfalse
otherwise. -
getHorizontalOpposite
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
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.
-