Enum PanelLayout
- java.lang.Object
-
- java.lang.Enum<PanelLayout>
-
- com.orchestranetworks.addon.dmdv.template.bean.PanelLayout
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<PanelLayout>
public enum PanelLayout extends java.lang.Enum<PanelLayout>
Possible panel layouts.- Since:
- 1.2.0
-
-
Enum Constant Summary
Enum Constants Enum Constant Description HORIZONTAL
This value for type lays out the elements horizontally with their alignment property dictating their alignment on the Y-axis.VERTICAL
This value for type lays out the elements vertically with their alignment property dictating their alignment on the X-axis.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PanelLayout
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static PanelLayout[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
VERTICAL
public static final PanelLayout VERTICAL
This value for type lays out the elements vertically with their alignment property dictating their alignment on the X-axis.
-
HORIZONTAL
public static final PanelLayout HORIZONTAL
This value for type lays out the elements horizontally with their alignment property dictating their alignment on the Y-axis.
-
-
Method Detail
-
values
public static PanelLayout[] 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 (PanelLayout c : PanelLayout.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PanelLayout valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-