Enum PresentationChildrenSize
- java.lang.Object
-
- java.lang.Enum<PresentationChildrenSize>
-
- com._1c.g5.v8.dt.form.presentation.model.PresentationChildrenSize
-
- All Implemented Interfaces:
Serializable
,Comparable<PresentationChildrenSize>
,org.eclipse.emf.common.util.Enumerator
public enum PresentationChildrenSize extends Enum<PresentationChildrenSize> implements org.eclipse.emf.common.util.Enumerator
A representation of the literals of the enumeration 'Children Size', and utility methods for working with them. Possible children size management modes.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description EQUAL
The 'Equal' literal object.LEFT_NARROW
The 'Left Narrow' literal object.LEFT_NARROWEST
The 'Left Narrowest' literal object.LEFT_WIDE
The 'Left Wide' literal object.LEFT_WIDEST
The 'Left Widest' literal object.PREFERED
The 'Prefered' literal object.
-
Field Summary
Fields Modifier and Type Field Description static int
EQUAL_VALUE
The 'Equal' literal value.static int
LEFT_NARROW_VALUE
The 'Left Narrow' literal value.static int
LEFT_NARROWEST_VALUE
The 'Left Narrowest' literal value.static int
LEFT_WIDE_VALUE
The 'Left Wide' literal value.static int
LEFT_WIDEST_VALUE
The 'Left Widest' literal value.static int
PREFERED_VALUE
The 'Prefered' literal value.static List<PresentationChildrenSize>
VALUES
A public read-only list of all the 'Children Size' enumerators.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PresentationChildrenSize
get(int value)
Returns the 'Children Size' literal with the specified integer value.static PresentationChildrenSize
get(String literal)
Returns the 'Children Size' literal with the specified literal value.static PresentationChildrenSize
getByName(String name)
Returns the 'Children 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 PresentationChildrenSize
valueOf(String name)
Returns the enum constant of this type with the specified name.static PresentationChildrenSize[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PREFERED
public static final PresentationChildrenSize PREFERED
The 'Prefered' literal object.- See Also:
PREFERED_VALUE
-
EQUAL
public static final PresentationChildrenSize EQUAL
The 'Equal' literal object.- See Also:
EQUAL_VALUE
-
LEFT_WIDE
public static final PresentationChildrenSize LEFT_WIDE
The 'Left Wide' literal object.- See Also:
LEFT_WIDE_VALUE
-
LEFT_WIDEST
public static final PresentationChildrenSize LEFT_WIDEST
The 'Left Widest' literal object.- See Also:
LEFT_WIDEST_VALUE
-
LEFT_NARROW
public static final PresentationChildrenSize LEFT_NARROW
The 'Left Narrow' literal object.- See Also:
LEFT_NARROW_VALUE
-
LEFT_NARROWEST
public static final PresentationChildrenSize LEFT_NARROWEST
The 'Left Narrowest' literal object.- See Also:
LEFT_NARROWEST_VALUE
-
-
Field Detail
-
PREFERED_VALUE
public static final int PREFERED_VALUE
The 'Prefered' literal value.- See Also:
PREFERED
, Constant Field Values
-
EQUAL_VALUE
public static final int EQUAL_VALUE
The 'Equal' literal value.- See Also:
EQUAL
, Constant Field Values
-
LEFT_WIDE_VALUE
public static final int LEFT_WIDE_VALUE
The 'Left Wide' literal value.- See Also:
LEFT_WIDE
, Constant Field Values
-
LEFT_WIDEST_VALUE
public static final int LEFT_WIDEST_VALUE
The 'Left Widest' literal value.- See Also:
LEFT_WIDEST
, Constant Field Values
-
LEFT_NARROW_VALUE
public static final int LEFT_NARROW_VALUE
The 'Left Narrow' literal value.- See Also:
LEFT_NARROW
, Constant Field Values
-
LEFT_NARROWEST_VALUE
public static final int LEFT_NARROWEST_VALUE
The 'Left Narrowest' literal value.- See Also:
LEFT_NARROWEST
, Constant Field Values
-
VALUES
public static final List<PresentationChildrenSize> VALUES
A public read-only list of all the 'Children Size' enumerators.
-
-
Method Detail
-
values
public static PresentationChildrenSize[] 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 (PresentationChildrenSize c : PresentationChildrenSize.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PresentationChildrenSize 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 PresentationChildrenSize get(String literal)
Returns the 'Children Size' literal with the specified literal value.- Parameters:
literal
- the literal.- Returns:
- the matching enumerator or
null
.
-
getByName
public static PresentationChildrenSize getByName(String name)
Returns the 'Children Size' literal with the specified name.- Parameters:
name
- the name.- Returns:
- the matching enumerator or
null
.
-
get
public static PresentationChildrenSize get(int value)
Returns the 'Children 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<PresentationChildrenSize>
-
-