public enum ModeEnum extends Enum<ModeEnum> implements JREnum
Enum Constant and Description |
---|
OPAQUE
Specifies that the element is opaque.
|
TRANSPARENT
Specifies that the element is transparent.
|
Modifier and Type | Method and Description |
---|---|
static ModeEnum |
getByName(String name) |
static ModeEnum |
getByValue(byte value)
Deprecated.
Used only by deprecated serialized fields.
|
static ModeEnum |
getByValue(Byte value)
Deprecated.
Used only by deprecated serialized fields.
|
String |
getName() |
byte |
getValue()
Deprecated.
Used only by deprecated serialized fields.
|
Byte |
getValueByte()
Deprecated.
Used only by deprecated serialized fields.
|
static ModeEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ModeEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ModeEnum OPAQUE
public static final ModeEnum TRANSPARENT
public static ModeEnum[] values()
for (ModeEnum c : ModeEnum.values()) System.out.println(c);
public static ModeEnum 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 Byte getValueByte()
getValueByte
in interface JREnum
public final byte getValue()
public static ModeEnum getByValue(Byte value)
public static ModeEnum getByValue(byte value)
Copyright © 2016. All rights reserved.