Package com.hp.lft.sdk.winforms
Interface TreeView
- All Superinterfaces:
- Clickable,- DoubleClickable,- EnabledProvider,- LocationInfoProvider,- SupportDragAndDrop,- SupportSendKeys,- SupportsNativeObject,- TestObject,- TestObjectDescriber,- UiObjectBase,- UiObjectBase,- VisibleProvider,- WaitUntilEnabledProvider,- WaitUntilVisibleProvider
A .NET Windows Forms tree-view object.
- 
Method SummaryModifier and TypeMethodDescriptionvoidactivateNode(int nodeIndex) Activates the node with the specified index in the tree-view control.voidactivateNode(int nodeIndex, MouseButton button) Activates (double-clicks) a node by index in the tree-view control.voidactivateNode(TreeViewNode node) Activates a node in the tree-view control.voidactivateNode(TreeViewNode node, MouseButton button) Activates (double-clicks) a node in this tree-view control.voidactivateNode(String nodePath) Activates the node at the given path in the tree-view control.voidactivateNode(String nodePath, MouseButton button) Activates (double-clicks) the node at the given path in the tree-view control.Returns the checked visible nodes in the tree-view control.Returns the tooltip text of the error icon associated with this object.Returns the node at the given path.Returns the selected nodes in the tree-view control.Returns the visible nodes in the tree-view control.voidselect(int nodeIndex) Selects the node with the specified index in the tree-view control.voidselect(int nodeIndex, MouseButton button) Selects the node with the specified index in the tree-view control.voidselect(TreeViewNode node) Selects a node in the tree-view control.voidselect(TreeViewNode node, MouseButton button) Selects a node in the tree-view control.voidSelects the node at the specified path in the tree-view control.voidselect(String nodePath, MouseButton button) Selects the node at the specified path in the tree-view control.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.SupportsNativeObjectgetNativeObjectMethods 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.UiObjectBasegetHandle, getNativeClass, getWindowTitleRegExp, isFocused, mouseMoveMethods inherited from interface com.hp.lft.sdk.winforms.UiObjectBasefireEvent, getFullNamePath, getFullType, getObjectName, getObjectProperty, getText, getWindowClassRegExp, getWindowId, isChildWindow, isOwnedWindowMethods 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 this tree-view control.- Parameters:
- node- the node to activate
- button- the mouse button used to activate the node
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
activateNodeActivates (double-clicks) the node at the given path in the tree-view control.- Parameters:
- nodePath- the path
- button- the mouse button used to activate the node
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
activateNodeActivates (double-clicks) a node by index in the tree-view control.- Parameters:
- nodeIndex- the index
- button- the mouse button used to activate the node
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
activateNodeActivates a node in the tree-view control.- Parameters:
- node- the node
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
activateNodeActivates the node at the given path in the tree-view control.- Parameters:
- nodePath- the path
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
activateNodeActivates the node with the specified index in the tree-view control.- Parameters:
- nodeIndex- the index
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
getCheckedVisibleNodesReturns the checked visible nodes in the tree-view control.- Returns:
- the checked visible nodes
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
getVisibleNodesReturns the visible nodes in the tree-view control.- Returns:
- the visible nodes
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
getSelectedNodesReturns the selected nodes in the tree-view control.- Returns:
- the selected nodes
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
selectSelects a node in the tree-view control.- Parameters:
- node- the node to select
- button- the mouse button used to select the node
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
selectSelects the node at the specified path in the tree-view control.- Parameters:
- nodePath- the path
- button- the mouse button used to select the node
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
selectSelects the node with the specified index in the tree-view control.- Parameters:
- nodeIndex- the index
- button- the mouse button used to select the node
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
selectSelects a node in the tree-view control.- Parameters:
- node- the node to select
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
selectSelects the node at the specified path in the tree-view control.- Parameters:
- nodePath- the path
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
selectSelects the node with the specified index in the tree-view control.- Parameters:
- nodeIndex- the index
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
getNodeReturns the node at the given path. If the path is not unique, the first matching node is returned.- Parameters:
- nodePath- the path of the node to retrieve separated by ; char.
- Returns:
- a the node
 
- 
getErrorTextReturns the tooltip text of the error icon associated with this object.- Returns:
- the tooltip text
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
 
-