|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<AxisType>
org.eclipse.birt.chart.model.attribute.AxisType
public enum AxisType
A representation of the literals of the enumeration ' Axis Type', and utility methods for working with them. This type defines the allowed values for Axis types. Any new Axis type needs to be added here to be supported.
AttributePackage.getAxisType()
Enum Constant Summary | |
---|---|
DATE_TIME_LITERAL
The 'Date Time' literal object. |
|
LINEAR_LITERAL
The 'Linear' literal object. |
|
LOGARITHMIC_LITERAL
The 'Logarithmic' literal object. |
|
TEXT_LITERAL
The 'Text' literal object. |
Field Summary | |
---|---|
static int |
DATE_TIME
The 'Date Time' literal value. |
static int |
LINEAR
The 'Linear' literal value. |
static int |
LOGARITHMIC
The 'Logarithmic' literal value. |
static int |
TEXT
The 'Text' literal value. |
static java.util.List<AxisType> |
VALUES
A public read-only list of all the 'Axis Type' enumerators. |
Method Summary | |
---|---|
static AxisType |
get(int value)
Returns the 'Axis Type' literal with the specified integer value. |
static AxisType |
get(java.lang.String literal)
Returns the 'Axis Type' literal with the specified literal value. |
static AxisType |
getByName(java.lang.String name)
Returns the 'Axis Type' literal with the specified name. |
java.lang.String |
getLiteral()
|
java.lang.String |
getName()
|
int |
getValue()
|
java.lang.String |
toString()
Returns the literal value of the enumerator, which is its string representation. |
static AxisType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static AxisType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final AxisType LINEAR_LITERAL
If the meaning of 'Linear' literal object isn't clear, there really should be more of a description here...
LINEAR
public static final AxisType LOGARITHMIC_LITERAL
If the meaning of 'Logarithmic' literal object isn't clear, there really should be more of a description here...
LOGARITHMIC
public static final AxisType TEXT_LITERAL
If the meaning of 'Text' literal object isn't clear, there really should be more of a description here...
TEXT
public static final AxisType DATE_TIME_LITERAL
If the meaning of 'Date Time' literal object isn't clear, there really should be more of a description here...
DATE_TIME
Field Detail |
---|
public static final int LINEAR
LINEAR_LITERAL
,
Constant Field Valuespublic static final int LOGARITHMIC
LOGARITHMIC_LITERAL
,
Constant Field Valuespublic static final int TEXT
TEXT_LITERAL
,
Constant Field Valuespublic static final int DATE_TIME
DATE_TIME_LITERAL
,
Constant Field Valuespublic static final java.util.List<AxisType> VALUES
Method Detail |
---|
public static AxisType[] values()
for (AxisType c : AxisType.values()) System.out.println(c);
public static AxisType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is nullpublic static AxisType get(java.lang.String literal)
public static AxisType getByName(java.lang.String name)
public static AxisType get(int value)
public int getValue()
getValue
in interface org.eclipse.emf.common.util.Enumerator
public java.lang.String getName()
getName
in interface org.eclipse.emf.common.util.Enumerator
public java.lang.String getLiteral()
getLiteral
in interface org.eclipse.emf.common.util.Enumerator
public java.lang.String toString()
toString
in class java.lang.Enum<AxisType>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |