Class ListDescription

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

public class ListDescription extends UiObjectDescriptionBase
The description of a WPF List test object.
  • Constructor Details

    • ListDescription

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

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

    • setSelectMultiple

      public void setSelectMultiple(Boolean isSelectMultiple)
      Sets whether the container allows more than one child element to be selected concurrently.
      Parameters:
      isSelectMultiple - whether the container allows more than one child element to be selected concurrently.
    • isSelectMultiple

      public Boolean isSelectMultiple()
      Indicates whether the container allows more than one child element to be selected concurrently.
      Returns:
      true, if the container allows more than one child element to be selected concurrently.
    • 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.
    • setHelpText

      public void setHelpText(String helpText)
      Sets the help text associated with this object.
      Parameters:
      helpText - the help text associated with the this object
    • setHelpText

      public void setHelpText(StringProperty helpText)
      Sets the help text associated with this object.
      Parameters:
      helpText - a StringProperty or RegExpProperty
    • getHelpText

      public StringProperty getHelpText()
      Returns the help text associated with this object.
      Returns:
      helpText the help text
    • setItems

      public void setItems(String[] items)
      Sets the list of all items in the list object.
      Parameters:
      items - the list of all items in the list object.
    • getItems

      public String[] getItems()
      Returns the list of all items in the list object.
      Returns:
      the list of all items in the list object.
    • setSelectedItems

      public void setSelectedItems(String[] items)
      Sets the list of items that are selected in the list object.
      Parameters:
      items - the list of items that are selected in the list object.
    • getSelectedItems

      public String[] getSelectedItems()
      Returns the list of items that are selected in the list object.
      Returns:
      the list of items that are selected in the list object.