Package com.hp.lft.sdk.java
Interface TreeViewTable
- All Superinterfaces:
Clickable,DoubleClickable,EnabledProvider,LocationInfoProvider,SupportsNativeObject,TableBase,TestObject,TestObjectDescriber,TreeViewBase,UiObjectBase,VisibleProvider,WaitUntilEnabledProvider,WaitUntilVisibleProvider
A JavaFX TreeViewTable.
-
Method Summary
Modifier and TypeMethodDescriptionvoidActivates a node or row in the tree view table.voidcollapse(int index) Collapses the expandable node in the tree.voidCollapses the expandable node in the tree.voiddeselect(TreeViewTableRow... nodes) Clears the selection of nodes in the tree.voiddeselectColumn(int column) Unselects the specified column by column index.voiddeselectColumn(String columnsHeader) Unselects the specified column by column header.voiddeselectRowsRange(TreeViewTableRow fromRow, TreeViewTableRow toRow) Unselects rows byTreeViewTableRow.voidexpand(int index) Expands the expandable node in the tree.voidExpands the expandable node in the tree.voidextendSelect(TreeViewTableRow... nodes) Selects additional nodes in the tree.getNode(int index) Returns the value of the specified node.Returns the selected nodes in the tree.voidselect(TreeViewTableRow... nodes) Selects the specified nodes.voidselectColumn(int column) Selects column by column index.voidselectColumn(String columnHeader) Selects column by column header.voidselectRange(TreeViewTableRow fromNode, TreeViewTableRow toNode) Selects the specified range of nodes.voidselectRowsRange(TreeViewTableRow fromRow, TreeViewTableRow toRow) Selects a range of rows by row objects.Methods inherited from interface com.hp.lft.sdk.DoubleClickable
doubleClick, doubleClick, doubleClickMethods inherited from interface com.hp.lft.sdk.EnabledProvider
isEnabledMethods inherited from interface com.hp.lft.sdk.LocationInfoProvider
getAbsoluteLocation, getLocation, getSizeMethods inherited from interface com.hp.lft.sdk.SupportsNativeObject
getNativeObjectMethods inherited from interface com.hp.lft.sdk.java.TableBase
activateCell, activateCell, activateColumn, activateColumn, deselectRowsRange, getColumnHeaders, selectCell, selectCell, selectCellsRange, selectCellsRange, selectColumnsRange, selectColumnsRange, selectRowsRangeMethods inherited from interface com.hp.lft.sdk.TestObject
callFTMethod, callFTMethod, exists, exists, findChildren, getDescription, getDisplayName, getParent, getSnapshot, getTextLocations, getTextLocations, getVisibleText, getVisibleText, highlight, highlightMatches, setDescription, setDisplayName, verifyImageExists, verifyImageExists, verifyImageMatch, verifyImageMatch, verifyImageMatch, verifyImageMatch, verifyImageMatch, verifyImageMatch, waitUntilExists, waitUntilExistsMethods inherited from interface com.hp.lft.sdk.TestObjectDescriber
describeMethods inherited from interface com.hp.lft.sdk.java.TreeViewBase
buildNodePath, deselect, deselectRange, extendSelect, getColumnsCount, select, selectRangeMethods inherited from interface com.hp.lft.sdk.java.UiObjectBase
createObject, createObject, fireEvent, getAttachedText, getBackgroundColor, getForegroundColor, getLabel, getNativeClass, getObjectName, getObjectProperty, getPath, getStatics, getTagName, isFocused, sendKeys, sendKeysMethods inherited from interface com.hp.lft.sdk.VisibleProvider
isVisibleMethods inherited from interface com.hp.lft.sdk.WaitUntilEnabledProvider
waitUntilEnabled, waitUntilEnabledMethods inherited from interface com.hp.lft.sdk.WaitUntilVisibleProvider
waitUntilVisible, waitUntilVisible
-
Method Details
-
activate
Activates a node or row in the tree view table. Tip: Use theTreeViewBase.buildNodePath(java.lang.Object...)method to build the node path string to be used as the nodeOrPath argument for this method.- Parameters:
nodePath- The full path of the node to activate within the tree.- Throws:
GeneralLeanFtException- if error occurs during execution.
-
getNode
Returns the value of the specified node.- Parameters:
index- The 0-based index of the node or row you want to retrieve.- Returns:
- The value of the specified node.
- Throws:
GeneralLeanFtException- if error occurs during execution.
-
getSelectedNodes
Returns the selected nodes in the tree.- Returns:
- the selected nodes.
- Throws:
GeneralLeanFtException- if error occurs during execution
-
deselect
Clears the selection of nodes in the tree.- Parameters:
nodes- the nodes to deselect.- Throws:
GeneralLeanFtException- if error occurs during execution
-
deselectColumn
Unselects the specified column by column index.
Important: This method is not supported for SWT tables.- Parameters:
column- 0-based column index.- Throws:
GeneralLeanFtException- if error occurs during execution
-
deselectColumn
Unselects the specified column by column header.
Important: This method is not supported for SWT tables.- Parameters:
columnsHeader- the column header.- Throws:
GeneralLeanFtException- if error occurs during execution
-
deselectRowsRange
void deselectRowsRange(TreeViewTableRow fromRow, TreeViewTableRow toRow) throws GeneralLeanFtException Unselects rows byTreeViewTableRow.- Parameters:
fromRow- the firstTreeViewTableRow.toRow- the lastTreeViewTableRow.- Throws:
GeneralLeanFtException- if error occurs during execution
-
extendSelect
Selects additional nodes in the tree.- Parameters:
nodes- the nodes to add to the selection.- Throws:
GeneralLeanFtException- if error occurs during execution.
-
select
Selects the specified nodes.- Parameters:
nodes- the nodes to select.- Throws:
GeneralLeanFtException- if error occurs during execution
-
selectColumn
Selects column by column index.- Parameters:
column- 0-based index of the column.- Throws:
GeneralLeanFtException- if error occurs during execution
-
selectColumn
Selects column by column header.- Parameters:
columnHeader- the header of the column.- Throws:
GeneralLeanFtException- if error occurs during execution
-
selectRange
Selects the specified range of nodes.- Parameters:
fromNode- the first node in the range.toNode- the last node of the range.- Throws:
GeneralLeanFtException- if error occurs during execution
-
selectRowsRange
void selectRowsRange(TreeViewTableRow fromRow, TreeViewTableRow toRow) throws GeneralLeanFtException Selects a range of rows by row objects.- Parameters:
fromRow- the firstTreeViewTableRow.toRow- the lastTreeViewTableRow.- Throws:
GeneralLeanFtException- if error occurs during execution
-
expand
Expands the expandable node in the tree.- Parameters:
nodePath- The full path of the node to expand within the tree.- Throws:
GeneralLeanFtException- if error occurs during execution
-
expand
Expands the expandable node in the tree.- Parameters:
index- The 0-based index of the node or row to expand.- Throws:
GeneralLeanFtException- if error occurs during execution
-
collapse
Collapses the expandable node in the tree.- Parameters:
nodePath- The full path of the node to collapse within the tree.- Throws:
GeneralLeanFtException- if error occurs during execution
-
collapse
Collapses the expandable node in the tree.- Parameters:
index- The 0-based index of the node or row to collapse.- Throws:
GeneralLeanFtException- if error occurs during execution
-