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 UiObjectDescriptionBase
The description of a WPF TreeView test object.
  • Constructor Details

    • TreeViewDescription

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

      protected TreeViewDescription(TreeViewDescription.Init<?> init)
  • Method Details

    • setParentText

      public void setParentText(String parentText)
      Sets the text associated with the parent object of this object.
      Parameters:
      parentText - the text to associate with the parent object
    • setParentText

      public void setParentText(StringProperty parentText)
      Sets the text associated with the parent object of this object.
      Parameters:
      parentText - a StringProperty or RegExpProperty
    • getParentText

      public StringProperty getParentText()
      Returns the text associated with the parent object of this object.
      Returns:
      parentText the text associated with the parent
    • setName

      public void setName(String name)
      Sets the name of the object.
      Parameters:
      name - the name of this object
    • setName

      public void setName(StringProperty name)
      Sets the name of the object.
      Parameters:
      name - a StringProperty(or RegExpProperty) representing the text associated with the name of the object.
    • getName

      public StringProperty getName()
      Returns the name of this object.
      Returns:
      name the name of the object.
    • setVisibleNodes

      public void setVisibleNodes(String[] visibleNodes)
      Sets the visible nodes in the tree view.
      Parameters:
      visibleNodes - the items in the tree view.
    • getVisibleNodes

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

      public void setSelectedNodes(String[] nodes)
      Sets the selected nodes in the tree view.
      Parameters:
      nodes - the selected nodes in the tree view.
    • getSelectedNodes

      public String[] getSelectedNodes()
      Returns the selected nodes in the tree view.
      Returns:
      the selected nodes in the tree view.