public enum ContentLayoutPolicy extends java.lang.Enum<ContentLayoutPolicy> implements ValueEnum
Enum Constant and Description |
---|
HORIZONTAL
Window body defaults to HLayout behavior.
|
NONE
Window does not try to size members at all on either axis.
|
VERTICAL
Window body defaults to VLayout behavior.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getValue() |
static ContentLayoutPolicy |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ContentLayoutPolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ContentLayoutPolicy NONE
LayoutPolicy
"none".
If this enumerated value is used in a Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "none".
public static final ContentLayoutPolicy VERTICAL
Layout.vertical
: true.)
If this enumerated value is used in a Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "vertical".
public static final ContentLayoutPolicy HORIZONTAL
Layout.vertical
: false.)
If this enumerated value is used in a Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "horizontal".
public static ContentLayoutPolicy[] values()
for (ContentLayoutPolicy c : ContentLayoutPolicy.values()) System.out.println(c);
public static ContentLayoutPolicy valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null