|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<JFaceFont>
org.eclipse.gmf.codegen.gmfgen.JFaceFont
public enum JFaceFont
A representation of the literals of the enumeration 'JFace Font', and utility methods for working with them.
GMFGenPackage.getJFaceFont()
Enum Constant Summary | |
---|---|
BANNER_LITERAL
The 'Banner' literal object. |
|
DEFAULT_LITERAL
The 'Default' literal object. |
|
DIALOG_LITERAL
The 'Dialog' literal object. |
|
HEADER_LITERAL
The 'Header' literal object. |
|
TEXT_LITERAL
The 'Text' literal object. |
Field Summary | |
---|---|
static int |
BANNER
The 'Banner' literal value. |
static int |
DEFAULT
The 'Default' literal value. |
static int |
DIALOG
The 'Dialog' literal value. |
static int |
HEADER
The 'Header' literal value. |
static int |
TEXT
The 'Text' literal value. |
static List<JFaceFont> |
VALUES
A public read-only list of all the 'JFace Font' enumerators. |
Method Summary | |
---|---|
static JFaceFont |
get(int value)
Returns the 'JFace Font' literal with the specified integer value. |
static JFaceFont |
get(String literal)
Returns the 'JFace Font' literal with the specified literal value. |
static JFaceFont |
getByName(String name)
Returns the 'JFace Font' 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 JFaceFont |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static JFaceFont[] |
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 JFaceFont DEFAULT_LITERAL
DEFAULT
public static final JFaceFont TEXT_LITERAL
TEXT
public static final JFaceFont BANNER_LITERAL
BANNER
public static final JFaceFont DIALOG_LITERAL
DIALOG
public static final JFaceFont HEADER_LITERAL
HEADER
Field Detail |
---|
public static final int DEFAULT
If the meaning of 'Default' literal object isn't clear, there really should be more of a description here...
DEFAULT_LITERAL
,
Constant Field Valuespublic static final int TEXT
If the meaning of 'Text' literal object isn't clear, there really should be more of a description here...
TEXT_LITERAL
,
Constant Field Valuespublic static final int BANNER
If the meaning of 'Banner' literal object isn't clear, there really should be more of a description here...
BANNER_LITERAL
,
Constant Field Valuespublic static final int DIALOG
If the meaning of 'Dialog' literal object isn't clear, there really should be more of a description here...
DIALOG_LITERAL
,
Constant Field Valuespublic static final int HEADER
If the meaning of 'Header' literal object isn't clear, there really should be more of a description here...
HEADER_LITERAL
,
Constant Field Valuespublic static final List<JFaceFont> VALUES
Method Detail |
---|
public static JFaceFont[] values()
for (JFaceFont c : JFaceFont.values()) System.out.println(c);
public static JFaceFont 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 JFaceFont get(String literal)
public static JFaceFont getByName(String name)
public static JFaceFont 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<JFaceFont>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |