Package org.jfree.chart.labels
Class ItemLabelAnchor
- java.lang.Object
-
- org.jfree.chart.labels.ItemLabelAnchor
-
- All Implemented Interfaces:
java.io.Serializable
public final class ItemLabelAnchor extends java.lang.Object implements java.io.Serializable
An enumeration of the positions that a value label can take, relative to an item in aCategoryPlot
.- See Also:
- Serialized Form
-
-
Field Summary
-
Constructor Summary
Constructors Modifier Constructor Description private
ItemLabelAnchor(java.lang.String name)
Private constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
Returnstrue
if this object is equal to the specified object, andfalse
otherwise.boolean
isInternal()
Returnstrue
if this anchor point is inside an area.private java.lang.Object
readResolve()
Ensures that serialization returns the unique instances.java.lang.String
toString()
Returns a string representing the object.
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
For serialization.- See Also:
- Constant Field Values
-
CENTER
public static final ItemLabelAnchor CENTER
CENTER.
-
INSIDE1
public static final ItemLabelAnchor INSIDE1
INSIDE1.
-
INSIDE2
public static final ItemLabelAnchor INSIDE2
INSIDE2.
-
INSIDE3
public static final ItemLabelAnchor INSIDE3
INSIDE3.
-
INSIDE4
public static final ItemLabelAnchor INSIDE4
INSIDE4.
-
INSIDE5
public static final ItemLabelAnchor INSIDE5
INSIDE5.
-
INSIDE6
public static final ItemLabelAnchor INSIDE6
INSIDE6.
-
INSIDE7
public static final ItemLabelAnchor INSIDE7
INSIDE7.
-
INSIDE8
public static final ItemLabelAnchor INSIDE8
INSIDE8.
-
INSIDE9
public static final ItemLabelAnchor INSIDE9
INSIDE9.
-
INSIDE10
public static final ItemLabelAnchor INSIDE10
INSIDE10.
-
INSIDE11
public static final ItemLabelAnchor INSIDE11
INSIDE11.
-
INSIDE12
public static final ItemLabelAnchor INSIDE12
INSIDE12.
-
OUTSIDE1
public static final ItemLabelAnchor OUTSIDE1
OUTSIDE1.
-
OUTSIDE2
public static final ItemLabelAnchor OUTSIDE2
OUTSIDE2.
-
OUTSIDE3
public static final ItemLabelAnchor OUTSIDE3
OUTSIDE3.
-
OUTSIDE4
public static final ItemLabelAnchor OUTSIDE4
OUTSIDE4.
-
OUTSIDE5
public static final ItemLabelAnchor OUTSIDE5
OUTSIDE5.
-
OUTSIDE6
public static final ItemLabelAnchor OUTSIDE6
OUTSIDE6.
-
OUTSIDE7
public static final ItemLabelAnchor OUTSIDE7
OUTSIDE7.
-
OUTSIDE8
public static final ItemLabelAnchor OUTSIDE8
OUTSIDE8.
-
OUTSIDE9
public static final ItemLabelAnchor OUTSIDE9
OUTSIDE9.
-
OUTSIDE10
public static final ItemLabelAnchor OUTSIDE10
OUTSIDE10.
-
OUTSIDE11
public static final ItemLabelAnchor OUTSIDE11
OUTSIDE11.
-
OUTSIDE12
public static final ItemLabelAnchor OUTSIDE12
OUTSIDE12.
-
name
private java.lang.String name
The name.
-
-
Method Detail
-
isInternal
public boolean isInternal()
Returnstrue
if this anchor point is inside an area.- Returns:
true
if this anchor point is inside an area,false
otherwise.
-
toString
public java.lang.String toString()
Returns a string representing the object.- Overrides:
toString
in classjava.lang.Object
- Returns:
- The string.
-
equals
public boolean equals(java.lang.Object obj)
Returnstrue
if this object is equal to the specified object, andfalse
otherwise.- Overrides:
equals
in classjava.lang.Object
- Parameters:
obj
- the other object.- Returns:
- A boolean.
-
readResolve
private java.lang.Object readResolve() throws java.io.ObjectStreamException
Ensures that serialization returns the unique instances.- Returns:
- The object.
- Throws:
java.io.ObjectStreamException
- if there is a problem.
-
-