public enum DisplayStatus extends Enum<DisplayStatus>
DisplayStatus class.
Enum Constant and Description |
---|
DISPLAY_LINK |
DISPLAY_NO_LINK |
NO_DISPLAY |
Modifier and Type | Method and Description |
---|---|
boolean |
isDisplay()
isDisplay
|
boolean |
isDisplayLink()
isDisplayLink
|
static DisplayStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DisplayStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DisplayStatus NO_DISPLAY
public static final DisplayStatus DISPLAY_NO_LINK
public static final DisplayStatus DISPLAY_LINK
public static DisplayStatus[] values()
for (DisplayStatus c : DisplayStatus.values()) System.out.println(c);
public static DisplayStatus valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic boolean isDisplay()
isDisplay
public boolean isDisplayLink()
isDisplayLink
Copyright © 2021. All rights reserved.