|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<FontStyle>
org.eclipse.gmf.gmfgraph.FontStyle
public enum FontStyle
A representation of the literals of the enumeration 'Font Style', and utility methods for working with them.
GMFGraphPackage.getFontStyle()
Enum Constant Summary | |
---|---|
BOLD_LITERAL
The 'BOLD' literal object. |
|
ITALIC_LITERAL
The 'ITALIC' literal object. |
|
NORMAL_LITERAL
The 'NORMAL' literal object. |
Field Summary | |
---|---|
static int |
BOLD
The 'BOLD' literal value. |
static int |
ITALIC
The 'ITALIC' literal value. |
static int |
NORMAL
The 'NORMAL' literal value. |
static List<FontStyle> |
VALUES
A public read-only list of all the 'Font Style' enumerators. |
Method Summary | |
---|---|
static FontStyle |
get(int value)
Returns the 'Font Style' literal with the specified integer value. |
static FontStyle |
get(String literal)
Returns the 'Font Style' literal with the specified literal value. |
static FontStyle |
getByName(String name)
Returns the 'Font Style' 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 FontStyle |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static FontStyle[] |
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 FontStyle NORMAL_LITERAL
NORMAL
public static final FontStyle BOLD_LITERAL
BOLD
public static final FontStyle ITALIC_LITERAL
ITALIC
Field Detail |
---|
public static final int NORMAL
If the meaning of 'NORMAL' literal object isn't clear, there really should be more of a description here...
NORMAL_LITERAL
,
Constant Field Valuespublic static final int BOLD
If the meaning of 'BOLD' literal object isn't clear, there really should be more of a description here...
BOLD_LITERAL
,
Constant Field Valuespublic static final int ITALIC
If the meaning of 'ITALIC' literal object isn't clear, there really should be more of a description here...
ITALIC_LITERAL
,
Constant Field Valuespublic static final List<FontStyle> VALUES
Method Detail |
---|
public static FontStyle[] values()
for (FontStyle c : FontStyle.values()) System.out.println(c);
public static FontStyle 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 FontStyle get(String literal)
public static FontStyle getByName(String name)
public static FontStyle 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<FontStyle>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |