Enum LabelLimiter.Option
- java.lang.Object
-
- java.lang.Enum<LabelLimiter.Option>
-
- org.eclipse.birt.chart.computation.LabelLimiter.Option
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<LabelLimiter.Option>
- Enclosing class:
- LabelLimiter
public static enum LabelLimiter.Option extends java.lang.Enum<LabelLimiter.Option>
Options used by method limitLabelSize. Option
-
-
Enum Constant Summary
Enum Constants Enum Constant Description FIX_HEIGHT
limitLabelSize will return the old maxHeight instead of the calculated one (smaller).FIX_WIDTH
limitLabelSize will return the old maxWidth instead of the calculated one (smaller).
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static LabelLimiter.Option
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static LabelLimiter.Option[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
FIX_WIDTH
public static final LabelLimiter.Option FIX_WIDTH
limitLabelSize will return the old maxWidth instead of the calculated one (smaller).
-
FIX_HEIGHT
public static final LabelLimiter.Option FIX_HEIGHT
limitLabelSize will return the old maxHeight instead of the calculated one (smaller).
-
-
Method Detail
-
values
public static LabelLimiter.Option[] 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 (LabelLimiter.Option c : LabelLimiter.Option.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static LabelLimiter.Option valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-