public class HostSendKeys extends Object implements TerminalKeys
Modifier and Type | Field and Description |
---|---|
static String[] |
phantomSendKey
The table of Phantom indexed send keys.
|
static int[] |
phantomToHostSendKey
Converts phantom send key index to host send key.
|
KEY_AlternateCursor, KEY_Attention, KEY_Backspace, KEY_BackwardWordTab, KEY_CapsLock, KEY_Clear, KEY_CmdKey, KEY_CursorDown, KEY_CursorDownFast, KEY_CursorLeft, KEY_CursorLeftFast, KEY_CursorRight, KEY_CursorRightFast, KEY_CursorSelect, KEY_CursorUp, KEY_CursorUpFast, KEY_Delete, KEY_DestructiveBackspace, KEY_Dup, KEY_End, KEY_Enter, KEY_EraseEOF, KEY_EraseInput, KEY_FieldExit, KEY_FieldMark, KEY_FieldMinus, KEY_FieldPlus, KEY_ForwardWordTab, KEY_Help, KEY_Home, KEY_Insert, KEY_InsertToggle, KEY_LeftTab, KEY_MinusSign, KEY_NewLine, KEY_PA1, KEY_PA2, KEY_PA3, KEY_PageDown, KEY_PageUp, KEY_PF1, KEY_PF10, KEY_PF11, KEY_PF12, KEY_PF13, KEY_PF14, KEY_PF15, KEY_PF16, KEY_PF17, KEY_PF18, KEY_PF19, KEY_PF2, KEY_PF20, KEY_PF21, KEY_PF22, KEY_PF23, KEY_PF24, KEY_PF3, KEY_PF4, KEY_PF5, KEY_PF6, KEY_PF7, KEY_PF8, KEY_PF9, KEY_PlusSign, KEY_Print, KEY_PrintPC, KEY_PrintPS, KEY_RecordBackspace, KEY_Reset, KEY_RightTab, KEY_Space, KEY_SystemRequest, KEY_Test, KEY_WordDelete
Modifier and Type | Method and Description |
---|---|
static String |
getSendKey(String s)
Gets a HLLAPI send string from a string.
|
static int |
getSendKeyFromPhantomIndex(int phantomKeyIndex)
Get host send key from phantom send key index.
|
static int |
getSendKeyIndex(String s)
Gets a key index from a HLLAPI send string.
|
public static final String[] phantomSendKey
The Phantom index is increased by one, so getting the send key would be like:
String s=HostSendKeys.phantomSendKey[sendKey-1];Available send keys are:
SendKey Description Index -------- ----------------- ----- *E Enter 01 *u Page Up 02 *v Page Down 03 *1 PF1/f1 04 *2 PF2/f2 05 *3 PF3/f3 06 *4 PF4/f4 07 *5 PF5/f5 08 *6 PF6/f6 09 *7 PF7/f7 10 *8 PF8/f8 11 *9 PF9/f9 12 *a PF10/f10 13 *b PF11/f11 14 *c PF12/f12 15 *d PF13 16 *e PF14 17 *f PF15 18 *g PF16 19 *h PF17 20 *i PF18 21 *j PF19 22 *k PF20 23 *l PF21 24 *m PF22 25 *n PF23 26 *o PF24 27 *H Help 28 *R Reset 29 *C Clear 30 *P Print 31 *0 Home 32 *q End 33 *A*E Field Exit 34 *A*+ Field + 35 *A*- Field - 36 *A*H System Request 37 *A*Q Attention 38 *x PA1 39 *y PA2 40 *z PA3 41 *A*C Test request 42
public static final int[] phantomToHostSendKey
getSendKeyFromPhantomIndex(int)
public static String getSendKey(String s)
public static int getSendKeyIndex(String s)
public static int getSendKeyFromPhantomIndex(int phantomKeyIndex)
Phantom® and NetPhantom® are registered trademarks of Mindus SARL.
© © Mindus SARL, 2024. All rights reserved.