|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<SortOption>
org.eclipse.birt.chart.model.attribute.SortOption
public enum SortOption
A representation of the literals of the enumeration ' Sort Option', and utility methods for working with them. This type represents the options available for sorting.
AttributePackage.getSortOption()
Enum Constant Summary | |
---|---|
ASCENDING_LITERAL
The 'Ascending' literal object. |
|
DESCENDING_LITERAL
The 'Descending' literal object. |
Field Summary | |
---|---|
static int |
ASCENDING
The 'Ascending' literal value. |
static int |
DESCENDING
The 'Descending' literal value. |
static java.util.List<SortOption> |
VALUES
A public read-only list of all the 'Sort Option' enumerators. |
Method Summary | |
---|---|
static SortOption |
get(int value)
Returns the 'Sort Option' literal with the specified integer value. |
static SortOption |
get(java.lang.String literal)
Returns the 'Sort Option' literal with the specified literal value. |
static SortOption |
getByName(java.lang.String name)
Returns the 'Sort Option' 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 SortOption |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static SortOption[] |
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 SortOption ASCENDING_LITERAL
If the meaning of 'Ascending' literal object isn't clear, there really should be more of a description here...
ASCENDING
public static final SortOption DESCENDING_LITERAL
If the meaning of 'Descending' literal object isn't clear, there really should be more of a description here...
DESCENDING
Field Detail |
---|
public static final int ASCENDING
ASCENDING_LITERAL
,
Constant Field Valuespublic static final int DESCENDING
DESCENDING_LITERAL
,
Constant Field Valuespublic static final java.util.List<SortOption> VALUES
Method Detail |
---|
public static SortOption[] values()
for (SortOption c : SortOption.values()) System.out.println(c);
public static SortOption 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 SortOption get(java.lang.String literal)
public static SortOption getByName(java.lang.String name)
public static SortOption 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<SortOption>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |