Package com.hp.lft.sdk.winforms
Interface ListBase<T>
- Type Parameters:
T- the item type
public interface ListBase<T>
Base interface for some .NET Windows Forms list objects.
-
Method Summary
Modifier 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 this list by item index.voidactivateItem(String item) Activates (double-clicks) the specified item in this list.voidactivateItem(String item, MouseButton button) Activates (double-clicks) the specified item in this list.voidactivateItem(T item) Activates (double-clicks) the specified item in this list.voidactivateItem(T item, MouseButton button) Activates (double-clicks) the specified item in this list.voiddeselect(int... itemIndices) Deselect a list of items by items indices.voidDeselect a list of items.voidDeselect a list of items.voidextendSelect(int... itemIndices) Selects additional items from the multi-selection list, by index.voidextendSelect(String... items) Selects additional items from the multi-selection list, by name.voidextendSelect(T... items) Selects additional items from the multi-selection list, by items.Returns the tooltip text of the error icon associated with this object.Returns the item with the given text.getItems()Returns the items in the list.Returns the selected items in the list.voidselect(int... itemIndices) Selects a list of items by items indices.voidSelects a list of items.voidSelects a list of items.voidselectRange(int itemIndexLast) Selects all list items between the currently selected item and the specified item.voidselectRange(int indexFrom, int indexTo) Selects all list items between (and including) the two specified items.voidselectRange(String itemNameLast) Selects all list items between the currently selected item and the specified item.voidselectRange(String itemFrom, String itemTo) Selects all list items between (and including) the two specified items.voidselectRange(T itemLast) Selects all list items between the currently selected item and the specified item.voidselectRange(T itemFrom, T itemTo) Selects all list items between (and including) the two specified items.
-
Method Details
-
activateItem
Activates (double-clicks) the specified item in this list.- Parameters:
item- the item to activatebutton- the mouse button used to select the list item- Throws:
GeneralLeanFtException- if error occurs during execution
-
activateItem
Activates (double-clicks) the specified item in this list.- Parameters:
item- the itembutton- the mouse button used to select the list item- Throws:
GeneralLeanFtException- if error occurs during execution
-
activateItem
Activates (double-clicks) the specified item in this list by item index.- Parameters:
itemIndex- the indexbutton- the mouse button used to select the list item- Throws:
GeneralLeanFtException- if error occurs during execution
-
activateItem
Activates (double-clicks) the specified item in this list.- Parameters:
item- the item to activate- Throws:
GeneralLeanFtException- if error occurs during execution
-
activateItem
Activates (double-clicks) the specified item in this list.- Parameters:
item- the item to activate- Throws:
GeneralLeanFtException- if error occurs during execution
-
activateItem
Activates (double-clicks) the specified item in the list by item index.- Parameters:
itemIndex- the index of the item to activate- Throws:
GeneralLeanFtException- if error occurs during execution
-
extendSelect
Selects additional items from the multi-selection list, by name.- Parameters:
items- the texts of the items to add to the selection.- Throws:
GeneralLeanFtException- if an error occurs during execution.
-
extendSelect
Selects additional items from the multi-selection list, by index.- Parameters:
itemIndices- the item indices to add to the selection.- Throws:
GeneralLeanFtException- if an error occurs during execution.
-
extendSelect
Selects additional items from the multi-selection list, by items.- Parameters:
items- the items to add to the selection.- Throws:
GeneralLeanFtException- if an error occurs during execution.
-
select
Selects a list of items.- Parameters:
items- the items to select- Throws:
GeneralLeanFtException- if error occurs during execution
-
select
Selects a list of items.- Parameters:
items- the texts of the items to select- Throws:
GeneralLeanFtException- if error occurs during execution
-
select
Selects a list of items by items indices.- Parameters:
itemIndices- the indices of the items to select- Throws:
GeneralLeanFtException- if error occurs during execution
-
selectRange
Selects all list items between the currently selected item and the specified item.- Parameters:
itemNameLast- the name of the last item to select.- Throws:
GeneralLeanFtException- if an error occurs during execution.
-
selectRange
Selects all list items between the currently selected item and the specified item.- Parameters:
itemIndexLast- the index of the last item to select.- Throws:
GeneralLeanFtException- if an error occurs during execution.
-
selectRange
Selects all list items between the currently selected item and the specified item.- Parameters:
itemLast- the last item to select.- Throws:
GeneralLeanFtException- if an error occurs during execution.
-
deselect
Deselect a list of items.- Parameters:
items- the items to deselect- Throws:
GeneralLeanFtException- if error occurs during execution
-
deselect
Deselect a list of items.- Parameters:
items- the texts of the items to deselect- Throws:
GeneralLeanFtException- if error occurs during execution
-
deselect
Deselect a list of items by items indices.- Parameters:
itemIndices- the indices of the items to deselect- Throws:
GeneralLeanFtException- if error occurs during execution
-
selectRange
Selects 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
-
selectRange
Selects all list items between (and including) the two specified items.- Parameters:
itemFrom- the name of the first item in the range.itemTo- the name of the last item of the range.- Throws:
GeneralLeanFtException- if error occurs during execution
-
selectRange
Selects all list items between (and including) the two specified items.- Parameters:
itemFrom- the first item in the range.itemTo- the last item of the range.- Throws:
GeneralLeanFtException- if error occurs during execution
-
getItem
Returns the item with the given text.- Parameters:
text- the text- Returns:
- the item with the given text.
- Throws:
GeneralLeanFtException- if error occurs during execution
-
getItems
Returns the items in the list.- Returns:
- the items in the list
- Throws:
GeneralLeanFtException- if error occurs during execution
-
getSelectedItems
Returns the selected items in the list.- Returns:
- the selected items
- Throws:
GeneralLeanFtException- if error occurs during execution
-
getErrorText
Returns the tooltip text of the error icon associated with this object.- Returns:
- the tooltip text of the error icon associated with this object.
- Throws:
GeneralLeanFtException- if error occurs during execution
-