public class AutomationDataGrid extends AutomationBase
automation, element, user32| Constructor and Description |
|---|
AutomationDataGrid(AutomationElement element)
Construct the AutomationDataGrid
|
| Modifier and Type | Method and Description |
|---|---|
List<AutomationDataGridCell> |
getColumnHeaders()
Gets the list of the column headers
|
AutomationDataGridCell |
getItem(int x,
int y)
Gets the item associated with the given cell
|
String |
getValue()
Gets the text associated with the active cell of this element
|
boolean |
isReadOnly()
Whether the grid is read only
|
AutomationDataGridCell |
selected()
Gets the selected item from the grid
|
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 AutomationDataGrid(AutomationElement element)
element - The elementpublic String getValue()
public boolean isReadOnly()
public AutomationDataGridCell selected()
public List<AutomationDataGridCell> getColumnHeaders()
public AutomationDataGridCell getItem(int x, int y)
x - X Offsety - Y OffsetCopyright © 2016. All rights reserved.