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