Class TabStripDescription.Init<T extends TabStripDescription.Init<T>>

Direct Known Subclasses:
TabStripDescription.Builder
Enclosing class:
TabStripDescription

protected abstract static class TabStripDescription.Init<T extends TabStripDescription.Init<T>> extends WebElementDescription.Init<T>
Helper class for TabStripDescription.Builder.
  • Constructor Details

    • Init

      protected Init()
  • Method Details

    • build

      public TabStripDescription build()
      Description copied from class: DescriptionBase.Init
      Returns the built description instance (builder pattern).
      Overrides:
      build in class WebElementDescription.Init<T extends TabStripDescription.Init<T>>
      Returns:
      The built description instance (builder pattern).
    • tabsCount

      public T tabsCount(Integer tabsCount)
      Initializes the number of tabs in this tab strip.
      Parameters:
      tabsCount - the number of tabs in this tab strip.
      Returns:
      The description instance with the update state (builder pattern).
    • tabs

      public T tabs(String[] tabs)
      Initializes the tab names in this tab strip.
      Parameters:
      tabs - all tab names in this tab strip.
      Returns:
      the description instance with the update state (builder pattern).
    • firstTab

      public T firstTab(String firstTab)
      Initializes 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.
      Returns:
      the description instance with the update state (builder pattern).
    • firstTab

      public T firstTab(StringProperty firstTab)
      Initializes 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.
      Returns:
      the description instance with the update state (builder pattern).
    • enabled

      public T enabled(Boolean isEnabled)
      Initializes whether the object is enabled.
      Parameters:
      isEnabled - true if the object is enabled.
      Returns:
      the description instance with the update state (builder pattern).