* controls (Translation of Forte Event Handler)<p>
* <p>
* @return EventRegistration
*/
public EventRegistration controls() {
EventRegistration qq_resultRegistration = new EventRegistration();
// ---------------------
// self.<PrintBtn>.Click
// ---------------------
qq_resultRegistration.addRegistration( ClientEventManager.register(
this.getqq_PrintBtn(), "Click",
new EventRegistrationCallback("PushButton_Click_getqq_PrintBtn") {
/**
* 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 ================
Textfields.this.eventPrint();
// ================= End Forte Event Handler Translation =================
}
finally {
CursorMgr.endEvent();
}
return qq_HandlerResult;
}
}) );
// ------------------------
// self.<SetData1Btn>.Click
// ------------------------
qq_resultRegistration.addRegistration( ClientEventManager.register(
this.getqq_SetData1Btn(), "Click",
new EventRegistrationCallback("PushButton_Click_getqq_SetData1Btn") {
/**
* 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 ================
Textfields.this.eventSetData(DataFactory.SET_ONE);
// ================= End Forte Event Handler Translation =================
}
finally {
CursorMgr.endEvent();
}
return qq_HandlerResult;
}
}) );
// ------------------------
// self.<SetData2Btn>.Click
// ------------------------
qq_resultRegistration.addRegistration( ClientEventManager.register(
this.getqq_SetData2Btn(), "Click",
new EventRegistrationCallback("PushButton_Click_getqq_SetData2Btn") {
/**
* handleEvent is called when the event is received. If this method returns false, the enclosing event loop will abort
*/