Class TreeViewDescription

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

public class TreeViewDescription extends WebElementDescription
The description of an SAPUI5 TreeView 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

    • setEnabled

      public void setEnabled(Boolean isEnabled)
      Sets whether the tree is enabled.
      Parameters:
      isEnabled - true to enable the object.
    • isEnabled

      public Boolean isEnabled()
      Indicates whether the tree is enabled.
      Returns:
      true if enabled.
    • setVisibleNodes

      public void setVisibleNodes(String[] nodes)
      Initialize the visible nodes in the tree view object.
      Parameters:
      nodes - the visible nodes to set in the tree view object.
    • getVisibleNodes

      public String[] getVisibleNodes()
      Returns the collection of visible nodes in the tree view.
      Returns:
      the collection of visible nodes in the tree view.
    • setSelectedNode

      public void setSelectedNode(StringProperty selectedNode)
      Sets the path of the selected node using a string property.
      Parameters:
      selectedNode - a StringProperty (or RegExpProperty) representing the path of the selected node.
    • setSelectedNode

      public void setSelectedNode(String selectedNode)
      Sets the path of the selected node of the tree view.
      Parameters:
      selectedNode - the path of the selected node of the tree view.
    • getSelectedNode

      public StringProperty getSelectedNode()
      Returns the path of the selected node of the tree view.
      Returns:
      the path of the selected node of the tree view.