- java.lang.Object
-
- java.lang.Enum<ItemLabelAnchor>
-
- org.jfree.chart.labels.ItemLabelAnchor
-
- All Implemented Interfaces:
Serializable,Comparable<ItemLabelAnchor>
public enum ItemLabelAnchor extends Enum<ItemLabelAnchor>
An enumeration of the positions that a value label can take, relative to an item in aCategoryPlot.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CENTERCenter anchor point.INSIDE11 o'clock anchor point.INSIDE1010 o'clock anchor point.INSIDE1111 o'clock anchor point.INSIDE1212 o'clock anchor point.INSIDE22 o'clock anchor point.INSIDE33 o'clock anchor point.INSIDE44 o'clock anchor point.INSIDE55 o'clock anchor point.INSIDE66 o'clock anchor point.INSIDE77 o'clock anchor point.INSIDE88 o'clock anchor point.INSIDE99 o'clock anchor point.OUTSIDE11 o'clock anchor point.OUTSIDE1010 o'clock anchor point.OUTSIDE1111 o'clock anchor point.OUTSIDE1212 o'clock anchor point.OUTSIDE22 o'clock anchor point.OUTSIDE33 o'clock anchor point.OUTSIDE44 o'clock anchor point.OUTSIDE55 o'clock anchor point.OUTSIDE66 o'clock anchor point.OUTSIDE77 o'clock anchor point.OUTSIDE88 o'clock anchor point.OUTSIDE99 o'clock anchor point.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ItemLabelAnchorvalueOf(String name)Returns the enum constant of this type with the specified name.static ItemLabelAnchor[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CENTER
public static final ItemLabelAnchor CENTER
Center anchor point.
-
INSIDE1
public static final ItemLabelAnchor INSIDE1
1 o'clock anchor point.
-
INSIDE2
public static final ItemLabelAnchor INSIDE2
2 o'clock anchor point.
-
INSIDE3
public static final ItemLabelAnchor INSIDE3
3 o'clock anchor point.
-
INSIDE4
public static final ItemLabelAnchor INSIDE4
4 o'clock anchor point.
-
INSIDE5
public static final ItemLabelAnchor INSIDE5
5 o'clock anchor point.
-
INSIDE6
public static final ItemLabelAnchor INSIDE6
6 o'clock anchor point.
-
INSIDE7
public static final ItemLabelAnchor INSIDE7
7 o'clock anchor point.
-
INSIDE8
public static final ItemLabelAnchor INSIDE8
8 o'clock anchor point.
-
INSIDE9
public static final ItemLabelAnchor INSIDE9
9 o'clock anchor point.
-
INSIDE10
public static final ItemLabelAnchor INSIDE10
10 o'clock anchor point.
-
INSIDE11
public static final ItemLabelAnchor INSIDE11
11 o'clock anchor point.
-
INSIDE12
public static final ItemLabelAnchor INSIDE12
12 o'clock anchor point.
-
OUTSIDE1
public static final ItemLabelAnchor OUTSIDE1
1 o'clock anchor point.
-
OUTSIDE2
public static final ItemLabelAnchor OUTSIDE2
2 o'clock anchor point.
-
OUTSIDE3
public static final ItemLabelAnchor OUTSIDE3
3 o'clock anchor point.
-
OUTSIDE4
public static final ItemLabelAnchor OUTSIDE4
4 o'clock anchor point.
-
OUTSIDE5
public static final ItemLabelAnchor OUTSIDE5
5 o'clock anchor point.
-
OUTSIDE6
public static final ItemLabelAnchor OUTSIDE6
6 o'clock anchor point.
-
OUTSIDE7
public static final ItemLabelAnchor OUTSIDE7
7 o'clock anchor point.
-
OUTSIDE8
public static final ItemLabelAnchor OUTSIDE8
8 o'clock anchor point.
-
OUTSIDE9
public static final ItemLabelAnchor OUTSIDE9
9 o'clock anchor point.
-
OUTSIDE10
public static final ItemLabelAnchor OUTSIDE10
10 o'clock anchor point.
-
OUTSIDE11
public static final ItemLabelAnchor OUTSIDE11
11 o'clock anchor point.
-
OUTSIDE12
public static final ItemLabelAnchor OUTSIDE12
12 o'clock anchor point.
-
-
Method Detail
-
values
public static ItemLabelAnchor[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ItemLabelAnchor c : ItemLabelAnchor.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ItemLabelAnchor valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-