|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The ECLPSListener interface can be used to implement an object which will receive ECLPSEvents. Events are generated whenever the presentation space is updated. The presentation space can be updated by the host (when a new screen is sent) or through keyboard input. Special events are generated when event generation stops and when errors occur during event generation.
ECLPSListeners can be registered for either host, user, or all event types. 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().
To be notified of PS events, the application must:
ECLPS.RegisterPSEvent(com.ibm.eNetwork.ECL.event.ECLPSListener)
,
ECLPSEvent
Method Summary | |
---|---|
void |
PSNotifyError(ECLPS ps,
ECLErr err)
The PSNotifyError() method is called whenever the ECLPS object detects an error during event generation. |
void |
PSNotifyEvent(ECLPSEvent evt)
The PSNotifyEvent() method is called whenever the presentation space is updated. |
void |
PSNotifyStop(ECLPS ps,
int reason)
The PSNotifyStop() method is called when event generation is stopped for any reason. |
Method Detail |
public void PSNotifyEvent(ECLPSEvent evt)
An application should not assume it will receive a distinct event for every update. An update event is defined as one or more changes in the PS since the last time an event was generated (or since registration, if there was no prior update event).
evt
- The ECLPSEvent object.public void PSNotifyStop(ECLPS ps, int reason)
ps
- The object which generated the event.reason
- This parameter is not currently used.public void PSNotifyError(ECLPS ps, ECLErr err)
ps
- The object which generated the event.err
- The ECLErr object containing error data.ECLErr
,
PSNotifyStop(com.ibm.eNetwork.ECL.ECLPS, int)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |