|
Generation Framework | |||||||||
| 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 java.util.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(java.lang.String literal)
Returns the 'Font Style' literal with the specified literal value |
static FontStyle |
getByName(java.lang.String name)
Returns the 'Font Style' 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 FontStyle |
valueOf(java.lang.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're declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final FontStyle NORMAL_LITERAL
NORMALpublic static final FontStyle BOLD_LITERAL
BOLDpublic 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 java.util.List<FontStyle> VALUES
| Method Detail |
|---|
public static final FontStyle[] values()
for(FontStyle c : FontStyle.values())
System.out.println(c);
public static FontStyle 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 namepublic static FontStyle get(java.lang.String literal)
public static FontStyle getByName(java.lang.String name)
public static FontStyle get(int value)
public int getValue()
getValue in interface Enumeratorpublic java.lang.String getName()
getName in interface Enumeratorpublic java.lang.String getLiteral()
getLiteral in interface Enumeratorpublic java.lang.String toString()
toString in class java.lang.Enum<FontStyle>
|
Generation Framework | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp., Borland Software Corp., and others 2005,2006. All rights reserved.