public enum InputCommandType extends Enum<InputCommandType>
Java class for InputCommandType.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="InputCommandType">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="GetAnyKey"/>
<enumeration value="GetConfirmation"/>
<enumeration value="SiteManager"/>
<enumeration value="TextString"/>
<enumeration value="DigitString"/>
<enumeration value="DecimalString"/>
<enumeration value="GetFunctionKey"/>
<enumeration value="GetMenuEntry"/>
<enumeration value="Password"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
DECIMAL_STRING
Wait for a string of digit characters with a decimal point, the length range could be specified.
|
DIGIT_STRING
Wait for a string of digit characters, the length range could be specified.
|
GET_ANY_KEY
Wait for a key pressed on the Terminal, to be able to read the messageType displayed on the Terminal.
|
GET_CONFIRMATION
Wait for a confirmation Yes (Y) or No (N) on the Sale Terminal.
|
GET_FUNCTION_KEY
Wait for a function key pressed on the Terminal: From POI, Valid, Clear, Correct, Generic Function key number.
|
GET_MENU_ENTRY
To choose an entry among a list of entrys (all of them are not necessary selectable).
|
PASSWORD
Request to enter a password with masked characters while typing the password.
|
SITE_MANAGER
Wait for a confirmation Yes (Y) or No (N) of the Site Manager on the Sale Terminal.
|
TEXT_STRING
Wait for a string of alphanumeric characters, the length range could be specified.
|
| Modifier and Type | Method and Description |
|---|---|
static InputCommandType |
fromValue(String v)
From value input command type.
|
String |
value()
Value string.
|
static InputCommandType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static InputCommandType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InputCommandType GET_ANY_KEY
public static final InputCommandType GET_CONFIRMATION
public static final InputCommandType SITE_MANAGER
public static final InputCommandType TEXT_STRING
public static final InputCommandType DIGIT_STRING
public static final InputCommandType DECIMAL_STRING
public static final InputCommandType GET_FUNCTION_KEY
public static final InputCommandType GET_MENU_ENTRY
public static final InputCommandType PASSWORD
public static InputCommandType[] values()
for (InputCommandType c : InputCommandType.values()) System.out.println(c);
public static InputCommandType 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 String value()
public static InputCommandType fromValue(String v)
v - the vCopyright © 2022. All rights reserved.