Designer 10.5 | webMethods Mobile Development | User Interface Object Reference | Objects to Use for User Interface Controls
 
Objects to Use for User Interface Controls
 
Button Properties
ButtonGroup Properties
CheckBox Properties
Container Properties
DateEntry Properties
DropDownListEntry Properties
DynamicDisplayObject Properties
DynamicDisplayObjectArray Properties
DynamicDropdownlistEntryItems Properties
EndlessScrolling Properties
Entry Properties
FloatingEntry Properties
Image Properties
NavButton Properties
Pagination Properties
ProgressAnim Properties
RadioButton Properties
SearchEntry Properties
SearchNavButton Properties
StringDropdownlistEntry Properties
SwipeButton Properties
Tab Properties
Textfield Properties
WebViewElement Properties
The following table provides descriptions of user interface controls that you can display in an application’s view.
Object
Description
Button
Displays a single button that contains a text label.
For information about setting properties for the Button object, see Button Properties.
Button Group
Creates a container that holds a group of buttons.
To specify the buttons to include in the group, add Button objects as children of the ButtonGroup object.
For information about setting properties for the Button Group object, see ButtonGroup Properties.
Checkbox
Displays a check box.
For information about setting properties for the Checkbox object, see CheckBox Properties.
Container
Creates a container that holds other user interface objects.
To specify user interface objects that you want to display in the container, add the objects as children of the Container object.
You can set the Container object’s properties to allow scrolling. For example, you might use a container to hold long pieces of text that exceed the viewable area, allowing the user to scroll through the text.
For information about setting properties for the Container object, see Container Properties.
DateEntry
Displays a date or time selector control.
For information about setting properties for the DateEntry object, see DateEntry Properties.
DropDownListEntry
Displays a drop-down list that contains selection items.
To define the items in the drop-down, add one or more StringDropDownListEntryItem objects or a single DynamicDropDownListEntryItem object as children of the DropDownListEntry object.
For information about setting properties for the DropDownListEntry object, see DropDownListEntry Properties.
DynamicDisplayObject
Name of a method you code to display a user interface object.
For information about setting properties for the DynamicDisplayObject object, see DynamicDisplayObject Properties.
DynamicDisplayObjectArray
Name of a method you code to display an array of user interface objects. For information about setting properties for the DynamicDisplayObject object, see DynamicDisplayObject Properties.
For information about setting properties for the DynamicDisplayObjectArray object, see DynamicDisplayObjectArray Properties.
DynamicDropDownListEntryItem
Specifies a method that executes at run time to provide the list of entries to display in the drop-down list. A DynamicDropDownListEntryItem object is the child of a DropDownListEntry object.
For information about setting properties for the DynamicDropDownListEntryItem object, see DynamicDropdownlistEntryItems Properties.
EndlessScrolling
This is a modern approach to replace the pagination pattern: When a large amount of elements is to be displayed in a ListView, only the first few elements are loaded to increase performance and usability. Once the user scrolls down to the end of the displayed elements, the next elements are loaded automatically without refreshing the view by calling AbstractListViewController#onScrollThresholdReached(). You must override this method in the [ViewName]ControllerImpl class and implement a mechanism to load the required additional data, e.g., by increasing a pageNumber and using this number in your data source or REST request.
For information about setting properties for the EndlessScrolling object, see EndlessScrolling Properties.
Entry
Displays a text entry box.
You can set the Entry object’s Input Type property to:
*Restrict the user input to alphanumeric characters or only numbers.
*Mask the field’s contents, making the field suitable for a user to enter passwords or personal identifier numbers (PINs).
For information about setting properties for the Entry object, see Entry Properties.
FloatingEntry
Displays a text entry box similar to the Entry object, but offers far more possibilities to customize the user interface and functionality. You can specify hint icons, error text and even a validator. For more information about the validator, see StringValidator Properties.
For information about setting properties for the FloatingEntry object, see FloatingEntry Properties.
Image
Displays an image.
To specify the image that you want to display, set the Image object’s Image property.
You can use an Image object as a button if you add a TriggerListener object as a child object.
For information about setting properties for the Image object, see Image Properties.
NavButton
Displays a button that an application uses for navigation.
For information about setting properties for the NavButton object, see NavButton Properties.
Pagination
Adds objects that a user selects to display the next or previous page of list items in a ListView.
For information about setting properties for the Pagination object, see Pagination Properties.
ProgressAnim
Displays an animated status indicator that indicates background activity is in progress.
For information about setting properties for the ProgressAnim object, see ProgressAnim Properties.
PullToRefresh
Allows reloading of the ListView content by dragging the first rows of the ListView downwards.
This object has no properties.
RadioButton
Displays a single radio button that uses two states, selected or cleared.
For information about setting properties for the RadioButton object, see RadioButton Properties.
SearchEntry
Displays a search entry field.
For information about setting properties for the SearchEntry object, see SearchEntry Properties.
SearchNavButton
Offers a search functionality that is embedded in the header. Similar as a NavButton, it can be used in all kinds of views that offer a header. It has two states: showing a search icon or showing the search text input field.
To start a search, an ISearchFieldListener must be programmatically added to the SearchNavButton. For more information, see Configuring the SearchNavButton Object.
For information about setting properties for the SearchNavButton object, see SearchNavButton Properties.
StringDropDownListEntryItem
Adds a single entry to a drop-down list. A StringDropDownListEntryItem object is the child of a DropDownListEntry object.
For information about setting properties for the StringDropDownListEntryItem object, see StringDropdownlistEntry Properties.
SwipeButton
Can be added to a TemplateAssignment in a ListView and is shown when the user swipes an element in the ListView to the left or to the right.
To define the action after clicking one of these buttons, you must implement the onActionButtonClicked() method in the [ViewName]ViewControllerImpl class. For more information, see Configuring the SwipeButton Object.
For information about setting properties for the SwipeButton object, see SwipeButton Properties.
SwipeRemove
Allows selecting an element by swiping and have it removed from the ListView.
For the selected element to be deleted, you must implement the onSwiped() method in the [ViewName]ViewControllerImpl class. For more information, see Configuring the SwipeRemove Object.
This object has no properties.
Textfield
Displays plain text in a label or for a block of text.
For information about setting properties for the Textfield object, see Textfield Properties.
WebViewElement
Use to display rich Web content from a local file or by specifying the URL of the content to display.
For information about setting properties for the WebViewElement object, see WebViewElement Properties.
Related Topics