Package com.hp.lft.sdk.stdwin
Interface TreeView
- All Superinterfaces:
- Clickable,- DoubleClickable,- EnabledProvider,- LocationInfoProvider,- SupportDragAndDrop,- SupportSendKeys,- TestObject,- TestObjectDescriber,- UiObjectBase,- UiObjectBase,- UiObjectWithLayoutInfo,- VisibleProvider,- WaitUntilEnabledProvider,- WaitUntilVisibleProvider
A standard Windows tree-view object.
- 
Method SummaryModifier and TypeMethodDescriptionvoidactivateNode(int nodeIndex) Activates (double-clicks) a node in the tree-view object by node index.voidactivateNode(int nodeIndex, MouseButton button) Activates (double-clicks) a node in the tree-view object by node index.voidactivateNode(TreeViewNode node) Activates (double-clicks) a node in the tree-view object with a tree-view node.voidactivateNode(TreeViewNode node, MouseButton button) Activates (double-clicks) a node in the tree-view object with a tree view node.voidactivateNode(String nodePath) Activates (double-clicks) a node in the tree-view object by node path.voidactivateNode(String nodePath, MouseButton button) Activates (double-clicks) a node in the tree-view object by node path.Retrieves the checked visible nodes in the tree-view object.Returns a node with the given path.Returns all the selected nodes in the tree-view object.Returns all visible nodes in the tree-view object.voidselect(int nodeIndex) Selects a node in the tree-view object by node index.voidselect(int nodeIndex, MouseButton button) Selects a node in the tree-view object by node index.voidselect(TreeViewNode node) Selects a node in the tree-view object.voidselect(TreeViewNode node, MouseButton button) Selects a node in the tree-view control.voidSelects a node in the tree-view object by node path.voidselect(String nodePath, MouseButton button) Selects a node in the tree-view control by node path.Methods inherited from interface com.hp.lft.sdk.DoubleClickabledoubleClick, doubleClick, doubleClickMethods inherited from interface com.hp.lft.sdk.EnabledProviderisEnabledMethods inherited from interface com.hp.lft.sdk.LocationInfoProvidergetAbsoluteLocation, getLocation, getSizeMethods inherited from interface com.hp.lft.sdk.SupportDragAndDropdragAndDropOn, dragAndDropOnMethods inherited from interface com.hp.lft.sdk.SupportSendKeyssendKeys, sendKeysMethods inherited from interface com.hp.lft.sdk.TestObjectcallFTMethod, 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.TestObjectDescriberdescribeMethods inherited from interface com.hp.lft.sdk.stdwin.UiObjectBasegetAccessibleName, getAttachedText, getText, getWindowClassRegExp, getWindowExtendedStyle, getWindowExtendedStyleAsLong, getWindowId, getWindowStyle, getWindowStyleAsLongMethods inherited from interface com.hp.lft.sdk.UiObjectBasegetHandle, getNativeClass, getWindowTitleRegExp, isFocused, mouseMoveMethods inherited from interface com.hp.lft.sdk.stdwin.UiObjectWithLayoutInfoisRightAligned, isRightToLeftLayout, isRightToLeftReadingMethods inherited from interface com.hp.lft.sdk.VisibleProviderisVisibleMethods inherited from interface com.hp.lft.sdk.WaitUntilEnabledProviderwaitUntilEnabled, waitUntilEnabledMethods inherited from interface com.hp.lft.sdk.WaitUntilVisibleProviderwaitUntilVisible, waitUntilVisible
- 
Method Details- 
activateNodeActivates (double-clicks) a node in the tree-view object with a tree view node.- Parameters:
- node- specified node to activate in the tree view object.
- button- the mouse button used to activate the tree view node. Possible values:- MouseButton
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
activateNodeActivates (double-clicks) a node in the tree-view object by node path.- Parameters:
- nodePath- specified node to activate in the tree-view object.
- button- the mouse button used to activate the tree view node. Possible values:- MouseButton
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
activateNodeActivates (double-clicks) a node in the tree-view object by node index.- Parameters:
- nodeIndex- the node index to activate.
- button- the mouse button used to activate the tree view node. Possible values:- MouseButton
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
activateNodeActivates (double-clicks) a node in the tree-view object with a tree-view node.- Parameters:
- node- specified node to activate in the tree view control.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
activateNodeActivates (double-clicks) a node in the tree-view object by node path.- Parameters:
- nodePath- specified node to activate in the tree-view object.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
activateNodeActivates (double-clicks) a node in the tree-view object by node index.- Parameters:
- nodeIndex- the node index to activate.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
getCheckedVisibleNodesRetrieves the checked visible nodes in the tree-view object.- Returns:
- the checked visible nodes in the tree-view object.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
getVisibleNodesReturns all visible nodes in the tree-view object.- Returns:
- all visible nodes in the tree-view object.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
getSelectedNodesReturns all the selected nodes in the tree-view object.- Returns:
- all the selected nodes in the tree-view object.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
selectSelects a node in the tree-view control.- Parameters:
- node- specified node to select from the tree view object.
- button- the mouse button used to select the node. Possible values:- MouseButton
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
selectSelects a node in the tree-view control by node path.- Parameters:
- nodePath- specified node to select in the tree view object.
- button- the mouse button used to select the node. Possible values:- MouseButton
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
selectSelects a node in the tree-view object by node index.- Parameters:
- nodeIndex- the node index to select.
- button- the mouse button used to select the node. Possible values:- MouseButton
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
selectSelects a node in the tree-view object.- Parameters:
- node- specified node to select from the tree view object.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
selectSelects a node in the tree-view object by node path.- Parameters:
- nodePath- specified node to select from the tree view object.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
selectSelects a node in the tree-view object by node index.- Parameters:
- nodeIndex- the node index to select.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
getNodeReturns a node with the given path. If the given path is not unique, the first item with the given path is retrieved.- Parameters:
- nodePath- the path of the node to retrieve separated by ; char.
- Returns:
- a node with the given path.
 
 
-