Package com._1c.g5.v8.dt.form.model
Enum MenuElementPlacementArea
- java.lang.Object
-
- java.lang.Enum<MenuElementPlacementArea>
-
- com._1c.g5.v8.dt.form.model.MenuElementPlacementArea
-
- All Implemented Interfaces:
Serializable
,Comparable<MenuElementPlacementArea>
,org.eclipse.emf.common.util.Enumerator
public enum MenuElementPlacementArea extends Enum<MenuElementPlacementArea> implements org.eclipse.emf.common.util.Enumerator
A representation of the literals of the enumeration 'Menu Element Placement Area', and utility methods for working with them.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AUTO_CMDS
The 'Auto Cmds' literal object.MAIN_CMDS_LEFT
The 'Main Cmds Left' literal object.MAIN_CMDS_RIGHT
The 'Main Cmds Right' literal object.USER_CMDS
The 'User Cmds' literal object.
-
Field Summary
Fields Modifier and Type Field Description static int
AUTO_CMDS_VALUE
The 'Auto Cmds' literal value.static int
MAIN_CMDS_LEFT_VALUE
The 'Main Cmds Left' literal value.static int
MAIN_CMDS_RIGHT_VALUE
The 'Main Cmds Right' literal value.static int
USER_CMDS_VALUE
The 'User Cmds' literal value.static List<MenuElementPlacementArea>
VALUES
A public read-only list of all the 'Menu Element Placement Area' enumerators.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MenuElementPlacementArea
get(int value)
Returns the 'Menu Element Placement Area' literal with the specified integer value.static MenuElementPlacementArea
get(String literal)
Returns the 'Menu Element Placement Area' literal with the specified literal value.static MenuElementPlacementArea
getByName(String name)
Returns the 'Menu Element Placement Area' 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 MenuElementPlacementArea
valueOf(String name)
Returns the enum constant of this type with the specified name.static MenuElementPlacementArea[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
MAIN_CMDS_LEFT
public static final MenuElementPlacementArea MAIN_CMDS_LEFT
The 'Main Cmds Left' literal object.- See Also:
MAIN_CMDS_LEFT_VALUE
-
AUTO_CMDS
public static final MenuElementPlacementArea AUTO_CMDS
The 'Auto Cmds' literal object.- See Also:
AUTO_CMDS_VALUE
-
USER_CMDS
public static final MenuElementPlacementArea USER_CMDS
The 'User Cmds' literal object.- See Also:
USER_CMDS_VALUE
-
MAIN_CMDS_RIGHT
public static final MenuElementPlacementArea MAIN_CMDS_RIGHT
The 'Main Cmds Right' literal object.- See Also:
MAIN_CMDS_RIGHT_VALUE
-
-
Field Detail
-
MAIN_CMDS_LEFT_VALUE
public static final int MAIN_CMDS_LEFT_VALUE
The 'Main Cmds Left' literal value.- See Also:
MAIN_CMDS_LEFT
, Constant Field Values
-
AUTO_CMDS_VALUE
public static final int AUTO_CMDS_VALUE
The 'Auto Cmds' literal value.- See Also:
AUTO_CMDS
, Constant Field Values
-
USER_CMDS_VALUE
public static final int USER_CMDS_VALUE
The 'User Cmds' literal value.- See Also:
USER_CMDS
, Constant Field Values
-
MAIN_CMDS_RIGHT_VALUE
public static final int MAIN_CMDS_RIGHT_VALUE
The 'Main Cmds Right' literal value.- See Also:
MAIN_CMDS_RIGHT
, Constant Field Values
-
VALUES
public static final List<MenuElementPlacementArea> VALUES
A public read-only list of all the 'Menu Element Placement Area' enumerators.
-
-
Method Detail
-
values
public static MenuElementPlacementArea[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (MenuElementPlacementArea c : MenuElementPlacementArea.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MenuElementPlacementArea valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
get
public static MenuElementPlacementArea get(String literal)
Returns the 'Menu Element Placement Area' literal with the specified literal value.- Parameters:
literal
- the literal.- Returns:
- the matching enumerator or
null
.
-
getByName
public static MenuElementPlacementArea getByName(String name)
Returns the 'Menu Element Placement Area' literal with the specified name.- Parameters:
name
- the name.- Returns:
- the matching enumerator or
null
.
-
get
public static MenuElementPlacementArea get(int value)
Returns the 'Menu Element Placement Area' literal with the specified integer value.- Parameters:
value
- the integer value.- Returns:
- the matching enumerator or
null
.
-
getValue
public int getValue()
- Specified by:
getValue
in interfaceorg.eclipse.emf.common.util.Enumerator
-
getName
public String getName()
- Specified by:
getName
in interfaceorg.eclipse.emf.common.util.Enumerator
-
getLiteral
public String getLiteral()
- Specified by:
getLiteral
in interfaceorg.eclipse.emf.common.util.Enumerator
-
toString
public String toString()
Returns the literal value of the enumerator, which is its string representation.- Overrides:
toString
in classEnum<MenuElementPlacementArea>
-
-