public enum LineStyleEnum extends Enum<LineStyleEnum> implements JREnum
| Enum Constant and Description |
|---|
DASHED
Constant useful for specifying dashed line style.
|
DOTTED
Constant useful for specifying dotted line style.
|
DOUBLE
Constant useful for specifying double line style.
|
SOLID
Constant useful for specifying solid line style.
|
| Modifier and Type | Method and Description |
|---|---|
static LineStyleEnum |
getByName(String name) |
static LineStyleEnum |
getByValue(byte value) |
static LineStyleEnum |
getByValue(Byte value) |
String |
getName() |
byte |
getValue() |
Byte |
getValueByte() |
static LineStyleEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LineStyleEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LineStyleEnum SOLID
public static final LineStyleEnum DASHED
public static final LineStyleEnum DOTTED
public static final LineStyleEnum DOUBLE
public static LineStyleEnum[] values()
for (LineStyleEnum c : LineStyleEnum.values()) System.out.println(c);
public static LineStyleEnum 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 JREnumpublic static LineStyleEnum getByName(String name)
public static LineStyleEnum getByValue(Byte value)
public static LineStyleEnum getByValue(byte value)
Copyright © 2014. All rights reserved.