public enum Font_variant extends java.lang.Enum<Font_variant> implements org.eclipse.emf.common.util.Enumerator
SvgPackage.getFont_variant()| Enum Constant and Description |
|---|
INHERIT
The 'Inherit' literal object
|
NORMAL
The 'Normal' literal object
|
SMALL_CAPS
The 'Small caps' literal object
|
| Modifier and Type | Field and Description |
|---|---|
static int |
INHERIT_VALUE
The 'Inherit' literal value
|
static int |
NORMAL_VALUE
The 'Normal' literal value
|
static int |
SMALL_CAPS_VALUE
The 'Small caps' literal value
|
static java.util.List<Font_variant> |
VALUES
A public read-only list of all the 'Font variant' enumerators
|
| Modifier and Type | Method and Description |
|---|---|
static Font_variant |
get(int value)
Returns the 'Font variant' literal with the specified integer value
|
static Font_variant |
get(java.lang.String literal)
Returns the 'Font variant' literal with the specified literal value
|
static Font_variant |
getByName(java.lang.String name)
Returns the 'Font variant' 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 Font_variant |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Font_variant[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Font_variant NORMAL
NORMAL_VALUEpublic static final Font_variant SMALL_CAPS
SMALL_CAPS_VALUEpublic static final Font_variant INHERIT
INHERIT_VALUEpublic 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 Valuespublic static final int SMALL_CAPS_VALUE
If the meaning of 'Small caps' literal object isn't clear, there really should be more of a description here...
SMALL_CAPS,
Constant Field Valuespublic static final int INHERIT_VALUE
If the meaning of 'Inherit' literal object isn't clear, there really should be more of a description here...
INHERIT,
Constant Field Valuespublic static final java.util.List<Font_variant> VALUES
public static Font_variant[] values()
for (Font_variant c : Font_variant.values()) System.out.println(c);
public static Font_variant 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 namejava.lang.NullPointerException - if the argument is nullpublic static Font_variant get(java.lang.String literal)
public static Font_variant getByName(java.lang.String name)
public static Font_variant get(int value)
public int getValue()
getValue in interface org.eclipse.emf.common.util.Enumeratorpublic java.lang.String getName()
getName in interface org.eclipse.emf.common.util.Enumeratorpublic java.lang.String getLiteral()
getLiteral in interface org.eclipse.emf.common.util.Enumeratorpublic java.lang.String toString()
toString in class java.lang.Enum<Font_variant>