public enum ButtonPlacementType extends Enum<ButtonPlacementType> implements org.eclipse.emf.common.util.Enumerator
VTUnsettablePackage.getButtonPlacementType()
Enum Constant and Description |
---|
LEFT_OF_LABEL
The 'LEFT OF LABEL' literal object.
|
RIGHT_OF_LABEL
The 'RIGHT OF LABEL' literal object.
|
Modifier and Type | Field and Description |
---|---|
static int |
LEFT_OF_LABEL_VALUE
The 'LEFT OF LABEL' literal value.
|
static int |
RIGHT_OF_LABEL_VALUE
The 'RIGHT OF LABEL' literal value.
|
static List<ButtonPlacementType> |
VALUES
A public read-only list of all the 'Button Placement Type' enumerators.
|
Modifier and Type | Method and Description |
---|---|
static ButtonPlacementType |
get(int value)
Returns the 'Button Placement Type' literal with the specified integer value.
|
static ButtonPlacementType |
get(String literal)
Returns the 'Button Placement Type' literal with the specified literal value.
|
static ButtonPlacementType |
getByName(String name)
Returns the 'Button Placement Type' 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 ButtonPlacementType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ButtonPlacementType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ButtonPlacementType RIGHT_OF_LABEL
RIGHT_OF_LABEL_VALUE
public static final ButtonPlacementType LEFT_OF_LABEL
LEFT_OF_LABEL_VALUE
public static final int RIGHT_OF_LABEL_VALUE
If the meaning of 'RIGHT OF LABEL' literal object isn't clear, there really should be more of a description here...
RIGHT_OF_LABEL
,
Constant Field Valuespublic static final int LEFT_OF_LABEL_VALUE
If the meaning of 'LEFT OF LABEL' literal object isn't clear, there really should be more of a description here...
LEFT_OF_LABEL
,
Constant Field Valuespublic static final List<ButtonPlacementType> VALUES
public static ButtonPlacementType[] values()
for (ButtonPlacementType c : ButtonPlacementType.values()) System.out.println(c);
public static ButtonPlacementType 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 ButtonPlacementType get(String literal)
literal
- the literal.null
.public static ButtonPlacementType getByName(String name)
name
- the name.null
.public static ButtonPlacementType get(int value)
value
- the integer value.null
.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<ButtonPlacementType>
Copyright © 2019. All rights reserved.