public enum DeviceMode extends java.lang.Enum<DeviceMode> implements ValueEnum
SplitPane.deviceMode
.Enum Constant and Description |
---|
DESKTOP
mode intended for desktop browsers.
|
HANDSET
mode intended for handset-size devices (phones).
|
TABLET
mode intended for tablet-size devices.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getValue() |
static DeviceMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DeviceMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DeviceMode HANDSET
If this enumerated value is used in a Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "handset".
public static final DeviceMode TABLET
PageOrientation
, and only one panel is shown in "portrait" orientation.
If this enumerated value is used in a Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "tablet".
public static final DeviceMode DESKTOP
If this enumerated value is used in a Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "desktop".
public static DeviceMode[] values()
for (DeviceMode c : DeviceMode.values()) System.out.println(c);
public static DeviceMode 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