public class AutomationList extends AutomationBase
automation, element, user32| Constructor and Description |
|---|
AutomationList(AutomationElement element)
Constructor for the AutomationList
|
| Modifier and Type | Method and Description |
|---|---|
List<AutomationElement> |
getCurrentSelection()
Gets the current selection
|
AutomationListItem |
getItem(int index)
Gets the item associated with the index
|
AutomationListItem |
getItem(String name)
Gets the item associated with the name
|
createAndCondition, createAutomationIdPropertyCondition, createControlTypeCondition, createFalseCondition, createNamePropertyCondition, createOrCondition, createTrueCondition, findAll, findAll, findAll, findAllBuildCache, findFirst, findFirstBuildCache, getAcceleratorKey, getAriaRole, getBoundingRectangle, getClickablePoint, getExpandCollapsePattern, getFramework, getFrameworkId, getGridPattern, getInvokePattern, getItemStatus, getNativeWindowHandle, getOrientation, getProcessId, getProviderDescription, getRangePattern, getRuntimeId, getSelectionPattern, getSelectItemPattern, getTablePattern, getTextPattern, getTogglePattern, getValuePattern, getWindowPattern, isDockPatternAvailable, isEnabled, isExpandCollapsePatternAvailable, isGridItemPatternAvailable, isGridPatternAvailable, isInvokePatternAvailable, isMultipleViewPatternAvailable, isOffScreen, isRangeValuePatternAvailable, isScrollItemPatternAvailable, isScrollPatternAvailable, isSelectionItemPatternAvailable, isSelectionPatternAvailable, isTableItemPatternAvailable, isTablePatternAvailable, isTextPatternAvailable, isTogglePatternAvailable, isTransformPatternAvailable, isValuePatternAvailable, isWindowPatternAvailable, name, setNamepublic AutomationList(AutomationElement element)
element - The underlying automation elementpublic AutomationListItem getItem(int index) throws ItemNotFoundException, ElementNotFoundException
index - Index of element to getItemNotFoundException - when the item is not foundElementNotFoundException - when the element is not foundpublic AutomationListItem getItem(String name) throws ItemNotFoundException, ElementNotFoundException
name - Name to look forItemNotFoundException - when the item is not foundElementNotFoundException - when the element is not foundpublic List<AutomationElement> getCurrentSelection()
Copyright © 2016. All rights reserved.