Enum PresentationBorderStyle
- java.lang.Object
-
- java.lang.Enum<PresentationBorderStyle>
-
- com._1c.g5.v8.dt.form.presentation.model.PresentationBorderStyle
-
- All Implemented Interfaces:
Serializable
,Comparable<PresentationBorderStyle>
,org.eclipse.emf.common.util.Enumerator
public enum PresentationBorderStyle extends Enum<PresentationBorderStyle> implements org.eclipse.emf.common.util.Enumerator
A representation of the literals of the enumeration 'Border Style', and utility methods for working with them. Possible presentation border styles.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DOUBLE
The 'Double' literal object.DOUBLE_UNDERLINE
The 'Double Underline' literal object.EMBOSSED
The 'Embossed' literal object.INDENTED
The 'Indented' literal object.NONE
The 'None' literal object.OVERLINE
The 'Overline' literal object.ROUNDED
The 'Rounded' literal object.SINGLE
The 'Single' literal object.UNDERLINE
The 'Underline' literal object.
-
Field Summary
Fields Modifier and Type Field Description static int
DOUBLE_UNDERLINE_VALUE
The 'Double Underline' literal value.static int
DOUBLE_VALUE
The 'Double' literal value.static int
EMBOSSED_VALUE
The 'Embossed' literal value.static int
INDENTED_VALUE
The 'Indented' literal value.static int
NONE_VALUE
The 'None' literal value.static int
OVERLINE_VALUE
The 'Overline' literal value.static int
ROUNDED_VALUE
The 'Rounded' literal value.static int
SINGLE_VALUE
The 'Single' literal value.static int
UNDERLINE_VALUE
The 'Underline' literal value.static List<PresentationBorderStyle>
VALUES
A public read-only list of all the 'Border Style' enumerators.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PresentationBorderStyle
get(int value)
Returns the 'Border Style' literal with the specified integer value.static PresentationBorderStyle
get(String literal)
Returns the 'Border Style' literal with the specified literal value.static PresentationBorderStyle
getByName(String name)
Returns the 'Border Style' 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 PresentationBorderStyle
valueOf(String name)
Returns the enum constant of this type with the specified name.static PresentationBorderStyle[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NONE
public static final PresentationBorderStyle NONE
The 'None' literal object.- See Also:
NONE_VALUE
-
SINGLE
public static final PresentationBorderStyle SINGLE
The 'Single' literal object.- See Also:
SINGLE_VALUE
-
DOUBLE
public static final PresentationBorderStyle DOUBLE
The 'Double' literal object.- See Also:
DOUBLE_VALUE
-
EMBOSSED
public static final PresentationBorderStyle EMBOSSED
The 'Embossed' literal object.- See Also:
EMBOSSED_VALUE
-
INDENTED
public static final PresentationBorderStyle INDENTED
The 'Indented' literal object.- See Also:
INDENTED_VALUE
-
UNDERLINE
public static final PresentationBorderStyle UNDERLINE
The 'Underline' literal object.- See Also:
UNDERLINE_VALUE
-
DOUBLE_UNDERLINE
public static final PresentationBorderStyle DOUBLE_UNDERLINE
The 'Double Underline' literal object.- See Also:
DOUBLE_UNDERLINE_VALUE
-
ROUNDED
public static final PresentationBorderStyle ROUNDED
The 'Rounded' literal object.- See Also:
ROUNDED_VALUE
-
OVERLINE
public static final PresentationBorderStyle OVERLINE
The 'Overline' literal object.- See Also:
OVERLINE_VALUE
-
-
Field Detail
-
NONE_VALUE
public static final int NONE_VALUE
The 'None' literal value.- See Also:
NONE
, Constant Field Values
-
SINGLE_VALUE
public static final int SINGLE_VALUE
The 'Single' literal value.- See Also:
SINGLE
, Constant Field Values
-
DOUBLE_VALUE
public static final int DOUBLE_VALUE
The 'Double' literal value.- See Also:
DOUBLE
, Constant Field Values
-
EMBOSSED_VALUE
public static final int EMBOSSED_VALUE
The 'Embossed' literal value.- See Also:
EMBOSSED
, Constant Field Values
-
INDENTED_VALUE
public static final int INDENTED_VALUE
The 'Indented' literal value.- See Also:
INDENTED
, Constant Field Values
-
UNDERLINE_VALUE
public static final int UNDERLINE_VALUE
The 'Underline' literal value.- See Also:
UNDERLINE
, Constant Field Values
-
DOUBLE_UNDERLINE_VALUE
public static final int DOUBLE_UNDERLINE_VALUE
The 'Double Underline' literal value.- See Also:
DOUBLE_UNDERLINE
, Constant Field Values
-
ROUNDED_VALUE
public static final int ROUNDED_VALUE
The 'Rounded' literal value.- See Also:
ROUNDED
, Constant Field Values
-
OVERLINE_VALUE
public static final int OVERLINE_VALUE
The 'Overline' literal value.- See Also:
OVERLINE
, Constant Field Values
-
VALUES
public static final List<PresentationBorderStyle> VALUES
A public read-only list of all the 'Border Style' enumerators.
-
-
Method Detail
-
values
public static PresentationBorderStyle[] 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 (PresentationBorderStyle c : PresentationBorderStyle.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PresentationBorderStyle 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 PresentationBorderStyle get(String literal)
Returns the 'Border Style' literal with the specified literal value.- Parameters:
literal
- the literal.- Returns:
- the matching enumerator or
null
.
-
getByName
public static PresentationBorderStyle getByName(String name)
Returns the 'Border Style' literal with the specified name.- Parameters:
name
- the name.- Returns:
- the matching enumerator or
null
.
-
get
public static PresentationBorderStyle get(int value)
Returns the 'Border Style' 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<PresentationBorderStyle>
-
-