public enum CSS2FontStyle extends Enum<CSS2FontStyle> implements org.eclipse.emf.common.util.Enumerator
Enum Constant and Description |
---|
ITALIC
The 'ITALIC' literal object
|
NORMAL
The 'NORMAL' literal object
|
OBLIQUE
The 'OBLIQUE' literal object
|
Modifier and Type | Field and Description |
---|---|
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<CSS2FontStyle> |
VALUES
A public read-only list of all the 'CSS2 Font Style' enumerators
|
Modifier and Type | Method and Description |
---|---|
static CSS2FontStyle |
get(int value)
Returns the 'CSS2 Font Style' literal with the specified integer value
|
static CSS2FontStyle |
get(String literal)
Returns the 'CSS2 Font Style' literal with the specified literal value
|
static CSS2FontStyle |
getByName(String name)
Returns the 'CSS2 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 CSS2FontStyle |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CSS2FontStyle[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CSS2FontStyle NORMAL
NORMAL_VALUE
public static final CSS2FontStyle ITALIC
ITALIC_VALUE
public static final CSS2FontStyle OBLIQUE
OBLIQUE_VALUE
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 Valuespublic 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 Valuespublic 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 Valuespublic static final List<CSS2FontStyle> VALUES
public static CSS2FontStyle[] values()
for (CSS2FontStyle c : CSS2FontStyle.values()) System.out.println(c);
public static CSS2FontStyle valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static CSS2FontStyle get(String literal)
public static CSS2FontStyle getByName(String name)
public static CSS2FontStyle 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<CSS2FontStyle>
Copyright © 2009–2016 Univ. Paris Ouest, and Univ. Pierre et Marie Curie / CNRS UMR 7606 (LIP6). All rights reserved.