Package com._1c.g5.v8.dt.form.model
Enum FormItemSpacing
- java.lang.Object
-
- java.lang.Enum<FormItemSpacing>
-
- com._1c.g5.v8.dt.form.model.FormItemSpacing
-
- All Implemented Interfaces:
Serializable
,Comparable<FormItemSpacing>
,org.eclipse.emf.common.util.Enumerator
public enum FormItemSpacing extends Enum<FormItemSpacing> implements org.eclipse.emf.common.util.Enumerator
A representation of the literals of the enumeration 'Item Spacing', and utility methods for working with them.- See Also:
FormPackage.getFormItemSpacing()
-
-
Field Summary
Fields Modifier and Type Field Description static int
AUTO_VALUE
The 'Auto' literal value.static int
DOUBLE_VALUE
The 'Double' literal value.static int
HALF_VALUE
The 'Half' literal value.static int
NONE_VALUE
The 'None' literal value.static int
ONE_AND_HALF_VALUE
The 'One And Half' literal value.static int
SINGLE_VALUE
The 'Single' literal value.static List<FormItemSpacing>
VALUES
A public read-only list of all the 'Item Spacing' enumerators.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static FormItemSpacing
get(int value)
Returns the 'Item Spacing' literal with the specified integer value.static FormItemSpacing
get(String literal)
Returns the 'Item Spacing' literal with the specified literal value.static FormItemSpacing
getByName(String name)
Returns the 'Item Spacing' 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 FormItemSpacing
valueOf(String name)
Returns the enum constant of this type with the specified name.static FormItemSpacing[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
AUTO
public static final FormItemSpacing AUTO
The 'Auto' literal object.- See Also:
AUTO_VALUE
-
NONE
public static final FormItemSpacing NONE
The 'None' literal object.- See Also:
NONE_VALUE
-
HALF
public static final FormItemSpacing HALF
The 'Half' literal object.- See Also:
HALF_VALUE
-
SINGLE
public static final FormItemSpacing SINGLE
The 'Single' literal object.- See Also:
SINGLE_VALUE
-
ONE_AND_HALF
public static final FormItemSpacing ONE_AND_HALF
The 'One And Half' literal object.- See Also:
ONE_AND_HALF_VALUE
-
DOUBLE
public static final FormItemSpacing DOUBLE
The 'Double' literal object.- See Also:
DOUBLE_VALUE
-
-
Field Detail
-
AUTO_VALUE
public static final int AUTO_VALUE
The 'Auto' literal value.- See Also:
AUTO
, Constant Field Values
-
NONE_VALUE
public static final int NONE_VALUE
The 'None' literal value.- See Also:
NONE
, Constant Field Values
-
HALF_VALUE
public static final int HALF_VALUE
The 'Half' literal value.- See Also:
HALF
, Constant Field Values
-
SINGLE_VALUE
public static final int SINGLE_VALUE
The 'Single' literal value.- See Also:
SINGLE
, Constant Field Values
-
ONE_AND_HALF_VALUE
public static final int ONE_AND_HALF_VALUE
The 'One And Half' literal value.- See Also:
ONE_AND_HALF
, Constant Field Values
-
DOUBLE_VALUE
public static final int DOUBLE_VALUE
The 'Double' literal value.- See Also:
DOUBLE
, Constant Field Values
-
VALUES
public static final List<FormItemSpacing> VALUES
A public read-only list of all the 'Item Spacing' enumerators.
-
-
Method Detail
-
values
public static FormItemSpacing[] 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 (FormItemSpacing c : FormItemSpacing.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static FormItemSpacing 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 FormItemSpacing get(String literal)
Returns the 'Item Spacing' literal with the specified literal value.- Parameters:
literal
- the literal.- Returns:
- the matching enumerator or
null
.
-
getByName
public static FormItemSpacing getByName(String name)
Returns the 'Item Spacing' literal with the specified name.- Parameters:
name
- the name.- Returns:
- the matching enumerator or
null
.
-
get
public static FormItemSpacing get(int value)
Returns the 'Item Spacing' 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<FormItemSpacing>
-
-