com.hp.lft.sdk.web

Class TreeViewConfiguration



  • public class TreeViewConfiguration
    extends java.lang.Object
    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

      Constructor and Description
      TreeViewConfiguration(java.lang.String selectXPath, java.lang.String expandCollapseXPath)
      Create a new TreeViewConfiguration
      TreeViewConfiguration(java.lang.String selectXPath, java.lang.String expandCollapseXPath, boolean forceExpandWithDoubleClick)
      Create a new TreeViewConfiguration
      TreeViewConfiguration(java.lang.String selectXPath, java.lang.String expandXPath, java.lang.String collapseXPath)
      Create a new TreeViewConfiguration
      TreeViewConfiguration(java.lang.String selectXPath, java.lang.String expandXPath, java.lang.String collapseXPath, boolean forceExpandWithDoubleClick)
      Create a new TreeViewConfiguration
    • Method Summary

      Modifier and Type Method and Description
      java.lang.String getCollapseXPath()
      Returns the XPath value used to find the internal tree element used to collapse a tree node.
      java.lang.String getExpandXPath()
      Returns the XPath value used to find the internal tree element used to expand a tree node.
      boolean getForceExpandWithDoubleClick()
      Returns value used to determine if collapse or expand operations use only double click.
      java.lang.String getSelectXPath()
      Returns the XPath value used to find the internal tree element used to select a tree node.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • TreeViewConfiguration

        public TreeViewConfiguration(java.lang.String selectXPath,
                                     java.lang.String expandCollapseXPath)
        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

        public TreeViewConfiguration(java.lang.String selectXPath,
                                     java.lang.String expandXPath,
                                     java.lang.String collapseXPath)
        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(java.lang.String selectXPath,
                                     java.lang.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(java.lang.String selectXPath,
                                     java.lang.String expandXPath,
                                     java.lang.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 Detail

      • getSelectXPath

        public java.lang.String 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

        public java.lang.String 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

        public java.lang.String 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.