Enum PanelType
- java.lang.Object
-
- java.lang.Enum<PanelType>
-
- com._1c.g5.v8.dt.form.mapping.model.PanelType
-
- All Implemented Interfaces:
Serializable
,Comparable<PanelType>
,org.eclipse.emf.common.util.Enumerator
public enum PanelType extends Enum<PanelType> implements org.eclipse.emf.common.util.Enumerator
A representation of the literals of the enumeration 'Panel Type', and utility methods for working with them.- See Also:
MappingPackage.getPanelType()
-
-
Enum Constant Summary
Enum Constants Enum Constant Description COMMAND_BAR
The 'COMMAND BAR' literal object.NAVIGATION
The 'NAVIGATION' literal object.
-
Field Summary
Fields Modifier and Type Field Description static int
COMMAND_BAR_VALUE
The 'COMMAND BAR' literal value.static int
NAVIGATION_VALUE
The 'NAVIGATION' literal value.static List<PanelType>
VALUES
A public read-only list of all the 'Panel Type' enumerators.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PanelType
get(int value)
Returns the 'Panel Type' literal with the specified integer value.static PanelType
get(String literal)
Returns the 'Panel Type' literal with the specified literal value.static PanelType
getByName(String name)
Returns the 'Panel 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 PanelType
valueOf(String name)
Returns the enum constant of this type with the specified name.static PanelType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NAVIGATION
public static final PanelType NAVIGATION
The 'NAVIGATION' literal object.- See Also:
NAVIGATION_VALUE
-
COMMAND_BAR
public static final PanelType COMMAND_BAR
The 'COMMAND BAR' literal object.- See Also:
COMMAND_BAR_VALUE
-
-
Field Detail
-
NAVIGATION_VALUE
public static final int NAVIGATION_VALUE
The 'NAVIGATION' literal value.- See Also:
NAVIGATION
, Constant Field Values
-
COMMAND_BAR_VALUE
public static final int COMMAND_BAR_VALUE
The 'COMMAND BAR' literal value.- See Also:
COMMAND_BAR
, Constant Field Values
-
-
Method Detail
-
values
public static PanelType[] 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 (PanelType c : PanelType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PanelType 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 PanelType get(String literal)
Returns the 'Panel Type' literal with the specified literal value.- Parameters:
literal
- the literal.- Returns:
- the matching enumerator or
null
.
-
getByName
public static PanelType getByName(String name)
Returns the 'Panel Type' literal with the specified name.- Parameters:
name
- the name.- Returns:
- the matching enumerator or
null
.
-
get
public static PanelType get(int value)
Returns the 'Panel Type' 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
-
-