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).
    • enabled

      public T enabled(Boolean enabled)
      Initializes whether the tab strip is enabled.
      Parameters:
      enabled - true if enabled.
      Returns:
      The description instance with the update state (builder pattern).
    • tabsCount

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

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