Class TreeViewDescription

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

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

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

    • setSelectedItem

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

      public void setSelectedItem(StringProperty item)
      Sets the selected item in the tree.
      Parameters:
      item - a StringProperty or RegExpProperty.
    • getSelectedItem

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

      public void setSelectedNodePath(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(Boolean isEnabled)
      Sets whether the the tree view can accept user input.
      Parameters:
      isEnabled - true to set as enabled.
    • isEnabled

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