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 TypeMethodDescriptionvoid
delete
(int itemIndex) Deletes the specified item (by index) from the list.void
Deletes the specified item from the list.void
Deletes 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.void
more()
Clicks the More button to expand the list and show additional list items.void
singleSelect
(int itemIndex) Selects the specified radio button (by index) adjacent to the list item.void
singleSelect
(ListItem item) Selects the specifiedListItem
item in the list item.void
singleSelect
(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 specifiedListItem
item in the list item.- Parameters:
item
- theListItem
item 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
- theListItem
item 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
-