com.jagacy
Class Key

java.lang.Object
  extended bycom.jagacy.Key

public abstract class Key
extends java.lang.Object

Supported keys. Note that a key that ends with '_WAIT' must have a wait function called after it is sent.

Author:
Robert M. Preston

Field Summary
static int ATTN_ID
           
static java.lang.String ATTN_NAME
           
static Key ATTN_WAIT
           
static Key BACK_TAB
           
static int BACK_TAB_ID
           
static java.lang.String BACK_TAB_NAME
           
static Key BACKSPACE
           
static int BACKSPACE_ID
           
static java.lang.String BACKSPACE_NAME
           
static int CLEAR_ID
           
static java.lang.String CLEAR_NAME
           
static Key CLEAR_WAIT
           
static int CURSOR_SELECT_ID
           
static java.lang.String CURSOR_SELECT_NAME
           
static Key CURSOR_SELECT_WAIT
           
static Key DELETE
           
static int DELETE_ID
           
static java.lang.String DELETE_NAME
           
static Key DOWN_ARROW
           
static int DOWN_ARROW_ID
           
static java.lang.String DOWN_ARROW_NAME
           
static Key DUPLICATE
           
static int DUPLICATE_ID
           
static java.lang.String DUPLICATE_NAME
           
static int ENTER_ID
           
static java.lang.String ENTER_NAME
           
static Key ENTER_WAIT
           
static Key ERASE_EOF
           
static int ERASE_EOF_ID
           
static java.lang.String ERASE_EOF_NAME
           
static Key ERASE_INPUT
           
static int ERASE_INPUT_ID
           
static java.lang.String ERASE_INPUT_NAME
           
static Key HOME
           
static int HOME_ID
           
static java.lang.String HOME_NAME
           
static Key INSERT
           
static int INSERT_ID
           
static java.lang.String INSERT_NAME
           
static Key LEFT_ARROW
           
static int LEFT_ARROW_ID
           
static java.lang.String LEFT_ARROW_NAME
           
static int MAX_ID
           
static Key NEWLINE
           
static int NEWLINE_ID
           
static java.lang.String NEWLINE_NAME
           
static int PA1_ID
           
static java.lang.String PA1_NAME
           
static Key PA1_WAIT
           
static int PA2_ID
           
static java.lang.String PA2_NAME
           
static Key PA2_WAIT
           
static int PA3_ID
           
static java.lang.String PA3_NAME
           
static Key PA3_WAIT
           
static int PF1_ID
           
static java.lang.String PF1_NAME
           
static Key PF1_WAIT
           
static int PF10_ID
           
static java.lang.String PF10_NAME
           
static Key PF10_WAIT
           
static int PF11_ID
           
static java.lang.String PF11_NAME
           
static Key PF11_WAIT
           
static int PF12_ID
           
static java.lang.String PF12_NAME
           
static Key PF12_WAIT
           
static int PF13_ID
           
static java.lang.String PF13_NAME
           
static Key PF13_WAIT
           
static int PF14_ID
           
static java.lang.String PF14_NAME
           
static Key PF14_WAIT
           
static int PF15_ID
           
static java.lang.String PF15_NAME
           
static Key PF15_WAIT
           
static int PF16_ID
           
static java.lang.String PF16_NAME
           
static Key PF16_WAIT
           
static int PF17_ID
           
static java.lang.String PF17_NAME
           
static Key PF17_WAIT
           
static int PF18_ID
           
static java.lang.String PF18_NAME
           
static Key PF18_WAIT
           
static int PF19_ID
           
static java.lang.String PF19_NAME
           
static Key PF19_WAIT
           
static int PF2_ID
           
static java.lang.String PF2_NAME
           
static Key PF2_WAIT
           
static int PF20_ID
           
static java.lang.String PF20_NAME
           
static Key PF20_WAIT
           
static int PF21_ID
           
static java.lang.String PF21_NAME
           
static Key PF21_WAIT
           
static int PF22_ID
           
static java.lang.String PF22_NAME
           
static Key PF22_WAIT
           
static int PF23_ID
           
static java.lang.String PF23_NAME
           
static Key PF23_WAIT
           
static int PF24_ID
           
static java.lang.String PF24_NAME
           
static Key PF24_WAIT
           
static int PF3_ID
           
static java.lang.String PF3_NAME
           
static Key PF3_WAIT
           
static int PF4_ID
           
static java.lang.String PF4_NAME
           
static Key PF4_WAIT
           
static int PF5_ID
           
static java.lang.String PF5_NAME
           
static Key PF5_WAIT
           
static int PF6_ID
           
static java.lang.String PF6_NAME
           
static Key PF6_WAIT
           
static int PF7_ID
           
static java.lang.String PF7_NAME
           
static Key PF7_WAIT
           
static int PF8_ID
           
static java.lang.String PF8_NAME
           
static Key PF8_WAIT
           
static int PF9_ID
           
static java.lang.String PF9_NAME
           
static Key PF9_WAIT
           
static Key RESET
           
static int RESET_ID
           
static java.lang.String RESET_NAME
           
static Key RIGHT_ARROW
           
static int RIGHT_ARROW_ID
           
static java.lang.String RIGHT_ARROW_NAME
           
static int SYSREQ_ID
           
static java.lang.String SYSREQ_NAME
           
static Key SYSREQ_WAIT
           
static Key TAB
           
static int TAB_ID
           
static java.lang.String TAB_NAME
           
static Key UP_ARROW
           
static int UP_ARROW_ID
           
static java.lang.String UP_ARROW_NAME
           
 
Method Summary
static Key find(int id)
          Find a key with the given ID.
static Key find(java.lang.String name)
          Find a key with the given name.
abstract  int getId()
           
abstract  java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ENTER_WAIT

public static final Key ENTER_WAIT

PF1_WAIT

public static final Key PF1_WAIT

PF2_WAIT

public static final Key PF2_WAIT

PF3_WAIT

public static final Key PF3_WAIT

PF4_WAIT

public static final Key PF4_WAIT

PF5_WAIT

public static final Key PF5_WAIT

PF6_WAIT

public static final Key PF6_WAIT

PF7_WAIT

public static final Key PF7_WAIT

PF8_WAIT

public static final Key PF8_WAIT

PF9_WAIT

public static final Key PF9_WAIT

PF10_WAIT

public static final Key PF10_WAIT

PF11_WAIT

public static final Key PF11_WAIT

PF12_WAIT

public static final Key PF12_WAIT

PF13_WAIT

public static final Key PF13_WAIT

PF14_WAIT

public static final Key PF14_WAIT

PF15_WAIT

public static final Key PF15_WAIT

PF16_WAIT

public static final Key PF16_WAIT

PF17_WAIT

public static final Key PF17_WAIT

PF18_WAIT

public static final Key PF18_WAIT

PF19_WAIT

public static final Key PF19_WAIT

PF20_WAIT

public static final Key PF20_WAIT

PF21_WAIT

public static final Key PF21_WAIT

PF22_WAIT

public static final Key PF22_WAIT

PF23_WAIT

public static final Key PF23_WAIT

PF24_WAIT

public static final Key PF24_WAIT

PA1_WAIT

public static final Key PA1_WAIT

PA2_WAIT

public static final Key PA2_WAIT

PA3_WAIT

public static final Key PA3_WAIT

CLEAR_WAIT

public static final Key CLEAR_WAIT

ATTN_WAIT

public static final Key ATTN_WAIT

SYSREQ_WAIT

public static final Key SYSREQ_WAIT

CURSOR_SELECT_WAIT

public static final Key CURSOR_SELECT_WAIT

UP_ARROW

public static final Key UP_ARROW

DOWN_ARROW

public static final Key DOWN_ARROW

LEFT_ARROW

public static final Key LEFT_ARROW

RIGHT_ARROW

public static final Key RIGHT_ARROW

HOME

public static final Key HOME

NEWLINE

public static final Key NEWLINE

TAB

public static final Key TAB

BACK_TAB

public static final Key BACK_TAB

DELETE

public static final Key DELETE

INSERT

public static final Key INSERT

ERASE_EOF

public static final Key ERASE_EOF

ERASE_INPUT

public static final Key ERASE_INPUT

DUPLICATE

public static final Key DUPLICATE

BACKSPACE

public static final Key BACKSPACE

RESET

public static final Key RESET

ENTER_ID

public static final int ENTER_ID
See Also:
Constant Field Values

PF1_ID

public static final int PF1_ID
See Also:
Constant Field Values

PF2_ID

public static final int PF2_ID
See Also:
Constant Field Values

PF3_ID

public static final int PF3_ID
See Also:
Constant Field Values

PF4_ID

public static final int PF4_ID
See Also:
Constant Field Values

PF5_ID

public static final int PF5_ID
See Also:
Constant Field Values

PF6_ID

public static final int PF6_ID
See Also:
Constant Field Values

PF7_ID

public static final int PF7_ID
See Also:
Constant Field Values

PF8_ID

public static final int PF8_ID
See Also:
Constant Field Values

PF9_ID

public static final int PF9_ID
See Also:
Constant Field Values

PF10_ID

public static final int PF10_ID
See Also:
Constant Field Values

PF11_ID

public static final int PF11_ID
See Also:
Constant Field Values

PF12_ID

public static final int PF12_ID
See Also:
Constant Field Values

PF13_ID

public static final int PF13_ID
See Also:
Constant Field Values

PF14_ID

public static final int PF14_ID
See Also:
Constant Field Values

PF15_ID

public static final int PF15_ID
See Also:
Constant Field Values

PF16_ID

public static final int PF16_ID
See Also:
Constant Field Values

PF17_ID

public static final int PF17_ID
See Also:
Constant Field Values

PF18_ID

public static final int PF18_ID
See Also:
Constant Field Values

PF19_ID

public static final int PF19_ID
See Also:
Constant Field Values

PF20_ID

public static final int PF20_ID
See Also:
Constant Field Values

PF21_ID

public static final int PF21_ID
See Also:
Constant Field Values

PF22_ID

public static final int PF22_ID
See Also:
Constant Field Values

PF23_ID

public static final int PF23_ID
See Also:
Constant Field Values

PF24_ID

public static final int PF24_ID
See Also:
Constant Field Values

PA1_ID

public static final int PA1_ID
See Also:
Constant Field Values

PA2_ID

public static final int PA2_ID
See Also:
Constant Field Values

PA3_ID

public static final int PA3_ID
See Also:
Constant Field Values

CLEAR_ID

public static final int CLEAR_ID
See Also:
Constant Field Values

ATTN_ID

public static final int ATTN_ID
See Also:
Constant Field Values

SYSREQ_ID

public static final int SYSREQ_ID
See Also:
Constant Field Values

CURSOR_SELECT_ID

public static final int CURSOR_SELECT_ID
See Also:
Constant Field Values

UP_ARROW_ID

public static final int UP_ARROW_ID
See Also:
Constant Field Values

DOWN_ARROW_ID

public static final int DOWN_ARROW_ID
See Also:
Constant Field Values

LEFT_ARROW_ID

public static final int LEFT_ARROW_ID
See Also:
Constant Field Values

RIGHT_ARROW_ID

public static final int RIGHT_ARROW_ID
See Also:
Constant Field Values

HOME_ID

public static final int HOME_ID
See Also:
Constant Field Values

NEWLINE_ID

public static final int NEWLINE_ID
See Also:
Constant Field Values

TAB_ID

public static final int TAB_ID
See Also:
Constant Field Values

BACK_TAB_ID

public static final int BACK_TAB_ID
See Also:
Constant Field Values

DELETE_ID

public static final int DELETE_ID
See Also:
Constant Field Values

INSERT_ID

public static final int INSERT_ID
See Also:
Constant Field Values

ERASE_EOF_ID

public static final int ERASE_EOF_ID
See Also:
Constant Field Values

ERASE_INPUT_ID

public static final int ERASE_INPUT_ID
See Also:
Constant Field Values

DUPLICATE_ID

public static final int DUPLICATE_ID
See Also:
Constant Field Values

BACKSPACE_ID

public static final int BACKSPACE_ID
See Also:
Constant Field Values

RESET_ID

public static final int RESET_ID
See Also:
Constant Field Values

MAX_ID

public static final int MAX_ID
See Also:
Constant Field Values

ENTER_NAME

public static final java.lang.String ENTER_NAME
See Also:
Constant Field Values

PF1_NAME

public static final java.lang.String PF1_NAME
See Also:
Constant Field Values

PF2_NAME

public static final java.lang.String PF2_NAME
See Also:
Constant Field Values

PF3_NAME

public static final java.lang.String PF3_NAME
See Also:
Constant Field Values

PF4_NAME

public static final java.lang.String PF4_NAME
See Also:
Constant Field Values

PF5_NAME

public static final java.lang.String PF5_NAME
See Also:
Constant Field Values

PF6_NAME

public static final java.lang.String PF6_NAME
See Also:
Constant Field Values

PF7_NAME

public static final java.lang.String PF7_NAME
See Also:
Constant Field Values

PF8_NAME

public static final java.lang.String PF8_NAME
See Also:
Constant Field Values

PF9_NAME

public static final java.lang.String PF9_NAME
See Also:
Constant Field Values

PF10_NAME

public static final java.lang.String PF10_NAME
See Also:
Constant Field Values

PF11_NAME

public static final java.lang.String PF11_NAME
See Also:
Constant Field Values

PF12_NAME

public static final java.lang.String PF12_NAME
See Also:
Constant Field Values

PF13_NAME

public static final java.lang.String PF13_NAME
See Also:
Constant Field Values

PF14_NAME

public static final java.lang.String PF14_NAME
See Also:
Constant Field Values

PF15_NAME

public static final java.lang.String PF15_NAME
See Also:
Constant Field Values

PF16_NAME

public static final java.lang.String PF16_NAME
See Also:
Constant Field Values

PF17_NAME

public static final java.lang.String PF17_NAME
See Also:
Constant Field Values

PF18_NAME

public static final java.lang.String PF18_NAME
See Also:
Constant Field Values

PF19_NAME

public static final java.lang.String PF19_NAME
See Also:
Constant Field Values

PF20_NAME

public static final java.lang.String PF20_NAME
See Also:
Constant Field Values

PF21_NAME

public static final java.lang.String PF21_NAME
See Also:
Constant Field Values

PF22_NAME

public static final java.lang.String PF22_NAME
See Also:
Constant Field Values

PF23_NAME

public static final java.lang.String PF23_NAME
See Also:
Constant Field Values

PF24_NAME

public static final java.lang.String PF24_NAME
See Also:
Constant Field Values

PA1_NAME

public static final java.lang.String PA1_NAME
See Also:
Constant Field Values

PA2_NAME

public static final java.lang.String PA2_NAME
See Also:
Constant Field Values

PA3_NAME

public static final java.lang.String PA3_NAME
See Also:
Constant Field Values

CLEAR_NAME

public static final java.lang.String CLEAR_NAME
See Also:
Constant Field Values

ATTN_NAME

public static final java.lang.String ATTN_NAME
See Also:
Constant Field Values

SYSREQ_NAME

public static final java.lang.String SYSREQ_NAME
See Also:
Constant Field Values

CURSOR_SELECT_NAME

public static final java.lang.String CURSOR_SELECT_NAME
See Also:
Constant Field Values

UP_ARROW_NAME

public static final java.lang.String UP_ARROW_NAME
See Also:
Constant Field Values

DOWN_ARROW_NAME

public static final java.lang.String DOWN_ARROW_NAME
See Also:
Constant Field Values

LEFT_ARROW_NAME

public static final java.lang.String LEFT_ARROW_NAME
See Also:
Constant Field Values

RIGHT_ARROW_NAME

public static final java.lang.String RIGHT_ARROW_NAME
See Also:
Constant Field Values

HOME_NAME

public static final java.lang.String HOME_NAME
See Also:
Constant Field Values

NEWLINE_NAME

public static final java.lang.String NEWLINE_NAME
See Also:
Constant Field Values

TAB_NAME

public static final java.lang.String TAB_NAME
See Also:
Constant Field Values

BACK_TAB_NAME

public static final java.lang.String BACK_TAB_NAME
See Also:
Constant Field Values

DELETE_NAME

public static final java.lang.String DELETE_NAME
See Also:
Constant Field Values

INSERT_NAME

public static final java.lang.String INSERT_NAME
See Also:
Constant Field Values

ERASE_EOF_NAME

public static final java.lang.String ERASE_EOF_NAME
See Also:
Constant Field Values

ERASE_INPUT_NAME

public static final java.lang.String ERASE_INPUT_NAME
See Also:
Constant Field Values

DUPLICATE_NAME

public static final java.lang.String DUPLICATE_NAME
See Also:
Constant Field Values

BACKSPACE_NAME

public static final java.lang.String BACKSPACE_NAME
See Also:
Constant Field Values

RESET_NAME

public static final java.lang.String RESET_NAME
See Also:
Constant Field Values
Method Detail

find

public static Key find(java.lang.String name)
Find a key with the given name.

Parameters:
name - Name of key.
Returns:
Key if found; null otherwise.

find

public static Key find(int id)
Find a key with the given ID.

Parameters:
id - ID of key.
Returns:
Key if found; null otherwise.

getId

public abstract int getId()

toString

public abstract java.lang.String toString()