Class TabControlDescription.Init<T extends TabControlDescription.Init<T>>

Direct Known Subclasses:
TabControlDescription.Builder
Enclosing class:
TabControlDescription

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

    • Init

      protected Init()
  • Method Details

    • build

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

      public T tabs(String[] tabs)
      Initializes the tabs in the TabControlDescription.
      Parameters:
      tabs - the tabs in the TabControlDescription.
      Returns:
      the description instance with the update state (builder pattern).
    • selectedTab

      public T selectedTab(String selectedTab)
      Initializes the selected tab in the TabControlDescription.
      Parameters:
      selectedTab - the selected tab in the TabControlDescription.
      Returns:
      the description instance with the update state (builder pattern).
    • selectedTab

      public T selectedTab(StringProperty selectedTab)
      Initializes the selected tab in the TabControlDescription.
      Parameters:
      selectedTab - a StringProperty (or RegExpProperty) representing the selected tab in the TabControlDescription.
      Returns:
      the description instance with the update state (builder pattern).
    • tabsCount

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