public static enum Command.FONT extends Enum<Command.FONT>
| Enum Constant and Description |
|---|
FONTA
标准ASCII码字体A(12x24)
|
FONTB
压缩ASCII码字体B(9x17)
|
| Modifier and Type | Method and Description |
|---|---|
byte |
getValue() |
static Command.FONT |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Command.FONT[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Command.FONT FONTA
public static final Command.FONT FONTB
public static Command.FONT[] values()
for (Command.FONT c : Command.FONT.values()) System.out.println(c);
public static Command.FONT 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()