All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.ibm.eNetwork.ECL.event.ECLPSEvent

java.lang.Object
   |
   +----com.ibm.eNetwork.ECL.event.ECLEvent
           |
           +----com.ibm.eNetwork.ECL.event.ECLPSEvent

public class ECLPSEvent
extends ECLEvent
Event fired to notify listeners that something in the presentation space has changed. The change could be just a new cursor location, a new screen from the host, keys which were typed by the user, or text entered by another application via the API.

The event contains the coordinates of the changed area of the presentation space. It also contains the type of the event, either ECLPS.HOST_EVENTS or ECLPS.USER_EVENTS. Host events are generated as a result of host driven presentation space changes. User events are generated as a result of user input via ECLPS methods, like SendKeys().

The event does not actually contain the data associated with the presentation space changes. To access the changed data in the planes the event handler must call ECLPS.GetScreen(int, int, int).

See Also:
RegisterPSEvent, GetScreen, ECLPSListener

Constructor Index

 o ECLPSEvent(Object)
Constructor for generating a new ECLPSEvent.
 o ECLPSEvent(Object, int)
Constructor for generating a new ECLPSEvent with a specific type.

Method Index

 o GetCursorVisible()
Returns whether the cursor is visible.
 o GetEnd()
Returns the ending linear position of the changed area.
 o GetEndCol()
Returns the ending column of the changed area.
 o GetEndRow()
Returns the ending row of the changed area.
 o GetPS()
Returns the ECLPS object associated with this event.
 o GetStart()
Returns the starting linear position of the changed area.
 o GetStartCol()
Returns the starting column of the changed area.
 o GetStartRow()
Returns the starting row of the changed area.
 o GetType()
Returns the type of this event.

Constructors

 o ECLPSEvent
 public ECLPSEvent(Object source)
Constructor for generating a new ECLPSEvent.

Parameters:
source - The source of the event.
 o ECLPSEvent
 public ECLPSEvent(Object source,
                   int type)
Constructor for generating a new ECLPSEvent with a specific type.

Parameters:
source - The source of the event.
type - Either ECLPS.USER_EVENTS or ECLPS.HOST_EVENTS.

Methods

 o GetType
 public int GetType()
Returns the type of this event. The type is ECLPS.USER_EVENTS if it is generated by operator input or a method call such as ECLPS.SendKeys(). The type is ECLPS.HOST_EVENTS if it generated when the host updates the presentation space.

 o GetPS
 public ECLPS GetPS()
Returns the ECLPS object associated with this event.

 o GetStart
 public int GetStart()
Returns the starting linear position of the changed area.

 o GetStartRow
 public int GetStartRow()
Returns the starting row of the changed area.

 o GetStartCol
 public int GetStartCol()
Returns the starting column of the changed area.

 o GetEnd
 public int GetEnd()
Returns the ending linear position of the changed area.

 o GetEndRow
 public int GetEndRow()
Returns the ending row of the changed area.

 o GetEndCol
 public int GetEndCol()
Returns the ending column of the changed area.

 o GetCursorVisible
 public boolean GetCursorVisible()
Returns whether the cursor is visible.


All Packages  Class Hierarchy  This Package  Previous  Next  Index