|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<ColorConstants>
org.eclipse.gmf.gmfgraph.ColorConstants
public enum ColorConstants
A representation of the literals of the enumeration 'Color Constants', and utility methods for working with them.
GMFGraphPackage.getColorConstants()
Enum Constant Summary | |
---|---|
BLACK_LITERAL
The 'Black' literal object. |
|
BLUE_LITERAL
The 'Blue' literal object. |
|
CYAN_LITERAL
The 'Cyan' literal object. |
|
DARK_BLUE_LITERAL
The 'Dark Blue' literal object. |
|
DARK_GRAY_LITERAL
The 'Dark Gray' literal object. |
|
DARK_GREEN_LITERAL
The 'Dark Green' literal object. |
|
GRAY_LITERAL
The 'Gray' literal object. |
|
GREEN_LITERAL
The 'Green' literal object. |
|
LIGHT_BLUE_LITERAL
The 'Light Blue' literal object. |
|
LIGHT_GRAY_LITERAL
The 'Light Gray' literal object. |
|
LIGHT_GREEN_LITERAL
The 'Light Green' literal object. |
|
ORANGE_LITERAL
The 'Orange' literal object. |
|
RED_LITERAL
The 'Red' literal object. |
|
WHITE_LITERAL
The 'White' literal object. |
|
YELLOW_LITERAL
The 'Yellow' literal object. |
Field Summary | |
---|---|
static int |
BLACK
The 'Black' literal value. |
static int |
BLUE
The 'Blue' literal value. |
static int |
CYAN
The 'Cyan' literal value. |
static int |
DARK_BLUE
The 'Dark Blue' literal value. |
static int |
DARK_GRAY
The 'Dark Gray' literal value. |
static int |
DARK_GREEN
The 'Dark Green' literal value. |
static int |
GRAY
The 'Gray' literal value. |
static int |
GREEN
The 'Green' literal value. |
static int |
LIGHT_BLUE
The 'Light Blue' literal value. |
static int |
LIGHT_GRAY
The 'Light Gray' literal value. |
static int |
LIGHT_GREEN
The 'Light Green' literal value. |
static int |
ORANGE
The 'Orange' literal value. |
static int |
RED
The 'Red' literal value. |
static List<ColorConstants> |
VALUES
A public read-only list of all the 'Color Constants' enumerators. |
static int |
WHITE
The 'White' literal value. |
static int |
YELLOW
The 'Yellow' literal value. |
Method Summary | |
---|---|
static ColorConstants |
get(int value)
Returns the 'Color Constants' literal with the specified integer value. |
static ColorConstants |
get(String literal)
Returns the 'Color Constants' literal with the specified literal value. |
static ColorConstants |
getByName(String name)
Returns the 'Color Constants' literal with the specified name. |
String |
getLiteral()
|
String |
getName()
|
int |
getValue()
|
String |
toString()
Returns the literal value of the enumerator, which is its string representation. |
static ColorConstants |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static ColorConstants[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final ColorConstants WHITE_LITERAL
WHITE
public static final ColorConstants BLACK_LITERAL
BLACK
public static final ColorConstants LIGHT_GRAY_LITERAL
LIGHT_GRAY
public static final ColorConstants GRAY_LITERAL
GRAY
public static final ColorConstants DARK_GRAY_LITERAL
DARK_GRAY
public static final ColorConstants RED_LITERAL
RED
public static final ColorConstants ORANGE_LITERAL
ORANGE
public static final ColorConstants YELLOW_LITERAL
YELLOW
public static final ColorConstants GREEN_LITERAL
GREEN
public static final ColorConstants LIGHT_GREEN_LITERAL
LIGHT_GREEN
public static final ColorConstants DARK_GREEN_LITERAL
DARK_GREEN
public static final ColorConstants CYAN_LITERAL
CYAN
public static final ColorConstants LIGHT_BLUE_LITERAL
LIGHT_BLUE
public static final ColorConstants BLUE_LITERAL
BLUE
public static final ColorConstants DARK_BLUE_LITERAL
DARK_BLUE
Field Detail |
---|
public static final int WHITE
If the meaning of 'White' literal object isn't clear, there really should be more of a description here...
WHITE_LITERAL
,
Constant Field Valuespublic static final int BLACK
If the meaning of 'Black' literal object isn't clear, there really should be more of a description here...
BLACK_LITERAL
,
Constant Field Valuespublic static final int LIGHT_GRAY
If the meaning of 'Light Gray' literal object isn't clear, there really should be more of a description here...
LIGHT_GRAY_LITERAL
,
Constant Field Valuespublic static final int GRAY
If the meaning of 'Gray' literal object isn't clear, there really should be more of a description here...
GRAY_LITERAL
,
Constant Field Valuespublic static final int DARK_GRAY
If the meaning of 'Dark Gray' literal object isn't clear, there really should be more of a description here...
DARK_GRAY_LITERAL
,
Constant Field Valuespublic static final int RED
If the meaning of 'Red' literal object isn't clear, there really should be more of a description here...
RED_LITERAL
,
Constant Field Valuespublic static final int ORANGE
If the meaning of 'Orange' literal object isn't clear, there really should be more of a description here...
ORANGE_LITERAL
,
Constant Field Valuespublic static final int YELLOW
If the meaning of 'Yellow' literal object isn't clear, there really should be more of a description here...
YELLOW_LITERAL
,
Constant Field Valuespublic static final int GREEN
If the meaning of 'Green' literal object isn't clear, there really should be more of a description here...
GREEN_LITERAL
,
Constant Field Valuespublic static final int LIGHT_GREEN
If the meaning of 'Light Green' literal object isn't clear, there really should be more of a description here...
LIGHT_GREEN_LITERAL
,
Constant Field Valuespublic static final int DARK_GREEN
If the meaning of 'Dark Green' literal object isn't clear, there really should be more of a description here...
DARK_GREEN_LITERAL
,
Constant Field Valuespublic static final int CYAN
If the meaning of 'Cyan' literal object isn't clear, there really should be more of a description here...
CYAN_LITERAL
,
Constant Field Valuespublic static final int LIGHT_BLUE
If the meaning of 'Light Blue' literal object isn't clear, there really should be more of a description here...
LIGHT_BLUE_LITERAL
,
Constant Field Valuespublic static final int BLUE
If the meaning of 'Blue' literal object isn't clear, there really should be more of a description here...
BLUE_LITERAL
,
Constant Field Valuespublic static final int DARK_BLUE
If the meaning of 'Dark Blue' literal object isn't clear, there really should be more of a description here...
DARK_BLUE_LITERAL
,
Constant Field Valuespublic static final List<ColorConstants> VALUES
Method Detail |
---|
public static ColorConstants[] values()
for (ColorConstants c : ColorConstants.values()) System.out.println(c);
public static ColorConstants valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic static ColorConstants get(String literal)
public static ColorConstants getByName(String name)
public static ColorConstants get(int value)
public int getValue()
getValue
in interface org.eclipse.emf.common.util.Enumerator
public String getName()
getName
in interface org.eclipse.emf.common.util.Enumerator
public String getLiteral()
getLiteral
in interface org.eclipse.emf.common.util.Enumerator
public String toString()
toString
in class Enum<ColorConstants>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |