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

java.lang.Object
  |
  +--java.util.EventObject
        |
        +--com.ibm.eNetwork.beans.HOD.event.HODEvent
              |
              +--com.ibm.eNetwork.beans.HOD.event.PSEvent
All Implemented Interfaces:
java.io.Serializable

public class PSEvent
extends com.ibm.eNetwork.beans.HOD.event.HODEvent

The presentation space event. This event is fired to PSListeners when something in the presentation space has changed. The change may be a new cursor location, a new screen from the host, keys typed by the user, or changes resulting from API method calls.

This event contains a dirty area. The dirty area is the start and end locations of the data that changed within the presentation space. Use the getStart() and getEnd() methods to determine the dirty area for this event.

See Also:
PSListener, Session, Terminal, ECLPS

See Also:
Serialized Form

Constructor Summary
PSEvent(java.lang.Object src, com.ibm.eNetwork.ECL.event.ECLPSEvent evt)
          Constructs a new PSEvent with the specified source and based on the specified ECLPSEvent.
 
Method Summary
 boolean getCursorVisible()
          Returns whether the cursor is visible.
 int getEnd()
          Returns the end of the dirty area.
 com.ibm.eNetwork.ECL.ECLPS getPS()
          Returns the base ECLPS object associated with this event.
 int getStart()
          Returns the start of the dirty area.
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PSEvent

public PSEvent(java.lang.Object src,
               com.ibm.eNetwork.ECL.event.ECLPSEvent evt)
Constructs a new PSEvent with the specified source and based on the specified ECLPSEvent.

See Also:
ECLPSEvent
Method Detail

getPS

public final com.ibm.eNetwork.ECL.ECLPS getPS()
Returns the base ECLPS object associated with this event.

See Also:
ECLPS

getStart

public int getStart()
Returns the start of the dirty area. This is the linear position of the first character from the start of the presentation space that has changed.

getEnd

public int getEnd()
Returns the end of the dirty area. This is the linear position of the last character from the end of the presentation space that has changed.

getCursorVisible

public boolean getCursorVisible()
Returns whether the cursor is visible.