public enum DisplayState extends java.lang.Enum<DisplayState>
Display
.Enum Constant and Description |
---|
DISPLAY_HARDWARE_ASSIGNED
Display has access to the underlying hardware. |
DISPLAY_HARDWARE_UNASSIGNED
Display has no access to the underlying hardware. |
Modifier and Type | Method and Description |
---|---|
static DisplayState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DisplayState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DisplayState DISPLAY_HARDWARE_ASSIGNED
Display
has access to the underlying hardware.public static final DisplayState DISPLAY_HARDWARE_UNASSIGNED
Display
has no access to the underlying hardware.public static DisplayState[] values()
for (DisplayState c : DisplayState.values()) System.out.println(c);
public static DisplayState 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 nullCopyright (c) 2013, Oracle and/or its affiliates. All Rights Reserved. Use of this specification is subject to license terms.