public static enum PrintedReceiptLineFont.FONT_SIZE extends java.lang.Enum<PrintedReceiptLineFont.FONT_SIZE>
| Modifier and Type | Method and Description |
|---|---|
static PrintedReceiptLineFont.FONT_SIZE |
fromInteger(int x) |
int |
getValue() |
static PrintedReceiptLineFont.FONT_SIZE |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PrintedReceiptLineFont.FONT_SIZE[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PrintedReceiptLineFont.FONT_SIZE FONT15
public static final PrintedReceiptLineFont.FONT_SIZE FONT17
public static final PrintedReceiptLineFont.FONT_SIZE FONT24
public static final PrintedReceiptLineFont.FONT_SIZE FONT30
public static PrintedReceiptLineFont.FONT_SIZE[] values()
for (PrintedReceiptLineFont.FONT_SIZE c : PrintedReceiptLineFont.FONT_SIZE.values()) System.out.println(c);
public static PrintedReceiptLineFont.FONT_SIZE valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic int getValue()
public static PrintedReceiptLineFont.FONT_SIZE fromInteger(int x)