EventRegistration PushButton_Click_getqq_insertARow = ClientEventManager.register( this.getqq_insertARow(), "Click" );
while (true) {
UIutils.processGUIActions();
EventHandle qq_currentEvent = EventManager.waitForEvent();
if (qq_currentEvent == null)
break;
// ------------------
// <aList>.ClickOuter
// ------------------
if (qq_currentEvent.isEvent(ArrayField_ClickOuter_getqq_aList)) {
try {
CursorMgr.startEvent();
// ================ Begin Forte Event Handler Translation ================
Logger.getLogger("task.part.logmgr").info("<aList>.ClickOuter");
// ================ End Forte Event Handler Translation ================
}
finally {
CursorMgr.endEvent();
}
}
// -----------------------
// <aList>.ChildClickOuter
// -----------------------
else if (qq_currentEvent.isEvent(ArrayField_ChildClickOuter_getqq_aList)) {
try {
CursorMgr.startEvent();
// ================ Begin Forte Event Handler Translation ================
Logger.getLogger("task.part.logmgr").info("<aList>.ChildClickOuter");
// ================ End Forte Event Handler Translation ================
}
finally {
CursorMgr.endEvent();
}
}
// -------------
// <aList>.Click
// -------------
else if (qq_currentEvent.isEvent(ArrayField_Click_getqq_aList)) {
try {
CursorMgr.startEvent();
// ================ Begin Forte Event Handler Translation ================
Logger.getLogger("task.part.logmgr").info("<aList>.Click");
// ================ End Forte Event Handler Translation ================
}
finally {
CursorMgr.endEvent();
}
}
// ------------------
// <aList>.ChildClick
// ------------------
else if (qq_currentEvent.isEvent(ArrayField_ChildClick_getqq_aList)) {
try {
CursorMgr.startEvent();
// ================ Begin Forte Event Handler Translation ================
JComponent child = (JComponent)((ParameterHolder)qq_currentEvent.getParameter("child")).getObject();
int x = ((ParameterHolder)qq_currentEvent.getParameter("x")).getInt();
int y = ((ParameterHolder)qq_currentEvent.getParameter("y")).getInt();
int modifier = ((ParameterHolder)qq_currentEvent.getParameter("modifier")).getInt();
int row = ((ParameterHolder)qq_currentEvent.getParameter("row")).getInt();
int column = ((ParameterHolder)qq_currentEvent.getParameter("column")).getInt();
Logger.getLogger("task.part.logmgr").info(new TextData().replaceParameters("<aList>.ChildClick(child = %1, x = %2, y = %3, modifier = %4, row = %5, column = %6)", Name.get(child), new IntegerData(x), new IntegerData(y), new IntegerData(modifier), new IntegerData(row), new IntegerData(column)));
// ================ End Forte Event Handler Translation ================
}
finally {
CursorMgr.endEvent();
}
}
// ---------------------------
// <aList[*].aDataField>.Click
// ---------------------------
else if (qq_currentEvent.isEvent(DataField_Click_getqq_aListArray_aDataField)) {
try {
CursorMgr.startEvent();
// ================ Begin Forte Event Handler Translation ================
Logger.getLogger("task.part.logmgr").info("<aList[*].aDataField>.Click");
// ================ End Forte Event Handler Translation ================
}
finally {
CursorMgr.endEvent();
}
}
// ----------------------------
// <aList[*].aPushButton>.Click
// ----------------------------
else if (qq_currentEvent.isEvent(PushButton_Click_getqq_aListArray_aPushButton)) {
try {
CursorMgr.startEvent();
// ================ Begin Forte Event Handler Translation ================
Logger.getLogger("task.part.logmgr").info("List button pushed");
// ================ End Forte Event Handler Translation ================
}
finally {
CursorMgr.endEvent();
}
}
// -----------------------------
// <aList1[*].aPushButton>.Click
// -----------------------------
else if (qq_currentEvent.isEvent(PushButton_Click_getqq_aList1Array_aPushButton)) {
try {
CursorMgr.startEvent();
// ================ Begin Forte Event Handler Translation ================
Logger.getLogger("task.part.logmgr").info("List1 button pushed");
// ================ End Forte Event Handler Translation ================
}
finally {
CursorMgr.endEvent();
}
}
// ------------------------------------
// <aList[*].aDropList>.beforefocusloss
// ------------------------------------
else if (qq_currentEvent.isEvent(DropList_BeforeFocusLoss_getqq_aListArray_aDropList)) {
try {
CursorMgr.startEvent();
// ================ Begin Forte Event Handler Translation ================
if (this.getAList().get(TableRow.get(this.getqq_aList())-1).getADropList() == 1) {
WindowManager.messageDialog(this, "Cannot be 1", 1, 50);
UIutils.purgeEvents();
}
// ================ End Forte Event Handler Translation ================
}
finally {
CursorMgr.endEvent();
}
}
// ---------------------------------------
// <aList[*].aFillinField>.beforefocusloss
// ---------------------------------------
else if (qq_currentEvent.isEvent(FillInField_BeforeFocusLoss_getqq_aListArray_aFillinField)) {
try {
CursorMgr.startEvent();
// ================ Begin Forte Event Handler Translation ================
if ("".equals(this.getAList().get(TableRow.get(this.getqq_aList())-1).getAFillinField())) {
WindowManager.messageDialog(this, "Cannot be blank", 1, 50);
UIutils.purgeEvents();
}
// ================ End Forte Event Handler Translation ================
}
finally {
CursorMgr.endEvent();
}
}
// --------------------------
// <aList[*].aCheckBox>.click
// --------------------------
else if (qq_currentEvent.isEvent(ToggleField_Click_getqq_aListArray_aCheckBox)) {
try {
CursorMgr.startEvent();
// ================ Begin Forte Event Handler Translation ================
WidgetState.set((JComponent)this.getqq_aListArray_aCheckBox(), Constants.FS_DISABLED);
Task.delay(500);
WidgetState.set((JComponent)this.getqq_aListArray_aCheckBox(), Constants.FS_UPDATE);
// ================ End Forte Event Handler Translation ================
}
finally {
CursorMgr.endEvent();
}
}
// -------------
// task.Shutdown
// -------------
else if (qq_currentEvent.isEvent(TaskHandle_Shutdown_langThreadcurrentThread)) {
try {
CursorMgr.startEvent();
// ================ Begin Forte Event Handler Translation ================
break;
// ================ End Forte Event Handler Translation ================
}
finally {
CursorMgr.endEvent();
}
}
// ------------------
// <insertARow>.click
// ------------------
else if (qq_currentEvent.isEvent(PushButton_Click_getqq_insertARow)) {
try {
CursorMgr.startEvent();
// ================ Begin Forte Event Handler Translation ================
this.getAList1().add(0);
// ================ End Forte Event Handler Translation ================