com.jagacy.ui
Class KeyAction

java.lang.Object
  extended bycom.jagacy.ui.KeyAction

public class KeyAction
extends java.lang.Object

Associates a key with an action.

Since:
Jagacy 3270 1.4, Jagacy VT 1.1
Author:
Robert M. Preston

Field Summary
static int BLINK_ACTION
           
static int REFRESH_ACTION
           
 
Constructor Summary
KeyAction(int action, java.lang.String desc)
          Creates a KeyAction object.
KeyAction(Key key)
          Creates a KeyAction object.
KeyAction(Key key, boolean isWait)
          Creates a KeyAction object.
KeyAction(Key key, int action)
          Creates a KeyAction object.
KeyAction(java.lang.String symbol, java.lang.String desc)
          Creates a KeyAction object.
 
Method Summary
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

BLINK_ACTION

public static final int BLINK_ACTION
See Also:
Constant Field Values

REFRESH_ACTION

public static final int REFRESH_ACTION
See Also:
Constant Field Values
Constructor Detail

KeyAction

public KeyAction(Key key)
Creates a KeyAction object.

Parameters:
key - Key to send.

KeyAction

public KeyAction(Key key,
                 boolean isWait)
Creates a KeyAction object.

Parameters:
key - Key to send.
isWait - true if UI should wait; false otherwise.

KeyAction

public KeyAction(Key key,
                 int action)
Creates a KeyAction object.

Parameters:
key - Key to send.
action - Action constant.

KeyAction

public KeyAction(int action,
                 java.lang.String desc)
Creates a KeyAction object.

Parameters:
action - Action constant.
desc - Description of key.

KeyAction

public KeyAction(java.lang.String symbol,
                 java.lang.String desc)
Creates a KeyAction object.

Parameters:
symbol - Character symbol to send.
desc - Description of key.
Method Detail

toString

public java.lang.String toString()