Package com.iizix.prop.ui.chart
Enum TitlePosition
- java.lang.Object
- java.lang.Enum<TitlePosition>
- com.iizix.prop.ui.chart.TitlePosition
- All Implemented Interfaces:
IPropCnrChoiceOption<IChartChoiceOption>
,IChartChoiceOption
,java.io.Serializable
,java.lang.Comparable<TitlePosition>
public enum TitlePosition extends java.lang.Enum<TitlePosition> implements IChartChoiceOption
The chart title position.- Author:
- Christopher Mindus
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description TitlePosition[]
enumValues()
Gets all the choices possible, including default.TitlePosition
getDefault()
Gets the default value.int
getInt()
Returns the choice as an integer value.java.lang.String
getPropName()
Gets the property name.static TitlePosition
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static TitlePosition[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
Enum Constant Detail
TOP
public static final TitlePosition TOP
BOTTOM
public static final TitlePosition BOTTOM
LEFT
public static final TitlePosition LEFT
RIGHT
public static final TitlePosition RIGHT
Method Detail
values
public static TitlePosition[] 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 (TitlePosition c : TitlePosition.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
valueOf
public static TitlePosition 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
getDefault
public TitlePosition getDefault()
Gets the default value. This value is used to initialize the property.- Specified by:
getDefault
in interfaceIPropCnrChoiceOption<IChartChoiceOption>
- Returns:
TOP
.
enumValues
public TitlePosition[] enumValues()
Gets all the choices possible, including default.- Specified by:
enumValues
in interfaceIPropCnrChoiceOption<IChartChoiceOption>
getInt
public int getInt()
Returns the choice as an integer value.- Specified by:
getInt
in interfaceIPropCnrChoiceOption<IChartChoiceOption>
getPropName
public java.lang.String getPropName()
Gets the property name.- Specified by:
getPropName
in interfaceIPropCnrChoiceOption<IChartChoiceOption>