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