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