Enum PresentationFormLayoutVerticalSize
- java.lang.Object
-
- java.lang.Enum<PresentationFormLayoutVerticalSize>
-
- com._1c.g5.v8.dt.form.presentation.model.PresentationFormLayoutVerticalSize
-
- All Implemented Interfaces:
Serializable
,Comparable<PresentationFormLayoutVerticalSize>
,org.eclipse.emf.common.util.Enumerator
public enum PresentationFormLayoutVerticalSize extends Enum<PresentationFormLayoutVerticalSize> implements org.eclipse.emf.common.util.Enumerator
A representation of the literals of the enumeration 'Form Layout Vertical Size', and utility methods for working with them. Possible form presentation vertical layout sizes.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description COMPRESSED
The 'Compressed' literal object.NO_STRETCH
The 'No Stretch' literal object.NORMAL
The 'Normal' literal object.
-
Field Summary
Fields Modifier and Type Field Description static int
COMPRESSED_VALUE
The 'Compressed' literal value.static int
NO_STRETCH_VALUE
The 'No Stretch' literal value.static int
NORMAL_VALUE
The 'Normal' literal value.static List<PresentationFormLayoutVerticalSize>
VALUES
A public read-only list of all the 'Form Layout Vertical Size' enumerators.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PresentationFormLayoutVerticalSize
get(int value)
Returns the 'Form Layout Vertical Size' literal with the specified integer value.static PresentationFormLayoutVerticalSize
get(String literal)
Returns the 'Form Layout Vertical Size' literal with the specified literal value.static PresentationFormLayoutVerticalSize
getByName(String name)
Returns the 'Form Layout Vertical Size' 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 PresentationFormLayoutVerticalSize
valueOf(String name)
Returns the enum constant of this type with the specified name.static PresentationFormLayoutVerticalSize[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NORMAL
public static final PresentationFormLayoutVerticalSize NORMAL
The 'Normal' literal object.- See Also:
NORMAL_VALUE
-
NO_STRETCH
public static final PresentationFormLayoutVerticalSize NO_STRETCH
The 'No Stretch' literal object.- See Also:
NO_STRETCH_VALUE
-
COMPRESSED
public static final PresentationFormLayoutVerticalSize COMPRESSED
The 'Compressed' literal object.- See Also:
COMPRESSED_VALUE
-
-
Field Detail
-
NORMAL_VALUE
public static final int NORMAL_VALUE
The 'Normal' literal value.- See Also:
NORMAL
, Constant Field Values
-
NO_STRETCH_VALUE
public static final int NO_STRETCH_VALUE
The 'No Stretch' literal value.- See Also:
NO_STRETCH
, Constant Field Values
-
COMPRESSED_VALUE
public static final int COMPRESSED_VALUE
The 'Compressed' literal value.- See Also:
COMPRESSED
, Constant Field Values
-
VALUES
public static final List<PresentationFormLayoutVerticalSize> VALUES
A public read-only list of all the 'Form Layout Vertical Size' enumerators.
-
-
Method Detail
-
values
public static PresentationFormLayoutVerticalSize[] 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 (PresentationFormLayoutVerticalSize c : PresentationFormLayoutVerticalSize.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PresentationFormLayoutVerticalSize 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 PresentationFormLayoutVerticalSize get(String literal)
Returns the 'Form Layout Vertical Size' literal with the specified literal value.- Parameters:
literal
- the literal.- Returns:
- the matching enumerator or
null
.
-
getByName
public static PresentationFormLayoutVerticalSize getByName(String name)
Returns the 'Form Layout Vertical Size' literal with the specified name.- Parameters:
name
- the name.- Returns:
- the matching enumerator or
null
.
-
get
public static PresentationFormLayoutVerticalSize get(int value)
Returns the 'Form Layout Vertical Size' 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<PresentationFormLayoutVerticalSize>
-
-