com.hp.lft.sdk.sap.gui

Class TreeViewDescription

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


    public class TreeViewDescription
    extends ElementDescription
    Description of a SAP GUI for Windows tree.
    • Constructor Detail

      • TreeViewDescription

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

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

      • setSelectedItem

        public void setSelectedItem(java.lang.String item)
        Sets the selected item in the tree.
        Parameters:
        item - the item.
      • getSelectedItem

        public StringProperty getSelectedItem()
        Returns the selected item.
        Returns:
        the selected item.
      • setSelectedNodePath

        public void setSelectedNodePath(java.lang.String nodePath)
        Sets the path of the selected node in the tree.
        Parameters:
        nodePath - the node path.
      • setSelectedNodePath

        public void setSelectedNodePath(StringProperty nodePath)
        Sets the path of the selected node in the tree.
        Parameters:
        nodePath - a StringProperty or RegExpProperty represents the path of the selected node.
      • getSelectedNodePath

        public StringProperty getSelectedNodePath()
        Returns the path of the selected node in the tree.
        Returns:
        the selected node.
      • setTreeType

        public void setTreeType(TreeType type)
        Sets the type of the tree.
        Parameters:
        type - the type.
      • getTreeType

        public TreeType getTreeType()
        Returns the type of the tree.
        Returns:
        the type.
      • setSelectionMode

        public void setSelectionMode(TreeSelectionMode mode)
        Sets which selections can be made.
        Parameters:
        mode - the selection mode.
      • getSelectionMode

        public TreeSelectionMode getSelectionMode()
        Returns which selections can be made.
        Returns:
        the selection mode of the tree.
      • setEnabled

        public void setEnabled(java.lang.Boolean isEnabled)
        Sets whether the the tree view can accept user input.
        Parameters:
        isEnabled - true to set as enabled.
      • isEnabled

        public java.lang.Boolean isEnabled()
        Indicates whether the the tree view can accept user input.
        Returns:
        true if enabled.