public enum PanelPlacement extends java.lang.Enum<PanelPlacement> implements ValueEnum
Enum Constant and Description |
---|
FILLPANEL
fill the nearest containing panel managed by a device-aware layout such as
SplitPane , which will generally be equivalent to "fillScreen" for a handset-sized device . |
FILLSCREEN
fill the entire screen
|
HALFSCREEN
fill the bottom half of the screen.
|
NEARORIGIN
classic placement for menus, pop-up lists and pickers in desktop interfaces: near the control that was clicked (a search
field,
MenuButton , etc). |
NONE
this setting disables all panelPlacement sizing and positioning logic.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getValue() |
static PanelPlacement |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PanelPlacement[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PanelPlacement NEARORIGIN
MenuButton
, etc). Note: this setting does not apply when there is no
originating control (such as a dialog that appears due to session timeout), in which case centering will generally be
used
If this enumerated value is used in a Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "nearOrigin".
public static final PanelPlacement FILLPANEL
SplitPane
, which will generally be equivalent to "fillScreen" for a handset-sized device
. Note: this setting does not apply if there is no clear
container for the component originating the UI, in which case, "fillScreen" will generally be used.
If this enumerated value is used in a Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "fillPanel".
public static final PanelPlacement FILLSCREEN
If this enumerated value is used in a Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "fillScreen".
public static final PanelPlacement HALFSCREEN
If this enumerated value is used in a Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "halfScreen".
public static final PanelPlacement 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 PanelPlacement[] values()
for (PanelPlacement c : PanelPlacement.values()) System.out.println(c);
public static PanelPlacement 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