All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.ibm.eNetwork.beans.HOD.event.SendKeyEvent

java.lang.Object
   |
   +----java.util.EventObject
           |
           +----com.ibm.eNetwork.beans.HOD.event.HODEvent
                   |
                   +----com.ibm.eNetwork.beans.HOD.event.SendKeyEvent

public class SendKeyEvent
extends HODEvent
The send key event. Fired to SendKeyListeners, such as Session or Terminal, to send keystrokes and functions to the host. The event contains a string representing either one or more characters or functions in any combination. It also contains the java.awt.event.KeyEvent, if the SendKeyEvent was generated by the Screen bean. User generated SendKeyEvents can set the KeyEvent to null. The functions are formatted in the ECLPS.SendKeys() mnemonic keyword style.

See Also:
SendKeyListener, Screen, KeyPad, KeyRemap, ECLPS.SendKeys()


Constructor Index

 o SendKeyEvent(Object, String, KeyEvent)
Constructs a new send key event with the specified source and keys.

Method Index

 o getKeyEvent()
Get the java.awt.event.KeyEvent object associated with the SendKeyEvent object as set by the Screen bean.
 o getKeys()
Returns the keys or function associated with this event.

Constructors

 o SendKeyEvent
 public SendKeyEvent(Object source,
                     String keys,
                     KeyEvent ke)
Constructs a new send key event with the specified source and keys. The java.awt.event.KeyEvent can be used to let SendKeyListeners know the actual key pressed that generated this SendKeyEvent, though it is not necessary.

Parameters:
source - The source of the SendKeyEvent.
keys - The SendKey string.
ke - The java.awt.event.KeyEvent. This can be null.

Methods

 o getKeys
 public String getKeys()
Returns the keys or function associated with this event.

 o getKeyEvent
 public KeyEvent getKeyEvent()
Get the java.awt.event.KeyEvent object associated with the SendKeyEvent object as set by the Screen bean. Note that this method can return null.


All Packages  Class Hierarchy  This Package  Previous  Next  Index