Package | Description |
---|---|
com.softwareag.mobile.runtime.toolkit.delegates | |
com.softwareag.mobile.runtime.toolkit.ui |
Modifier and Type | Method and Description |
---|---|
com.softwareag.mobile.runtime.nui.nUIDisplayObject |
IListViewDelegate.getCell(ListView listView,
int rowIndex)
For every row in the
ListView this method is called to return the
actual cell object to be displayed at the given index. |
java.lang.Object |
IListViewDelegate.getCell(ListView listView,
java.lang.Object cachedCell,
int rowIndex)
This method enables Android users to reuse existing cells.
|
int |
IListViewDelegate.getEditingStyleForRow(ListView listView,
int rowIndex)
Returns the editing style for a given row index.
|
java.lang.String |
IListViewDelegate.getEditingText(ListView listView,
int rowIndex)
Returns the text used for the edit button provided by
IListViewDelegate.EDITING_STYLE_SWIPE_EDIT_LEFT . |
int |
IListViewDelegate.getMaxNumberPaginationRows(ListView listView)
Returns the maximum number of cells on one page of a
ListView . |
int |
IListViewDelegate.getNumberOfRows(ListView listView)
Use to return the number of cells (rows) the
ListView needs to
display. |
com.softwareag.mobile.runtime.nui.nUIDisplayObject |
IListViewDelegate.getPaginationNextPageCell(ListView listView,
int pageIndex)
Use to provide a cell that is displayed to navigate to the next page, if
pagination is enabled for the calling
ListView . |
com.softwareag.mobile.runtime.nui.nUIDisplayObject |
IListViewDelegate.getPaginationPreviousPageCell(ListView listView,
int pageIndex)
Use to provide a cell that is displayed to navigate to the previous page,
if pagination is enabled for the calling
ListView . |
com.softwareag.mobile.runtime.nui.nUIElementDisplay |
IListViewDelegate.getSeparator(ListView listView,
int rowIndex)
Use to return the separator for a given index of cell in a
ListView . |
boolean |
IListViewDelegate.isHeaderVisible(ListView listView)
This method is called to determine if a configured header should be added
to the ListView.
|
void |
IListViewDelegate.onRowEdit(ListView listView,
int rowIndex)
Will be called after the user pressed the edit button provided by the
style
IListViewDelegate.EDITING_STYLE_SWIPE_EDIT_LEFT . |
void |
IListViewDelegate.onRowGainFocus(ListView listView,
int rowIndex)
Use this method to handle focusing of the cell.
|
void |
IListViewDelegate.onRowLoseFocus(ListView listView,
int rowIndex)
Use this method to handle defocusing of the cell.
|
void |
IListViewDelegate.onRowMoved(ListView listView,
int sourceIndex,
int destinationIndex)
Will be called after the position of a cell was changed in the
ListView when setSortEnabled(boolean) is
set to true . |
void |
IListViewDelegate.onRowSelect(ListView listView,
int rowIndex)
Use this method to handle selection of the cell.
|
boolean |
IListViewDelegate.usesPagination(ListView listView)
Use to make the
ListView automatically use pagination to display
only a maximum number of rows at once. |
Modifier and Type | Class and Description |
---|---|
class |
NativeListView
The
NativeListView is a stub for native code injection which
inherits from ListView . |