Enum IndentKind
- java.lang.Object
-
- java.lang.Enum<IndentKind>
-
- com._1c.g5.v8.dt.form.layout.model.description.IndentKind
-
- All Implemented Interfaces:
Serializable
,Comparable<IndentKind>
,org.eclipse.emf.common.util.Enumerator
public enum IndentKind extends Enum<IndentKind> implements org.eclipse.emf.common.util.Enumerator
A representation of the literals of the enumeration 'Indent Kind', and utility methods for working with them. Indents, standard widths and height
-
-
Enum Constant Summary
Enum Constants Enum Constant Description EIK_FORM_MARGIN_BOTTOM
The 'EIK Form Margin Bottom' literal object.EIK_FORM_MARGIN_LEFT
The 'EIK Form Margin Left' literal object.EIK_FORM_MARGIN_RIGHT
The 'EIK Form Margin Right' literal object.EIK_FORM_MARGIN_TOP
The 'EIK Form Margin Top' literal object.EIK_STATUS_LINE_HEIGHT
The 'EIK Status Line Height' literal object.EIK_SYSTEM_BAR_HEIGHT
The 'EIK System Bar Height' literal object.EIK_TITLE_HEIGHT
The 'EIK Title Height' literal object.
-
Field Summary
Fields Modifier and Type Field Description static int
EIK_FORM_MARGIN_BOTTOM_VALUE
The 'EIK Form Margin Bottom' literal value.static int
EIK_FORM_MARGIN_LEFT_VALUE
The 'EIK Form Margin Left' literal value.static int
EIK_FORM_MARGIN_RIGHT_VALUE
The 'EIK Form Margin Right' literal value.static int
EIK_FORM_MARGIN_TOP_VALUE
The 'EIK Form Margin Top' literal value.static int
EIK_STATUS_LINE_HEIGHT_VALUE
The 'EIK Status Line Height' literal value.static int
EIK_SYSTEM_BAR_HEIGHT_VALUE
The 'EIK System Bar Height' literal value.static int
EIK_TITLE_HEIGHT_VALUE
The 'EIK Title Height' literal value.static List<IndentKind>
VALUES
A public read-only list of all the 'Indent Kind' enumerators.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static IndentKind
get(int value)
Returns the 'Indent Kind' literal with the specified integer value.static IndentKind
get(String literal)
Returns the 'Indent Kind' literal with the specified literal value.static IndentKind
getByName(String name)
Returns the 'Indent Kind' 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 IndentKind
valueOf(String name)
Returns the enum constant of this type with the specified name.static IndentKind[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
EIK_STATUS_LINE_HEIGHT
public static final IndentKind EIK_STATUS_LINE_HEIGHT
The 'EIK Status Line Height' literal object.- See Also:
EIK_STATUS_LINE_HEIGHT_VALUE
-
EIK_SYSTEM_BAR_HEIGHT
public static final IndentKind EIK_SYSTEM_BAR_HEIGHT
The 'EIK System Bar Height' literal object.- See Also:
EIK_SYSTEM_BAR_HEIGHT_VALUE
-
EIK_TITLE_HEIGHT
public static final IndentKind EIK_TITLE_HEIGHT
The 'EIK Title Height' literal object.- See Also:
EIK_TITLE_HEIGHT_VALUE
-
EIK_FORM_MARGIN_LEFT
public static final IndentKind EIK_FORM_MARGIN_LEFT
The 'EIK Form Margin Left' literal object.- See Also:
EIK_FORM_MARGIN_LEFT_VALUE
-
EIK_FORM_MARGIN_TOP
public static final IndentKind EIK_FORM_MARGIN_TOP
The 'EIK Form Margin Top' literal object.- See Also:
EIK_FORM_MARGIN_TOP_VALUE
-
EIK_FORM_MARGIN_RIGHT
public static final IndentKind EIK_FORM_MARGIN_RIGHT
The 'EIK Form Margin Right' literal object.- See Also:
EIK_FORM_MARGIN_RIGHT_VALUE
-
EIK_FORM_MARGIN_BOTTOM
public static final IndentKind EIK_FORM_MARGIN_BOTTOM
The 'EIK Form Margin Bottom' literal object.- See Also:
EIK_FORM_MARGIN_BOTTOM_VALUE
-
-
Field Detail
-
EIK_STATUS_LINE_HEIGHT_VALUE
public static final int EIK_STATUS_LINE_HEIGHT_VALUE
The 'EIK Status Line Height' literal value.- See Also:
EIK_STATUS_LINE_HEIGHT
, Constant Field Values
-
EIK_SYSTEM_BAR_HEIGHT_VALUE
public static final int EIK_SYSTEM_BAR_HEIGHT_VALUE
The 'EIK System Bar Height' literal value.- See Also:
EIK_SYSTEM_BAR_HEIGHT
, Constant Field Values
-
EIK_TITLE_HEIGHT_VALUE
public static final int EIK_TITLE_HEIGHT_VALUE
The 'EIK Title Height' literal value.- See Also:
EIK_TITLE_HEIGHT
, Constant Field Values
-
EIK_FORM_MARGIN_LEFT_VALUE
public static final int EIK_FORM_MARGIN_LEFT_VALUE
The 'EIK Form Margin Left' literal value.- See Also:
EIK_FORM_MARGIN_LEFT
, Constant Field Values
-
EIK_FORM_MARGIN_TOP_VALUE
public static final int EIK_FORM_MARGIN_TOP_VALUE
The 'EIK Form Margin Top' literal value.- See Also:
EIK_FORM_MARGIN_TOP
, Constant Field Values
-
EIK_FORM_MARGIN_RIGHT_VALUE
public static final int EIK_FORM_MARGIN_RIGHT_VALUE
The 'EIK Form Margin Right' literal value.- See Also:
EIK_FORM_MARGIN_RIGHT
, Constant Field Values
-
EIK_FORM_MARGIN_BOTTOM_VALUE
public static final int EIK_FORM_MARGIN_BOTTOM_VALUE
The 'EIK Form Margin Bottom' literal value.- See Also:
EIK_FORM_MARGIN_BOTTOM
, Constant Field Values
-
VALUES
public static final List<IndentKind> VALUES
A public read-only list of all the 'Indent Kind' enumerators.
-
-
Method Detail
-
values
public static IndentKind[] 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 (IndentKind c : IndentKind.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static IndentKind 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 IndentKind get(String literal)
Returns the 'Indent Kind' literal with the specified literal value.- Parameters:
literal
- the literal.- Returns:
- the matching enumerator or
null
.
-
getByName
public static IndentKind getByName(String name)
Returns the 'Indent Kind' literal with the specified name.- Parameters:
name
- the name.- Returns:
- the matching enumerator or
null
.
-
get
public static IndentKind get(int value)
Returns the 'Indent Kind' 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<IndentKind>
-
-