public enum CSS2FontWeight extends Enum<CSS2FontWeight> implements org.eclipse.emf.common.util.Enumerator
PtnetPackage.getCSS2FontWeight()
Enum Constant and Description |
---|
BOLD
The 'BOLD' literal object
|
BOLDER
The 'BOLDER' literal object
|
LIGHTER
The 'LIGHTER' literal object
|
NORMAL
The 'NORMAL' literal object
|
Modifier and Type | Field and Description |
---|---|
static int |
BOLD_VALUE
The 'BOLD' literal value
|
static int |
BOLDER_VALUE
The 'BOLDER' literal value
|
static int |
LIGHTER_VALUE
The 'LIGHTER' literal value
|
static int |
NORMAL_VALUE
The 'NORMAL' literal value
|
static List<CSS2FontWeight> |
VALUES
A public read-only list of all the 'CSS2 Font Weight' enumerators
|
Modifier and Type | Method and Description |
---|---|
static CSS2FontWeight |
get(int value)
Returns the 'CSS2 Font Weight' literal with the specified integer value
|
static CSS2FontWeight |
get(String literal)
Returns the 'CSS2 Font Weight' literal with the specified literal value
|
static CSS2FontWeight |
getByName(String name)
Returns the 'CSS2 Font Weight' 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 CSS2FontWeight |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CSS2FontWeight[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CSS2FontWeight NORMAL
NORMAL_VALUE
public static final CSS2FontWeight BOLD
BOLD_VALUE
public static final CSS2FontWeight BOLDER
BOLDER_VALUE
public static final CSS2FontWeight LIGHTER
LIGHTER_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 BOLD_VALUE
If the meaning of 'BOLD' literal object isn't clear, there really should be more of a description here...
BOLD
,
Constant Field Valuespublic static final int BOLDER_VALUE
If the meaning of 'BOLDER' literal object isn't clear, there really should be more of a description here...
BOLDER
,
Constant Field Valuespublic static final int LIGHTER_VALUE
If the meaning of 'LIGHTER' literal object isn't clear, there really should be more of a description here...
LIGHTER
,
Constant Field Valuespublic static final List<CSS2FontWeight> VALUES
public static CSS2FontWeight[] values()
for (CSS2FontWeight c : CSS2FontWeight.values()) System.out.println(c);
public static CSS2FontWeight 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 CSS2FontWeight get(String literal)
public static CSS2FontWeight getByName(String name)
public static CSS2FontWeight 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<CSS2FontWeight>
Copyright © 2009–2016 Univ. Paris Ouest, and Univ. Pierre et Marie Curie / CNRS UMR 7606 (LIP6). All rights reserved.