public static enum Command.UNDERLINE_MODE extends Enum<Command.UNDERLINE_MODE>
Enum Constant and Description |
---|
OFF
Cancel underline
|
UNDERLINE_1DOT
Select underline mode (1 point wide)
|
UNDERLINE_2DOT
Select underline mode (2 points wide)
|
Modifier and Type | Method and Description |
---|---|
byte |
getValue() |
static Command.UNDERLINE_MODE |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Command.UNDERLINE_MODE[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Command.UNDERLINE_MODE OFF
public static final Command.UNDERLINE_MODE UNDERLINE_1DOT
public static final Command.UNDERLINE_MODE UNDERLINE_2DOT
public static Command.UNDERLINE_MODE[] values()
for (Command.UNDERLINE_MODE c : Command.UNDERLINE_MODE.values()) System.out.println(c);
public static Command.UNDERLINE_MODE 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 getValue()