Package com.hp.lft.sdk.powerbuilder
Interface ListBase<T>
- Type Parameters:
- T- the specified item.
public interface ListBase<T>
Base interface for PowerBuilder list objects.
- 
Method SummaryModifier and TypeMethodDescriptionvoidactivateItem(int itemIndex) Activates (double-clicks) the specified item in the list by item index.voidactivateItem(int itemIndex, MouseButton button) Activates (double-clicks) the specified item in the list by item index.voidactivateItem(String item) Activates (double-clicks) the specified item in the list by item text.voidactivateItem(String item, MouseButton button) Activates (double-clicks) the specified item in the list by item text.voidactivateItem(T item) Activates (double-clicks) the specified generic item in the list.voidactivateItem(T item, MouseButton button) Activates (double-clicks) the specified generic item in the list.voiddeselect(int... itemIndices) Deselect a list of items by items indices.voidDeselect a list of items by items text.voidDeselects a list of items according to a generic list.voidextendSelect(int... itemIndices) Selects additional items from the multi-selection list.voidextendSelect(String... itemNames) Selects additional items from the multi-selection list.voidextendSelect(T... items) Selects additional items from the multi-selection list.Returns an item with the given text.getItems()Returns a collection of all items in the list.Returns all of the selected items in the list.voidselect(int... itemIndices) Selects a list of items by items indices.voidSelects a list of items by items text.voidSelects a list of items according to a generic list.voidselectRange(int indexTo) Selects all list items between an already selected item and the specified item with index passed as the argument.voidselectRange(int indexFrom, int indexTo) Selects all list items between (and including) the two specified items.voidselectRange(String itemTo) Selects all list items between an already selected item and the specified item with text passed as the argument.
- 
Method Details- 
activateItemActivates (double-clicks) the specified generic item in the list.- Parameters:
- item- the specified item to activate from the list.
- button- the mouse button used to select the list item. Possible values: see- MouseButton.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
activateItemActivates (double-clicks) the specified item in the list by item text.- Parameters:
- item- the specified item to activate from the list.
- button- the mouse button used to select the list item. Possible values: see- MouseButton
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
activateItemActivates (double-clicks) the specified item in the list by item index.- Parameters:
- itemIndex- the item index to activate.
- button- the mouse button used to select the list item. Possible values: see- MouseButton
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
activateItemActivates (double-clicks) the specified generic item in the list.- Parameters:
- item- the specified item to activate from the list.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
activateItemActivates (double-clicks) the specified item in the list by item text.- Parameters:
- item- the specified item to activate from the list.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
activateItemActivates (double-clicks) the specified item in the list by item index.- Parameters:
- itemIndex- the item index to activate.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
selectSelects a list of items according to a generic list.- Parameters:
- items- the items to select from the list.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
selectSelects a list of items by items text.- Parameters:
- items- the texts of items to select from the list.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
selectSelects a list of items by items indices.- Parameters:
- itemIndices- the item indices to select.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
deselectDeselects a list of items according to a generic list.- Parameters:
- items- the specified items to deselect from the list.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
deselectDeselect a list of items by items text.- Parameters:
- items- the texts of the items to deselect from the list.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
deselectDeselect a list of items by items indices.- Parameters:
- itemIndices- the item indices to deselect.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
selectRangeSelects all list items between (and including) the two specified items.- Parameters:
- indexFrom- the 0-based index of the first item in the range.
- indexTo- the 0-based index of the last item of the range.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
selectRangeSelects all list items between an already selected item and the specified item with index passed as the argument.
 This method is applicable only to lists that allow multiple selection.- Parameters:
- indexTo- the 0-based index of the last item of the range.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
selectRangeSelects all list items between an already selected item and the specified item with text passed as the argument.
 This method is applicable only to lists that allow multiple selection.- Parameters:
- itemTo- the text of the last item of the range.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
extendSelectSelects additional items from the multi-selection list.
 This method is applicable only to lists that allow multiple selection.- Parameters:
- items- the items to add to the selection.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
extendSelectSelects additional items from the multi-selection list.
 This method is applicable only to lists that allow multiple selection.- Parameters:
- itemIndices- the indices of the items to add to the selection.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
extendSelectSelects additional items from the multi-selection list.
 This method is applicable only to lists that allow multiple selection.- Parameters:
- itemNames- the names of the items to add to the selection.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
getItemReturns an item with the given text.- Parameters:
- text- the text of the specified item.
- Returns:
- an item with the given text.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
getItemsReturns a collection of all items in the list.- Returns:
- a collection of all items in the list.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
getSelectedItemsReturns all of the selected items in the list.- Returns:
- all of the selected items in the list.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
 
-