public enum PatternUnits extends java.lang.Enum<PatternUnits> implements org.eclipse.emf.common.util.Enumerator
SvgPackage.getPatternUnits()
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<PatternUnits> |
VALUES
A public read-only list of all the 'Pattern Units' enumerators
|
Modifier and Type | Method and Description |
---|---|
static PatternUnits |
get(int value)
Returns the 'Pattern Units' literal with the specified integer value
|
static PatternUnits |
get(java.lang.String literal)
Returns the 'Pattern Units' literal with the specified literal value
|
static PatternUnits |
getByName(java.lang.String name)
Returns the 'Pattern 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 PatternUnits |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PatternUnits[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PatternUnits USER_SPACE_ON_USE
USER_SPACE_ON_USE_VALUE
public static final PatternUnits 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<PatternUnits> VALUES
public static PatternUnits[] values()
for (PatternUnits c : PatternUnits.values()) System.out.println(c);
public static PatternUnits 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 PatternUnits get(java.lang.String literal)
public static PatternUnits getByName(java.lang.String name)
public static PatternUnits 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<PatternUnits>