Class TreeViewDescription

All Implemented Interfaces:
CloneableObject, Description, com.hp.lft.sdk.internal.DescriptionWithVri, Cloneable

public class TreeViewDescription extends WebElementDescription
The description of a WebTree test object.
  • Constructor Details

    • TreeViewDescription

      public TreeViewDescription()
      Initializes a new instance of the TreeViewDescription class.
    • TreeViewDescription

      protected TreeViewDescription(TreeViewDescription.Init<?> init)
      Initializes a new instance of the TreeViewDescription class using the Builder pattern.
      Parameters:
      init - the Builder pattern.
  • Method Details

    • setSelectedNodePath

      public void setSelectedNodePath(StringProperty selectedNodePath)
      Sets the path of the currently selected item in this tree.
      Parameters:
      selectedNodePath - the path of the currently selected item in this tree.
    • setSelectedNodePath

      public void setSelectedNodePath(String selectedNodePath)
      Sets the path of the currently selected item in this tree.
      Parameters:
      selectedNodePath - the path of the currently selected item in this tree.
    • getSelectedNodePath

      public StringProperty getSelectedNodePath()
      Returns the path of the currently selected item in this tree.
      Returns:
      the path of the currently selected item in this tree.
    • setFirstNode

      public void setFirstNode(StringProperty firstNode)
      Sets the first node in the list of nodes in this tree.
      Parameters:
      firstNode - a StringProperty (or RegExpProperty) representing the first node in the list of nodes in this tree.
    • setFirstNode

      public void setFirstNode(String firstNode)
      Sets the first node in the list of nodes in this tree.
      Parameters:
      firstNode - the first node in the list of nodes in this tree.
    • getFirstNode

      public StringProperty getFirstNode()
      Returns the first node in the list of nodes in this tree.
      Returns:
      the first node in the list of nodes in this tree.