Package com.hp.lft.sdk.uiapro
Interface SelectionPattern
public interface SelectionPattern
The methods and properties used to interact with a container control that contains selectable items.
The children of this element support the
SelectionItemPattern.-
Method Summary
Modifier and TypeMethodDescriptionbooleanDeprecated.Retrieves all the selected items from the container.
Note: This method is not supported when you enable the legacy UIA Pro Add-inboolean
-
Method Details
-
canSelectMultipleItems
- Returns:
- Indicates whether more than one item in the container can be selected at one time.
- Throws:
GeneralLeanFtException- if error occurs during execution.
-
isSelectionRequired
- Returns:
- Gets a value that specifies whether the container requires at least one child item to be selected.
- Throws:
GeneralLeanFtException- if error occurs during execution.
-
getSelectedChildrenAsUIObjects
Retrieves all the selected items from the container.
Note: This method is not supported when you enable the legacy UIA Pro Add-in- Returns:
- All selected items from the container.
- Throws:
GeneralLeanFtException- if error occurs during execution.
-
getSelectedChildren
Deprecated.Retrieves all the selected items from the container.
Note: This method is only supported when you enable the legacy UIA Pro Add-in- Returns:
- All selected items from the container.
- Throws:
GeneralLeanFtException- if error occurs during execution.
-