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