public enum InputCommandEnumeration extends Enum<InputCommandEnumeration>
Java class for InputCommandEnumeration.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="InputCommandEnumeration">
<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 message 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 InputCommandEnumeration |
fromValue(String v) |
String |
value() |
static InputCommandEnumeration |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static InputCommandEnumeration[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InputCommandEnumeration GET_ANY_KEY
public static final InputCommandEnumeration GET_CONFIRMATION
public static final InputCommandEnumeration SITE_MANAGER
public static final InputCommandEnumeration TEXT_STRING
public static final InputCommandEnumeration DIGIT_STRING
public static final InputCommandEnumeration DECIMAL_STRING
public static final InputCommandEnumeration GET_FUNCTION_KEY
public static final InputCommandEnumeration GET_MENU_ENTRY
public static final InputCommandEnumeration PASSWORD
public static InputCommandEnumeration[] values()
for (InputCommandEnumeration c : InputCommandEnumeration.values()) System.out.println(c);
public static InputCommandEnumeration 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 InputCommandEnumeration fromValue(String v)
Copyright © 2018. All rights reserved.