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