public enum MarkerUnits extends java.lang.Enum<MarkerUnits> implements org.eclipse.emf.common.util.Enumerator
SvgPackage.getMarkerUnits()
Enum Constant and Description |
---|
STROKE_WIDTH
The 'Stroke Width' literal object
|
USER_SPACE_ON_USE
The 'User Space On Use' literal object
|
Modifier and Type | Field and Description |
---|---|
static int |
STROKE_WIDTH_VALUE
The 'Stroke Width' literal value
|
static int |
USER_SPACE_ON_USE_VALUE
The 'User Space On Use' literal value
|
static java.util.List<MarkerUnits> |
VALUES
A public read-only list of all the 'Marker Units' enumerators
|
Modifier and Type | Method and Description |
---|---|
static MarkerUnits |
get(int value)
Returns the 'Marker Units' literal with the specified integer value
|
static MarkerUnits |
get(java.lang.String literal)
Returns the 'Marker Units' literal with the specified literal value
|
static MarkerUnits |
getByName(java.lang.String name)
Returns the 'Marker Units' 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 MarkerUnits |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MarkerUnits[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MarkerUnits STROKE_WIDTH
STROKE_WIDTH_VALUE
public static final MarkerUnits USER_SPACE_ON_USE
USER_SPACE_ON_USE_VALUE
public static final int STROKE_WIDTH_VALUE
If the meaning of 'Stroke Width' literal object isn't clear, there really should be more of a description here...
STROKE_WIDTH
,
Constant Field Valuespublic static final int USER_SPACE_ON_USE_VALUE
If the meaning of 'User Space On Use' literal object isn't clear, there really should be more of a description here...
USER_SPACE_ON_USE
,
Constant Field Valuespublic static final java.util.List<MarkerUnits> VALUES
public static MarkerUnits[] values()
for (MarkerUnits c : MarkerUnits.values()) System.out.println(c);
public static MarkerUnits 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 MarkerUnits get(java.lang.String literal)
public static MarkerUnits getByName(java.lang.String name)
public static MarkerUnits get(int value)
public int getValue()
getValue
in interface org.eclipse.emf.common.util.Enumerator
public java.lang.String getName()
getName
in interface org.eclipse.emf.common.util.Enumerator
public java.lang.String getLiteral()
getLiteral
in interface org.eclipse.emf.common.util.Enumerator
public java.lang.String toString()
toString
in class java.lang.Enum<MarkerUnits>