Package com._1c.g5.v8.dt.form.model
Enum FormPagesRepresentation
- java.lang.Object
-
- java.lang.Enum<FormPagesRepresentation>
-
- com._1c.g5.v8.dt.form.model.FormPagesRepresentation
-
- All Implemented Interfaces:
Serializable
,Comparable<FormPagesRepresentation>
,org.eclipse.emf.common.util.Enumerator
public enum FormPagesRepresentation extends Enum<FormPagesRepresentation> implements org.eclipse.emf.common.util.Enumerator
A representation of the literals of the enumeration 'Pages Representation', and utility methods for working with them.- See Also:
FormPackage.getFormPagesRepresentation()
-
-
Enum Constant Summary
Enum Constants Enum Constant Description NONE
The 'None' literal object.SWIPE
The 'Swipe' literal object.TABS_ON_BOTTOM
The 'Tabs On Bottom' literal object.TABS_ON_LEFT_HORIZONTAL
The 'Tabs On Left Horizontal' literal object.TABS_ON_RIGHT_HORIZONTAL
The 'Tabs On Right Horizontal' literal object.TABS_ON_TOP
The 'Tabs On Top' literal object.
-
Field Summary
Fields Modifier and Type Field Description static int
NONE_VALUE
The 'None' literal value.static int
SWIPE_VALUE
The 'Swipe' literal value.static int
TABS_ON_BOTTOM_VALUE
The 'Tabs On Bottom' literal value.static int
TABS_ON_LEFT_HORIZONTAL_VALUE
The 'Tabs On Left Horizontal' literal value.static int
TABS_ON_RIGHT_HORIZONTAL_VALUE
The 'Tabs On Right Horizontal' literal value.static int
TABS_ON_TOP_VALUE
The 'Tabs On Top' literal value.static List<FormPagesRepresentation>
VALUES
A public read-only list of all the 'Pages Representation' enumerators.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static FormPagesRepresentation
get(int value)
Returns the 'Pages Representation' literal with the specified integer value.static FormPagesRepresentation
get(String literal)
Returns the 'Pages Representation' literal with the specified literal value.static FormPagesRepresentation
getByName(String name)
Returns the 'Pages Representation' 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 FormPagesRepresentation
valueOf(String name)
Returns the enum constant of this type with the specified name.static FormPagesRepresentation[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NONE
public static final FormPagesRepresentation NONE
The 'None' literal object.- See Also:
NONE_VALUE
-
TABS_ON_TOP
public static final FormPagesRepresentation TABS_ON_TOP
The 'Tabs On Top' literal object.- See Also:
TABS_ON_TOP_VALUE
-
TABS_ON_BOTTOM
public static final FormPagesRepresentation TABS_ON_BOTTOM
The 'Tabs On Bottom' literal object.- See Also:
TABS_ON_BOTTOM_VALUE
-
TABS_ON_LEFT_HORIZONTAL
public static final FormPagesRepresentation TABS_ON_LEFT_HORIZONTAL
The 'Tabs On Left Horizontal' literal object.- See Also:
TABS_ON_LEFT_HORIZONTAL_VALUE
-
TABS_ON_RIGHT_HORIZONTAL
public static final FormPagesRepresentation TABS_ON_RIGHT_HORIZONTAL
The 'Tabs On Right Horizontal' literal object.- See Also:
TABS_ON_RIGHT_HORIZONTAL_VALUE
-
SWIPE
public static final FormPagesRepresentation SWIPE
The 'Swipe' literal object.- See Also:
SWIPE_VALUE
-
-
Field Detail
-
NONE_VALUE
public static final int NONE_VALUE
The 'None' literal value.- See Also:
NONE
, Constant Field Values
-
TABS_ON_TOP_VALUE
public static final int TABS_ON_TOP_VALUE
The 'Tabs On Top' literal value.- See Also:
TABS_ON_TOP
, Constant Field Values
-
TABS_ON_BOTTOM_VALUE
public static final int TABS_ON_BOTTOM_VALUE
The 'Tabs On Bottom' literal value.- See Also:
TABS_ON_BOTTOM
, Constant Field Values
-
TABS_ON_LEFT_HORIZONTAL_VALUE
public static final int TABS_ON_LEFT_HORIZONTAL_VALUE
The 'Tabs On Left Horizontal' literal value.- See Also:
TABS_ON_LEFT_HORIZONTAL
, Constant Field Values
-
TABS_ON_RIGHT_HORIZONTAL_VALUE
public static final int TABS_ON_RIGHT_HORIZONTAL_VALUE
The 'Tabs On Right Horizontal' literal value.- See Also:
TABS_ON_RIGHT_HORIZONTAL
, Constant Field Values
-
SWIPE_VALUE
public static final int SWIPE_VALUE
The 'Swipe' literal value.- See Also:
SWIPE
, Constant Field Values
-
VALUES
public static final List<FormPagesRepresentation> VALUES
A public read-only list of all the 'Pages Representation' enumerators.
-
-
Method Detail
-
values
public static FormPagesRepresentation[] 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 (FormPagesRepresentation c : FormPagesRepresentation.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static FormPagesRepresentation 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 FormPagesRepresentation get(String literal)
Returns the 'Pages Representation' literal with the specified literal value.- Parameters:
literal
- the literal.- Returns:
- the matching enumerator or
null
.
-
getByName
public static FormPagesRepresentation getByName(String name)
Returns the 'Pages Representation' literal with the specified name.- Parameters:
name
- the name.- Returns:
- the matching enumerator or
null
.
-
get
public static FormPagesRepresentation get(int value)
Returns the 'Pages Representation' 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<FormPagesRepresentation>
-
-