|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<FontStyleType>
net.ogdf.ogml.FontStyleType
public enum FontStyleType
A representation of the literals of the enumeration 'Font Style Type', and utility methods for working with them.
OgmlPackage.getFontStyleType()
extendedMetaData | = | name='fontStyle.type' |
Enum Constant Summary | |
---|---|
ITALIC
The 'Italic' literal object. |
|
NORMAL
The 'Normal' literal object. |
|
OBLIQUE
The 'Oblique' literal object. |
Field Summary | |
---|---|
static int |
ITALIC_VALUE
The 'Italic' literal value. |
static int |
NORMAL_VALUE
The 'Normal' literal value. |
static int |
OBLIQUE_VALUE
The 'Oblique' literal value. |
static List<FontStyleType> |
VALUES
A public read-only list of all the 'Font Style Type' enumerators. |
Method Summary | |
---|---|
static FontStyleType |
get(int value)
Returns the 'Font Style Type' literal with the specified integer value. |
static FontStyleType |
get(String literal)
Returns the 'Font Style Type' literal with the specified literal value. |
static FontStyleType |
getByName(String name)
Returns the 'Font Style Type' 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 FontStyleType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static FontStyleType[] |
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 FontStyleType NORMAL
NORMAL_VALUE
public static final FontStyleType ITALIC
ITALIC_VALUE
public static final FontStyleType OBLIQUE
OBLIQUE_VALUE
Field Detail |
---|
public static final int NORMAL_VALUE
If the meaning of 'Normal' literal object isn't clear, there really should be more of a description here...
NORMAL
,
Constant Field Valuesname | = | normal |
public static final int ITALIC_VALUE
If the meaning of 'Italic' literal object isn't clear, there really should be more of a description here...
ITALIC
,
Constant Field Valuesname | = | italic |
public static final int OBLIQUE_VALUE
If the meaning of 'Oblique' literal object isn't clear, there really should be more of a description here...
OBLIQUE
,
Constant Field Valuesname | = | oblique |
public static final List<FontStyleType> VALUES
Method Detail |
---|
public static FontStyleType[] values()
for (FontStyleType c : FontStyleType.values()) System.out.println(c);
public static FontStyleType 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 FontStyleType get(String literal)
public static FontStyleType getByName(String name)
public static FontStyleType get(int value)
public int getValue()
getValue
in interface Enumerator
public String getName()
getName
in interface Enumerator
public String getLiteral()
getLiteral
in interface Enumerator
public String toString()
toString
in class Enum<FontStyleType>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |