Share this page

com.hp.lft.sdk.web

## 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.web.WebBaseDescription
        - - com.hp.lft.sdk.web.WebElementDescription
          - - com.hp.lft.sdk.web.TabStripDescription

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

      public class TabStripDescription
      extends WebElementDescription

  The description of a Web 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>>` Helper class for TabStripDescription.Builder.

  - ### 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)` Initializes a new instance of the TabStripDescription class using the Builder pattern.

  - ### Method Summary

    Modifier and Type | Method and Description
    --- | ---
    `StringProperty` | `getFirstTab()` Returns the first tab in the list of tabs in this tab strip.
    `java.lang.String[]` | `getTabs()` Returns a collection of the names of all the tabs in this tab strip, separated by semi-colons (;).
    `java.lang.Integer` | `getTabsCount()` Returns the number of tabs in this tab strip.
    `java.lang.Boolean` | `isEnabled()` Indicates whether the check box is enabled. Supported on UFT Developer versions 15.0.1 and later
    `void` | `setEnabled(java.lang.Boolean isEnabled)` Sets whether the check box is enabled. Supported on UFT Developer versions 15.0.1 and later
    `void` | `setFirstTab(java.lang.String firstTab)` Sets the first tab in the list of tabs in this tab strip.
    `void` | `setFirstTab(StringProperty firstTab)` Sets the first tab in the list of tabs in this tab strip.
    `void` | `setTabs(java.lang.String[] tabs)` Sets tabs in this tab strip.
    `void` | `setTabsCount(java.lang.Integer tabsCount)` Sets the number of tabs in this tab strip.

    - ### Methods inherited from class com.hp.lft.sdk.web.WebElementDescription

      `getAccessibilityName, getCSSSelector, getRole, getXPath, setAccessibilityName, setAccessibilityName, setCSSSelector, setCSSSelector, setRole, setRole, setXPath, setXPath`

    - ### Methods inherited from class com.hp.lft.sdk.web.WebBaseDescription

      `cloneTo, getAbsoluteLocation, getAttributes, getClassName, getId, getInnerHTML, getInnerText, getLocation, getName, getOuterHTML, getOuterText, getSize, getStyles, getTagName, getTitle, isVisible, setAbsoluteLocation, setAbsoluteLocation, setAbsoluteLocation, setAttributes, setClassName, setClassName, setId, setId, setInnerHTML, setInnerHTML, setInnerText, setInnerText, setLocation, setLocation, setLocation, setName, setName, setOuterHTML, setOuterHTML, setOuterText, setOuterText, setSize, setSize, setSize, setStyles, setTagName, setTagName, setTitle, setTitle, setVisible`

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

      `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)

      Initializes a new instance of the TabStripDescription class using the Builder pattern.
      Parameters:
        `init` - the Builder pattern.

  - ### Method Detail

    - #### setTabsCount

          public void setTabsCount(java.lang.Integer tabsCount)

      Sets the number of tabs in this tab strip.
      Parameters:
        `tabsCount` - the number of tabs in this tab strip.

    - #### getTabsCount

          public java.lang.Integer getTabsCount()

      Returns the number of tabs in this tab strip.
      Returns:
        The number of tabs in this tab strip.

    - #### setTabs

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

      Sets tabs in this tab strip.
      Parameters:
        `tabs` - the tab names to set in this tab strip.

    - #### getTabs

          public java.lang.String[] getTabs()

      Returns a collection of the names of all the tabs in this tab strip, separated by semi-colons (;).
      Returns:
        A collection of tab names of all the tabs in this tab strip, separated by semi-colons (;).

    - #### setFirstTab

          public void setFirstTab(StringProperty firstTab)

      Sets the first tab in the list of tabs in this tab strip.
      Parameters:
        `firstTab` - a StringProperty (or RegExpProperty) representing the first tab in the list of tabs in this tab strip.

    - #### setEnabled

      Supported on UFT Developer versions 15.0.1 and later

          public void setEnabled(java.lang.Boolean isEnabled)

      Sets whether the check box is enabled.
      Parameters:
        `isEnabled` - true if enabled.

    - #### isEnabled

      Supported on UFT Developer versions 15.0.1 and later

          public java.lang.Boolean isEnabled()

      Indicates whether the check box is enabled.
      Returns:
        true if enabled.

    - #### setFirstTab

          public void setFirstTab(java.lang.String firstTab)

      Sets the first tab in the list of tabs in this tab strip.
      Parameters:
        `firstTab` - the first tab in the list of tabs in this tab strip.

    - #### getFirstTab

          public StringProperty getFirstTab()

      Returns the first tab in the list of tabs in this tab strip.
      Returns:
        the first tab in the list of tabs in this tab strip.

Tips to improve your search results... UFT Developer Java SDK Reference Version 15.0-15.0.2 UFT Developer SDK Reference All View Local Help Center View Online Help Center back Go back in browser history forward Go forward in browser history Remove search highlights next topic Go to next topic previous topic Go to previous topic Print the current topic Version: