Open topic with navigation

com.hp.lft.sdk.wpf

## Class TabStripDescription

- java.lang.Object
- - com.hp.lft.sdk.internal.PropertiesDescriptionBase
  - - com.hp.lft.sdk.PropertiesDescription
    - - com.hp.lft.sdk.DescriptionBase
      - - com.hp.lft.sdk.wpf.UiObjectDescriptionBase
        - - com.hp.lft.sdk.wpf.TabStripDescription

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

      public class TabStripDescription
      extends UiObjectDescriptionBase

  The description of a WPF TabStrip test object.

- - ### Nested Class Summary

    Modifier and Type | Class and Description
    --- | ---
    `static class` | `TabStripDescription.Builder` This class can be used to construct an instance of the TabStripDescription class using the builder pattern.
    `protected static class` | `TabStripDescription.Init<T extends TabStripDescription.Init<T>>`

  - ### Field Summary

    - ### Fields inherited from class com.hp.lft.sdk.internal.PropertiesDescriptionBase

      `properties`

  - ### Constructor Summary

    Modifier | Constructor and Description
    --- | ---
    `` | `TabStripDescription()` Initializes a new instance of the TabStripDescription class.
    `protected` | `TabStripDescription(TabStripDescription.Init<?> init)`

  - ### Method Summary

    Modifier and Type | Method and Description
    --- | ---
    `StringProperty` | `getName()` Returns the name of this object.
    `StringProperty` | `getSelectedTab()` Returns selected tab in the tab control.
    `java.lang.String[]` | `getTabs()` Returns list of all items in the object.
    `void` | `setName(java.lang.String name)` Sets the name of the object.
    `void` | `setName(StringProperty name)` Sets the name of the object.
    `void` | `setSelectedTab(java.lang.String tab)` Sets selected tab in the tab control.
    `void` | `setSelectedTab(StringProperty tab)` Sets selected tab in the tab control.
    `void` | `setTabs(java.lang.String[] tabs)` Sets list of all items in the object.

    - ### Methods inherited from class com.hp.lft.sdk.wpf.UiObjectDescriptionBase

      `canFocus, getAbsoluteLocation, getAttachedText, getFullNamePath, getFullType, getLocation, getNativeClass, getObjectName, getObjectProperties, getSize, getText, getWindowTitleRegExp, isEnabled, isFocused, isVisible, setAbsoluteLocation, setAbsoluteLocation, setAbsoluteLocation, setAttachedText, setAttachedText, setCanFocus, setEnabled, setFocused, setFullNamePath, setFullNamePath, setFullType, setFullType, setLocation, setLocation, setLocation, setNativeClass, setNativeClass, setObjectName, setObjectName, setObjectProperties, setSize, setSize, setSize, setText, setText, setVisible, setWindowTitleRegExp, setWindowTitleRegExp`

    - ### Methods inherited from class com.hp.lft.sdk.DescriptionBase

      `cloneTo, getIndex, getIndexType, getVRI, setIndex, setIndexType, setVRI, setVRI`

    - ### Methods inherited from class com.hp.lft.sdk.PropertiesDescription

      `clone`

    - ### Methods inherited from class com.hp.lft.sdk.internal.PropertiesDescriptionBase

      `getValueAs, getValueAsStringProperty, insertValue`

    - ### Methods inherited from class java.lang.Object

      `equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

    - ### Methods inherited from interface com.hp.lft.sdk.CloneableObject

      `clone`

- - ### Constructor Detail

    - #### TabStripDescription

          public TabStripDescription()

      Initializes a new instance of the TabStripDescription class.

    - #### TabStripDescription

          protected TabStripDescription(TabStripDescription.Init<?> init)

  - ### Method Detail

    - #### setTabs

          public void setTabs(java.lang.String[] tabs)

      Sets list of all items in the object.
      Parameters:
        `tabs` - list of all items in the object.

    - #### getTabs

          public java.lang.String[] getTabs()

      Returns list of all items in the object.
      Returns:
        list of all items in the object.

    - #### setSelectedTab

          public void setSelectedTab(java.lang.String tab)

      Sets selected tab in the tab control.
      Parameters:
        `tab` - the selected tabs in the combo box.

    - #### setSelectedTab

          public void setSelectedTab(StringProperty tab)

      Sets selected tab in the tab control.
      Parameters:
        `tab` - a StringProperty(or RegExpProperty) representing the selected tabs in the combo box.

    - #### getSelectedTab

          public StringProperty getSelectedTab()

      Returns selected tab in the tab control.
      Returns:
        selected tab in the tab control.

    - #### setName

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