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 Summary
Modifier 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.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.SupportDragAndDrop
dragAndDropOn, dragAndDropOnMethods inherited from interface com.hp.lft.sdk.SupportSendKeys
sendKeys, sendKeysMethods inherited from interface com.hp.lft.sdk.SupportsNativeObject
getNativeObjectMethods 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.UiObjectBase
getHandle, getNativeClass, getWindowTitleRegExp, isFocused, mouseMoveMethods inherited from interface com.hp.lft.sdk.winforms.UiObjectBase
fireEvent, getFullNamePath, getFullType, getObjectName, getObjectProperty, getText, getWindowClassRegExp, getWindowId, isChildWindow, isOwnedWindowMethods 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
-
activateNode
Activates (double-clicks) a node in this tree-view control.- Parameters:
node- the node to activatebutton- the mouse button used to activate the node- Throws:
GeneralLeanFtException- if error occurs during execution
-
activateNode
Activates (double-clicks) the node at the given path in the tree-view control.- Parameters:
nodePath- the pathbutton- the mouse button used to activate the node- Throws:
GeneralLeanFtException- if error occurs during execution
-
activateNode
Activates (double-clicks) a node by index in the tree-view control.- Parameters:
nodeIndex- the indexbutton- the mouse button used to activate the node- Throws:
GeneralLeanFtException- if error occurs during execution
-
activateNode
Activates a node in the tree-view control.- Parameters:
node- the node- Throws:
GeneralLeanFtException- if error occurs during execution
-
activateNode
Activates the node at the given path in the tree-view control.- Parameters:
nodePath- the path- Throws:
GeneralLeanFtException- if error occurs during execution
-
activateNode
Activates the node with the specified index in the tree-view control.- Parameters:
nodeIndex- the index- Throws:
GeneralLeanFtException- if error occurs during execution
-
getCheckedVisibleNodes
Returns the checked visible nodes in the tree-view control.- Returns:
- the checked visible nodes
- Throws:
GeneralLeanFtException- if error occurs during execution
-
getVisibleNodes
Returns the visible nodes in the tree-view control.- Returns:
- the visible nodes
- Throws:
GeneralLeanFtException- if error occurs during execution
-
getSelectedNodes
Returns the selected nodes in the tree-view control.- Returns:
- the selected nodes
- Throws:
GeneralLeanFtException- if error occurs during execution
-
select
Selects a node in the tree-view control.- Parameters:
node- the node to selectbutton- the mouse button used to select the node- Throws:
GeneralLeanFtException- if error occurs during execution
-
select
Selects the node at the specified path in the tree-view control.- Parameters:
nodePath- the pathbutton- the mouse button used to select the node- Throws:
GeneralLeanFtException- if error occurs during execution
-
select
Selects the node with the specified index in the tree-view control.- Parameters:
nodeIndex- the indexbutton- the mouse button used to select the node- Throws:
GeneralLeanFtException- if error occurs during execution
-
select
Selects a node in the tree-view control.- Parameters:
node- the node to select- Throws:
GeneralLeanFtException- if error occurs during execution
-
select
Selects the node at the specified path in the tree-view control.- Parameters:
nodePath- the path- Throws:
GeneralLeanFtException- if error occurs during execution
-
select
Selects the node with the specified index in the tree-view control.- Parameters:
nodeIndex- the index- Throws:
GeneralLeanFtException- if error occurs during execution
-
getNode
Returns 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
-
getErrorText
Returns the tooltip text of the error icon associated with this object.- Returns:
- the tooltip text
- Throws:
GeneralLeanFtException- if error occurs during execution
-