Mobile Development 10.11 | webMethods Mobile SuiteWeb Help | webMethods Mobile Development Help | User Interface Object Reference | Objects to Use for Event Listeners
 
Objects to Use for Event Listeners
 
RowSelectionListener Properties
StringValidator Properties
SwipeListener Properties
The following table provides descriptions of user interface objects that you can include in the model to add listeners to an application. The objects generate a user-initiated event when the user performs the action, such as when a user presses a button.
For more information on the supported listeners, see Responding to User-Initiated Events.
Object
Description
CompletedEditListener
Listens for, when a user edits an object, for example an entry field, and generates an event when the user ends the editing. End of editing means closing the keyboard or focusing another UI element.
This object has no properties.
GainFocusListener
Generates a user-initiated event when a user interface object gains focus.
For example, if you want to generate a user-initiated event when an entry field gains focus because the user selects the entry field, add a GainFocusListener object as a child of the Entry object.
This object has no properties.
LoseFocusListener
Generates a user-initiated event when a user interface object loses focus.
For example, if you want to generate a user-initiated event when an entry field loses focus because the user stops selecting the entry field by selecting another user interface control, add a LoseFocusListener object as a child of the Entry object.
This object has no properties.
PostEditListener
Generates a user-initiated event after a user edits an object.
Note:
In the case of keyboard entry, a new event is generated for each character typed or deleted.
For example, if you want to generate a user-initiated event after a user types an entry in a SearchEntry object, add a PostEditListener object as a child of the SearchEntry object.
This object has no properties.
PreEditListener
Generates a user-initiated event when a user is about to edit an object.
For example, if you want to generate a user-initiated event when a user is about to type text in a SearchEntry object, add a PreEditListener object as a child of the SearchEntry object.
This object has no properties.
RowSelectionListener
Generates a user-initiated event when a user selects a row.
A RowSelectionListener is the child of a ContentProvider object.
For information about setting properties for the RowSelection object, see RowSelectionListener Properties.
StringValidatorListener
Checks the input of an element in real time.
For information about setting properties for the StringValidator object, see StringValidator Properties.
SwipeListener
Generates a user-initiated event when a user swipes to the left or right.
A SwipeListener is the child of a View object.
For information about setting properties for the SwipeListener object, see SwipeListener Properties.
TriggerListener
Generates a user-initiated event after a user uses an object.
For example, if you want to generate a user-initiated event after a user presses a Button object, add a TriggerListener object as a child of the Button object.
Note:
If you add a TriggerListener as the child of an Image object, the image acts as a button.
This object has no properties.