Package com.onslip360
Enum API.Peripheral.Function
- java.lang.Object
-
- java.lang.Enum<API.Peripheral.Function>
-
- com.onslip360.API.Peripheral.Function
-
- All Implemented Interfaces:
Serializable
,Comparable<API.Peripheral.Function>
- Enclosing class:
- API.Peripheral
public static enum API.Peripheral.Function extends Enum<API.Peripheral.Function>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description __
BARCODE_SCANNER
CARD_TERMINAL
CASH_DRAWER
CONTROL_UNIT
CUSTOMER_DISPLAY
HOST2T
KITCHEN_PRINTER
KITCHEN_PRINTER_2
KITCHEN_PRINTER_3
KITCHEN_PRINTER_4
KITCHEN_PRINTER_5
RECEIPT_PRINTER
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static API.Peripheral.Function
valueOf(String name)
Returns the enum constant of this type with the specified name.static API.Peripheral.Function[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BARCODE_SCANNER
public static final API.Peripheral.Function BARCODE_SCANNER
-
CARD_TERMINAL
public static final API.Peripheral.Function CARD_TERMINAL
-
CASH_DRAWER
public static final API.Peripheral.Function CASH_DRAWER
-
CONTROL_UNIT
public static final API.Peripheral.Function CONTROL_UNIT
-
CUSTOMER_DISPLAY
public static final API.Peripheral.Function CUSTOMER_DISPLAY
-
KITCHEN_PRINTER
public static final API.Peripheral.Function KITCHEN_PRINTER
-
KITCHEN_PRINTER_2
public static final API.Peripheral.Function KITCHEN_PRINTER_2
-
KITCHEN_PRINTER_3
public static final API.Peripheral.Function KITCHEN_PRINTER_3
-
KITCHEN_PRINTER_4
public static final API.Peripheral.Function KITCHEN_PRINTER_4
-
KITCHEN_PRINTER_5
public static final API.Peripheral.Function KITCHEN_PRINTER_5
-
RECEIPT_PRINTER
public static final API.Peripheral.Function RECEIPT_PRINTER
-
HOST2T
public static final API.Peripheral.Function HOST2T
-
__
public static final API.Peripheral.Function __
-
-
Method Detail
-
values
public static API.Peripheral.Function[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (API.Peripheral.Function c : API.Peripheral.Function.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static API.Peripheral.Function valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-