Package com._1c.g5.lwt.controls
Enum LightSeparator.Orientation
- java.lang.Object
-
- java.lang.Enum<LightSeparator.Orientation>
-
- com._1c.g5.lwt.controls.LightSeparator.Orientation
-
- All Implemented Interfaces:
Serializable
,Comparable<LightSeparator.Orientation>
- Enclosing class:
- LightSeparator
public static enum LightSeparator.Orientation extends Enum<LightSeparator.Orientation>
Separator orientation.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description Horizontal
Horizontal orientation.Vertical
Vertical orientation.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static LightSeparator.Orientation
valueOf(String name)
Returns the enum constant of this type with the specified name.static LightSeparator.Orientation[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Horizontal
public static final LightSeparator.Orientation Horizontal
Horizontal orientation.
-
Vertical
public static final LightSeparator.Orientation Vertical
Vertical orientation.
-
-
Method Detail
-
values
public static LightSeparator.Orientation[] 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 (LightSeparator.Orientation c : LightSeparator.Orientation.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static LightSeparator.Orientation 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
-
-