Class TabStripDescription

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

public class TabStripDescription extends WebElementDescription
The description of a Web TabStrip test object.
  • Constructor Details

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

    • setTabsCount

      public void setTabsCount(Integer tabsCount)
      Sets the number of tabs in this tab strip.
      Parameters:
      tabsCount - the number of tabs in this tab strip.
    • getTabsCount

      public Integer getTabsCount()
      Returns the number of tabs in this tab strip.
      Returns:
      The number of tabs in this tab strip.
    • setTabs

      public void setTabs(String[] tabs)
      Sets tabs in this tab strip.
      Parameters:
      tabs - the tab names to set in this tab strip.
    • getTabs

      public 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.
    • setFirstTab

      public void setFirstTab(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.
    • setEnabled

      public void setEnabled(Boolean isEnabled)
      Sets whether the check box is enabled.
      Parameters:
      isEnabled - true if enabled.
    • isEnabled

      public Boolean isEnabled()
      Indicates whether the check box is enabled.
      Returns:
      true if enabled.