Package com.hp.lft.sdk.web
Class TreeViewConfiguration
java.lang.Object
com.hp.lft.sdk.web.TreeViewConfiguration
A set of xpath values to help the TreeView object perform Select, Expand and Collapse operation in cases where the default implementation cannot find the element needed.
-
Constructor Summary
ConstructorsConstructorDescriptionTreeViewConfiguration
(String selectXPath, String expandCollapseXPath) Create a new TreeViewConfigurationTreeViewConfiguration
(String selectXPath, String expandCollapseXPath, boolean forceExpandWithDoubleClick) Create a new TreeViewConfigurationTreeViewConfiguration
(String selectXPath, String expandXPath, String collapseXPath) Create a new TreeViewConfigurationTreeViewConfiguration
(String selectXPath, String expandXPath, String collapseXPath, boolean forceExpandWithDoubleClick) Create a new TreeViewConfiguration -
Method Summary
Modifier and TypeMethodDescriptionReturns the XPath value used to find the internal tree element used to collapse a tree node.Returns the XPath value used to find the internal tree element used to expand a tree node.boolean
Returns value used to determine if collapse or expand operations use only double click.Returns the XPath value used to find the internal tree element used to select a tree node.
-
Constructor Details
-
TreeViewConfiguration
Create a new TreeViewConfiguration- Parameters:
selectXPath
- the XPath value used to find the internal tree element used to select a tree node.
Leave this value as a null value if the regular Select method runs correctly.expandCollapseXPath
- the XPath value used to find the internal tree element used to expand and collapse a tree node.
Leave this value as a null value if the regular Expand and Collapse methods run correctly.
-
TreeViewConfiguration
Create a new TreeViewConfiguration- Parameters:
selectXPath
- the XPath value used to find the internal tee element used to select a tree node.
Leave this value as a null value if the regular Select method runs correctly.expandXPath
- the XPath value used to find the internal tree element used to expand a tree node.
Leave this value as a null value if the regular Expand method runs correctly.collapseXPath
- the XPath value used to find the internal tree element used to collapse a tree node.
Leave this value as a null value if the regular Collapse method runs correctly.
-
TreeViewConfiguration
public TreeViewConfiguration(String selectXPath, String expandCollapseXPath, boolean forceExpandWithDoubleClick) Create a new TreeViewConfiguration- Parameters:
selectXPath
- the XPath value used to find the internal tree element used to select a tree node.
Leave this value as a null value if the regular Select method runs correctly.expandCollapseXPath
- the XPath value used to find the internal tree element used to expand and collapse a tree node.
Leave this value as a null value if the regular Expand and Collapse methods run properly.forceExpandWithDoubleClick
- if true when expanding or collapsing a tree node, the expand/collapse is performed using a double click.
If false, first a regular click is attempted. If that does not work, a double click is used.
-
TreeViewConfiguration
public TreeViewConfiguration(String selectXPath, String expandXPath, String collapseXPath, boolean forceExpandWithDoubleClick) Create a new TreeViewConfiguration- Parameters:
selectXPath
- the XPath value used to find the internal tree element used to select a tree node.
Leave this value as a null value if the regular Select method runs correctly.expandXPath
- the XPath value used to find the internal tree element used to expand a tree node.
Leave this value as a null value if the regular Expand method runs correctly.collapseXPath
- the XPath value used to find the internal tree element used to collapse a tree node.
Leave this value as a null value if the regular Collapse method runs correctly.forceExpandWithDoubleClick
- if true when expanding or collapsing a tree node, the expand/collapse is performed using a double click.
If false, first a regular click is attempted. If that does not work, a double click is used.
-
-
Method Details
-
getSelectXPath
Returns the XPath value used to find the internal tree element used to select a tree node.- Returns:
- the XPpath value used to find the internal tree element used to select a tree node.
-
getExpandXPath
Returns the XPath value used to find the internal tree element used to expand a tree node.- Returns:
- the XPath used to find the internal tree element used to expand a tree node.
-
getCollapseXPath
Returns the XPath value used to find the internal tree element used to collapse a tree node.- Returns:
- the XPath used to find the internal tree element used to collapse a tree node.
-
getForceExpandWithDoubleClick
public boolean getForceExpandWithDoubleClick()Returns value used to determine if collapse or expand operations use only double click.- Returns:
- value used to determine if collapse or expand operations use only double click.
-