public enum DisplayHardwareState extends java.lang.Enum<DisplayHardwareState>
Display
.Enum Constant and Description |
---|
DISPLAY_HARDWARE_ABSENT
Display hardware is no longer connected to the device and cannot
be used. |
DISPLAY_HARDWARE_DISABLED
Display hardware is disabled and its contents are not visible to
the user. |
DISPLAY_HARDWARE_ENABLED
Display hardware is enabled and available for use. |
Modifier and Type | Method and Description |
---|---|
static DisplayHardwareState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DisplayHardwareState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DisplayHardwareState DISPLAY_HARDWARE_ENABLED
Display
hardware is enabled and available for use.public static final DisplayHardwareState DISPLAY_HARDWARE_DISABLED
Display
hardware is disabled and its contents are not visible to
the user.public static final DisplayHardwareState DISPLAY_HARDWARE_ABSENT
Display
hardware is no longer connected to the device and cannot
be used. This state only applies to auxiliary display hardware.public static DisplayHardwareState[] values()
for (DisplayHardwareState c : DisplayHardwareState.values()) System.out.println(c);
public static DisplayHardwareState 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.