* events (Translation of Forte Event Handler)<p>
* <p>
* @return EventRegistration
*/
public EventRegistration events() {
EventRegistration qq_resultRegistration = new EventRegistration();
// -------------
// <other>.click
// -------------
qq_resultRegistration.addRegistration( ClientEventManager.register(
this.getqq_other(), "Click",
new EventRegistrationCallback("PushButton_Click_getqq_other") {
/**
* handleEvent is called when the event is received. If this method returns false, the enclosing event loop will abort
*/
public boolean handleEvent(EventHandle qq_currentEvent) {
boolean qq_HandlerResult = true;
try {
CursorMgr.startEvent();
// ================ Begin Forte Event Handler Translation ================
new Boss.AsyncRunner().display(new B());
// ================= End Forte Event Handler Translation =================
}
finally {
CursorMgr.endEvent();
}
return qq_HandlerResult;
}
}) );
// ----------------------
// theNotify.StatusChange
// ----------------------
qq_resultRegistration.addRegistration( ClientEventManager.register(
this.theNotify, Notify.cEVENT_STATUS_CHANGE,
new EventRegistrationCallback("Notify_StatusChange_theNotify") {
/**
* handleEvent is called when the event is received. If this method returns false, the enclosing event loop will abort
*/