|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<FontVariantType>
net.ogdf.ogml.FontVariantType
public enum FontVariantType
A representation of the literals of the enumeration 'Font Variant Type', and utility methods for working with them.
OgmlPackage.getFontVariantType()
extendedMetaData | = | name='fontVariant.type' |
Enum Constant Summary | |
---|---|
NORMAL
The 'Normal' literal object. |
|
SMALL_CPAPS
The 'Small Cpaps' literal object. |
Field Summary | |
---|---|
static int |
NORMAL_VALUE
The 'Normal' literal value. |
static int |
SMALL_CPAPS_VALUE
The 'Small Cpaps' literal value. |
static List<FontVariantType> |
VALUES
A public read-only list of all the 'Font Variant Type' enumerators. |
Method Summary | |
---|---|
static FontVariantType |
get(int value)
Returns the 'Font Variant Type' literal with the specified integer value. |
static FontVariantType |
get(String literal)
Returns the 'Font Variant Type' literal with the specified literal value. |
static FontVariantType |
getByName(String name)
Returns the 'Font Variant 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 FontVariantType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static FontVariantType[] |
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 FontVariantType NORMAL
NORMAL_VALUE
public static final FontVariantType SMALL_CPAPS
SMALL_CPAPS_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 SMALL_CPAPS_VALUE
If the meaning of 'Small Cpaps' literal object isn't clear, there really should be more of a description here...
SMALL_CPAPS
,
Constant Field Valuesname | = | smallCpaps |
literal | = | small-cpaps |
public static final List<FontVariantType> VALUES
Method Detail |
---|
public static FontVariantType[] values()
for (FontVariantType c : FontVariantType.values()) System.out.println(c);
public static FontVariantType 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 FontVariantType get(String literal)
public static FontVariantType getByName(String name)
public static FontVariantType 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<FontVariantType>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |