com.sun.emp.pathway.bean
Class TerminalEvent

java.lang.Object
  extended byjava.util.EventObject
      extended bycom.sun.emp.pathway.bean.TerminalEvent
All Implemented Interfaces:
Serializable

public class TerminalEvent
extends EventObject

An event that encapsultes an event occuring in a Terminal that cannot easily be described as being a property change.

Specifically, there is only one flavor that is raised whenever a datastream is received from the host, and it modifies the contents of a Terminal.


Field Summary
static int HOST_CHANGED_SCREEN
           
 
Method Summary
 int getID()
          Returns the event type.
 boolean hostUnlockedKeyboard()
          Returns true for a HOST_CHANGED_SCREEN event, where the keyboard lock state changed from locked to unlocked.
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

HOST_CHANGED_SCREEN

public static final int HOST_CHANGED_SCREEN
See Also:
Constant Field Values
Method Detail

getID

public int getID()
Returns the event type.

Returns:
the event type.

hostUnlockedKeyboard

public boolean hostUnlockedKeyboard()
Returns true for a HOST_CHANGED_SCREEN event, where the keyboard lock state changed from locked to unlocked.

Returns:
whether the keyboard was unlocked by the host.