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 TypeMethodDescriptionvoid
activateNode
(int nodeIndex) Activates the node with the specified index in the tree-view control.void
activateNode
(int nodeIndex, MouseButton button) Activates (double-clicks) a node by index in the tree-view control.void
activateNode
(TreeViewNode node) Activates a node in the tree-view control.void
activateNode
(TreeViewNode node, MouseButton button) Activates (double-clicks) a node in this tree-view control.void
activateNode
(String nodePath) Activates the node at the given path in the tree-view control.void
activateNode
(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.void
select
(int nodeIndex) Selects the node with the specified index in the tree-view control.void
select
(int nodeIndex, MouseButton button) Selects the node with the specified index in the tree-view control.void
select
(TreeViewNode node) Selects a node in the tree-view control.void
select
(TreeViewNode node, MouseButton button) Selects a node in the tree-view control.void
Selects the node at the specified path in the tree-view control.void
select
(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, doubleClick
Methods inherited from interface com.hp.lft.sdk.EnabledProvider
isEnabled
Methods inherited from interface com.hp.lft.sdk.LocationInfoProvider
getAbsoluteLocation, getLocation, getSize
Methods inherited from interface com.hp.lft.sdk.SupportDragAndDrop
dragAndDropOn, dragAndDropOn
Methods inherited from interface com.hp.lft.sdk.SupportSendKeys
sendKeys, sendKeys
Methods inherited from interface com.hp.lft.sdk.SupportsNativeObject
getNativeObject
Methods 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, waitUntilExists
Methods inherited from interface com.hp.lft.sdk.TestObjectDescriber
describe
Methods inherited from interface com.hp.lft.sdk.UiObjectBase
getHandle, getNativeClass, getWindowTitleRegExp, isFocused, mouseMove
Methods inherited from interface com.hp.lft.sdk.winforms.UiObjectBase
fireEvent, getFullNamePath, getFullType, getObjectName, getObjectProperty, getText, getWindowClassRegExp, getWindowId, isChildWindow, isOwnedWindow
Methods inherited from interface com.hp.lft.sdk.VisibleProvider
isVisible
Methods inherited from interface com.hp.lft.sdk.WaitUntilEnabledProvider
waitUntilEnabled, waitUntilEnabled
Methods 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
-