|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.eNetwork.ECL.event.ECLEvent | +--com.ibm.eNetwork.ECL.event.ECLPSEvent
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).
ECLPS.RegisterPSEvent(com.ibm.eNetwork.ECL.event.ECLPSListener)
,
ECLPSListener
Constructor Summary | |
---|---|
ECLPSEvent(java.lang.Object source)
Constructor for generating a new ECLPSEvent. |
|
ECLPSEvent(java.lang.Object source,
int type)
Constructor for generating a new ECLPSEvent with a specific type. |
Method Summary | |
---|---|
boolean |
GetCursorVisible()
Returns whether the cursor is visible. |
int |
GetEnd()
Returns the ending linear position of the changed area. |
int |
GetEndCol()
Returns the ending column of the changed area. |
int |
GetEndRow()
Returns the ending row of the changed area. |
ECLPS |
GetPS()
Returns the ECLPS object associated with this event. |
int |
GetStart()
Returns the starting linear position of the changed area. |
int |
GetStartCol()
Returns the starting column of the changed area. |
int |
GetStartRow()
Returns the starting row of the changed area. |
int |
GetType()
Returns the type of this event. |
Methods inherited from class com.ibm.eNetwork.ECL.event.ECLEvent |
---|
GetSource, toString |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public ECLPSEvent(java.lang.Object source)
source
- The source of the event.public ECLPSEvent(java.lang.Object source, int type)
source
- The source of the event.type
- Either ECLPS.USER_EVENTS or ECLPS.HOST_EVENTS.Method Detail |
public int GetType()
public ECLPS GetPS()
public int GetStart()
public int GetStartRow()
public int GetStartCol()
public int GetEnd()
public int GetEndRow()
public int GetEndCol()
public boolean GetCursorVisible()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |