public enum DisplayCapability extends java.lang.Enum<DisplayCapability>
Display
.Enum Constant and Description |
---|
SUPPORTS_BACKGROUND_COLORS
Supporting background colors.
|
SUPPORTS_HORIZONTAL_SCROLLING
Supporting horizontal scrolling.
|
SUPPORTS_KEY_EVENTS
Receiving raw key events from the user.
|
SUPPORTS_LIGHTING
Supporting lighting.
|
SUPPORTS_LIGHTING_COLORS
Supporting lighting colors.
|
SUPPORTS_TEXT_COLORS
Supporting different text colors.
|
SUPPORTS_VERTICAL_SCROLLING
Supporting vertical scrolling.
|
Modifier and Type | Method and Description |
---|---|
static DisplayCapability |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DisplayCapability[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DisplayCapability SUPPORTS_KEY_EVENTS
public static final DisplayCapability SUPPORTS_TEXT_COLORS
public static final DisplayCapability SUPPORTS_VERTICAL_SCROLLING
public static final DisplayCapability SUPPORTS_HORIZONTAL_SCROLLING
public static final DisplayCapability SUPPORTS_BACKGROUND_COLORS
public static final DisplayCapability SUPPORTS_LIGHTING
public static final DisplayCapability SUPPORTS_LIGHTING_COLORS
public static DisplayCapability[] values()
for (DisplayCapability c : DisplayCapability.values()) System.out.println(c);
public static DisplayCapability 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) 2014, Oracle and/or its affiliates. All Rights Reserved. Use of this specification is subject to license terms.