public enum LineDirectionEnum extends Enum<LineDirectionEnum> implements JREnum
Enum Constant and Description |
---|
BOTTOM_UP
Constant used for specifying that the line starts from the bottom and goes towards the top.
|
TOP_DOWN
Constant used for specifying that the line starts from the top and goes towards the bottom.
|
Modifier and Type | Method and Description |
---|---|
static LineDirectionEnum |
getByName(String name) |
static LineDirectionEnum |
getByValue(byte value)
Deprecated.
Used only by deprecated serialized fields.
|
static LineDirectionEnum |
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 LineDirectionEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LineDirectionEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LineDirectionEnum TOP_DOWN
public static final LineDirectionEnum BOTTOM_UP
public static LineDirectionEnum[] values()
for (LineDirectionEnum c : LineDirectionEnum.values()) System.out.println(c);
public static LineDirectionEnum 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 LineDirectionEnum getByName(String name)
public static LineDirectionEnum getByValue(Byte value)
public static LineDirectionEnum getByValue(byte value)
Copyright © 2016. All rights reserved.