* <p>
* @param pDataField Type: DataField
* @return EventRegistration
*/
public EventRegistration dataFieldEventWatcher(DataField pDataField) {
final ParameterHolder qq_pDataField = new ParameterHolder(pDataField);
EventRegistration qq_resultRegistration = new EventRegistration();
// ------------------------
// pDataField.AfterDeselect
// ------------------------
qq_resultRegistration.addRegistration( ClientEventManager.register(
(DataField)qq_pDataField.getObject(), "AfterDeselect",
new EventRegistrationCallback("DataField_AfterDeselect_DataFieldqq_pDataFieldgetObject") {
/**
* 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 ================
ValidatingWindow.this.dumpFieldState((DataField)qq_pDataField.getObject(), "AfterDeselect");
// ================= End Forte Event Handler Translation =================
}
finally {
CursorMgr.endEvent();
}
return qq_HandlerResult;
}
}) );
// ------------------------------
// pDataField.AfterFirstKeystroke
// ------------------------------
qq_resultRegistration.addRegistration( ClientEventManager.register(
(DataField)qq_pDataField.getObject(), "AfterFirstKeystroke",
new EventRegistrationCallback("DataField_AfterFirstKeystroke_DataFieldqq_pDataFieldgetObject") {
/**
* 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 ================
ValidatingWindow.this.dumpFieldState((DataField)qq_pDataField.getObject(), "AfterFirstKeystroke");
// ================= End Forte Event Handler Translation =================
}
finally {
CursorMgr.endEvent();
}
return qq_HandlerResult;
}
}) );
// -------------------------
// pDataField.AfterFocusGain
// -------------------------
qq_resultRegistration.addRegistration( ClientEventManager.register(
(DataField)qq_pDataField.getObject(), "AfterFocusGain",
new EventRegistrationCallback("DataField_AfterFocusGain_DataFieldqq_pDataFieldgetObject") {
/**
* 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 ================
ValidatingWindow.this.dumpFieldState((DataField)qq_pDataField.getObject(), "AfterFocusGain");
// ================= End Forte Event Handler Translation =================
}
finally {
CursorMgr.endEvent();
}
return qq_HandlerResult;
}
}) );
// ----------------------
// pDataField.AfterSelect
// ----------------------
qq_resultRegistration.addRegistration( ClientEventManager.register(
(DataField)qq_pDataField.getObject(), "AfterSelect",
new EventRegistrationCallback("DataField_AfterSelect_DataFieldqq_pDataFieldgetObject") {
/**
* 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 ================
ValidatingWindow.this.dumpFieldState((DataField)qq_pDataField.getObject(), "AfterSelect");
// ================= End Forte Event Handler Translation =================
}
finally {
CursorMgr.endEvent();
}
return qq_HandlerResult;
}
}) );
// ---------------------------
// pDataField.AfterValueChange
// ---------------------------
qq_resultRegistration.addRegistration( ClientEventManager.register(
(DataField)qq_pDataField.getObject(), "AfterValueChange",
new EventRegistrationCallback("DataField_AfterValueChange_DataFieldqq_pDataFieldgetObject") {
/**
* 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 ================
ValidatingWindow.this.dumpFieldState((DataField)qq_pDataField.getObject(), "AfterValueChange");
// ================= End Forte Event Handler Translation =================
}
finally {
CursorMgr.endEvent();
}
return qq_HandlerResult;
}
}) );
// --------------------------
// pDataField.BeforeFocusLoss
// --------------------------
qq_resultRegistration.addRegistration( ClientEventManager.register(
(DataField)qq_pDataField.getObject(), "BeforeFocusLoss",
new EventRegistrationCallback("DataField_BeforeFocusLoss_DataFieldqq_pDataFieldgetObject") {
/**
* 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 ================
ValidatingWindow.this.dumpFieldState((DataField)qq_pDataField.getObject(), "BeforeFocusLoss");
// ================= End Forte Event Handler Translation =================
}
finally {
CursorMgr.endEvent();
}
return qq_HandlerResult;
}
}) );
// ----------------
// pDataField.Click
// ----------------
qq_resultRegistration.addRegistration( ClientEventManager.register(
(DataField)qq_pDataField.getObject(), "Click",
new EventRegistrationCallback("DataField_Click_DataFieldqq_pDataFieldgetObject") {
/**
* 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 ================
ValidatingWindow.this.dumpFieldState((DataField)qq_pDataField.getObject(), "Click");
// ================= End Forte Event Handler Translation =================
}
finally {
CursorMgr.endEvent();
}
return qq_HandlerResult;
}
}) );
// ----------------------
// pDataField.ClickMiddle
// ----------------------
qq_resultRegistration.addRegistration( ClientEventManager.register(
(DataField)qq_pDataField.getObject(), "ClickMiddle",
new EventRegistrationCallback("DataField_ClickMiddle_DataFieldqq_pDataFieldgetObject") {
/**
* 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 ================
ValidatingWindow.this.dumpFieldState((DataField)qq_pDataField.getObject(), "ClickMiddle");
// ================= End Forte Event Handler Translation =================
}
finally {
CursorMgr.endEvent();
}
return qq_HandlerResult;
}
}) );
// ---------------------
// pDataField.ClickOuter
// ---------------------
qq_resultRegistration.addRegistration( ClientEventManager.register(
(DataField)qq_pDataField.getObject(), "ClickOuter",
new EventRegistrationCallback("DataField_ClickOuter_DataFieldqq_pDataFieldgetObject") {
/**
* 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 ================
ValidatingWindow.this.dumpFieldState((DataField)qq_pDataField.getObject(), "ClickOuter");
// ================= End Forte Event Handler Translation =================
}
finally {
CursorMgr.endEvent();
}
return qq_HandlerResult;
}
}) );
// ----------------------
// pDataField.DoubleClick
// ----------------------
qq_resultRegistration.addRegistration( ClientEventManager.register(
(DataField)qq_pDataField.getObject(), "DoubleClick",
new EventRegistrationCallback("DataField_DoubleClick_DataFieldqq_pDataFieldgetObject") {
/**
* 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 ================
ValidatingWindow.this.dumpFieldState((DataField)qq_pDataField.getObject(), "DoubleClick");
// ================= End Forte Event Handler Translation =================
}
finally {
CursorMgr.endEvent();
}
return qq_HandlerResult;
}
}) );
// ---------------------
// pDataField.MouseEnter
// ---------------------
qq_resultRegistration.addRegistration( ClientEventManager.register(
(DataField)qq_pDataField.getObject(), "MouseEnter",
new EventRegistrationCallback("DataField_MouseEnter_DataFieldqq_pDataFieldgetObject") {
/**
* 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 ================
ValidatingWindow.this.dumpFieldState((DataField)qq_pDataField.getObject(), "MouseEnter");
// ================= End Forte Event Handler Translation =================
}
finally {
CursorMgr.endEvent();
}
return qq_HandlerResult;
}
}) );
// ---------------------
// pDataField.MouseLeave
// ---------------------
qq_resultRegistration.addRegistration( ClientEventManager.register(
(DataField)qq_pDataField.getObject(), "MouseLeave",
new EventRegistrationCallback("DataField_MouseLeave_DataFieldqq_pDataFieldgetObject") {
/**
* 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 ================
ValidatingWindow.this.dumpFieldState((DataField)qq_pDataField.getObject(), "MouseLeave");
// ================= End Forte Event Handler Translation =================
}
finally {
CursorMgr.endEvent();
}