com.sun.emp.pathway.bean
Class TerminalEvent
java.lang.Object
java.util.EventObject
com.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
.
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. |
HOST_CHANGED_SCREEN
public static final int HOST_CHANGED_SCREEN
- See Also:
- Constant Field Values
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.