public class AutomationComboBox extends AutomationBase
automation, element, user32| Constructor and Description |
|---|
AutomationComboBox(AutomationElement element)
Constructor for the AutomationComboBox.
|
| Modifier and Type | Method and Description |
|---|---|
void |
collapse()
Collapses the element
|
void |
expand()
Expands the element
|
List<AutomationListItem> |
getList()
Gets the list of items associated with this element.
|
boolean |
isExpanded()
Is the control expanded
|
void |
setText(String text)
Sets the text associated with this element
|
String |
text()
Gets the text associated with this element
|
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 AutomationComboBox(AutomationElement element)
element - The underlying automation elementpublic String text()
public void setText(String text)
text - The value to be setpublic void expand()
public boolean isExpanded()
public void collapse()
public List<AutomationListItem> getList()
Copyright © 2016. All rights reserved.