com.hp.lft.sdk.sap.ui5

Class TreeViewDescription

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


    public class TreeViewDescription
    extends WebElementDescription
    The description of an SAPUI5 TreeView test object.
    • Constructor Detail

      • 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 Detail

      • setEnabled

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

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

        public void setVisibleNodes(java.lang.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 java.lang.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(java.lang.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.