Package com.hp.lft.sdk.sap.ui5
Interface MobileListBehavior
public interface MobileListBehavior
Mobile functionality provided for SAPUI5 lists. See
ListBox.getMobile().-
Method Summary
Modifier and TypeMethodDescriptionvoiddelete(int itemIndex) Deletes the specified item (by index) from the list.voidDeletes the specified item from the list.voidDeletes the specified item (by name) from the list.Returns an item with the specified text.getItems()Returns all items in the listReturns a collection of all selected items in the list.voidmore()Clicks the More button to expand the list and show additional list items.voidsingleSelect(int itemIndex) Selects the specified radio button (by index) adjacent to the list item.voidsingleSelect(ListItem item) Selects the specifiedListItemitem in the list item.voidsingleSelect(String item) Selects the specified radio button (by name) adjacent to the list item.
-
Method Details
-
getItems
Returns all items in the list- Returns:
- all items in the list.
- Throws:
GeneralLeanFtException- if error occurs during execution
-
getSelectedItems
Returns a collection of all selected items in the list.- Returns:
- a collection of all selected items in the list.
- Throws:
GeneralLeanFtException- if error occurs during execution
-
getItem
Returns an item with the specified text.- Parameters:
text- the text of the item to return.- Returns:
- an item with the specified text.
- Throws:
GeneralLeanFtException- if error occurs during execution
-
singleSelect
Selects the specified radio button (by name) adjacent to the list item.- Parameters:
item- the name of the radio button to select.- Throws:
GeneralLeanFtException- if error occurs during execution
-
singleSelect
Selects the specified radio button (by index) adjacent to the list item.- Parameters:
itemIndex- the index of the radio button to select.- Throws:
GeneralLeanFtException- if error occurs during execution
-
singleSelect
Selects the specifiedListItemitem in the list item.- Parameters:
item- theListItemitem to select.- Throws:
GeneralLeanFtException- if error occurs during execution
-
delete
Deletes the specified item (by index) from the list.- Parameters:
itemIndex- index of item to delete.- Throws:
GeneralLeanFtException- if error occurs during execution
-
delete
Deletes the specified item (by name) from the list.- Parameters:
item- the name of the item to delete.- Throws:
GeneralLeanFtException- if error occurs during execution
-
delete
Deletes the specified item from the list.- Parameters:
item- theListItemitem to delete.- Throws:
GeneralLeanFtException- if error occurs during execution
-
more
Clicks the More button to expand the list and show additional list items.- Throws:
GeneralLeanFtException- if error occurs during execution
-