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 ElementDescription.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 ElementDescription.Init<T extends TabControlDescription.Init<T>>
      Returns:
      The built description instance (builder pattern).
    • selectedTab

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

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

      public T tooltip(StringProperty tooltip)
      Initializes the value of the tab object's tooltip.
      Parameters:
      tooltip - a StringProperty or RegExpProperty.
      Returns:
      the description instance with the update state (builder pattern).
    • tooltip

      public T tooltip(String tooltip)
      Initializes the value of the tab object's tooltip.
      Parameters:
      tooltip - the tooltip.
      Returns:
      the description instance with the update state (builder pattern).
    • text

      public T text(StringProperty text)
      Initializes the text associated with the tab object.
      Parameters:
      text - a StringProperty or RegExpProperty.
      Returns:
      the description instance with the update state (builder pattern).
    • text

      public T text(String text)
      Initializes the text associated with the tab object.
      Parameters:
      text - the text.
      Returns:
      the description instance with the update state (builder pattern).
    • enabled

      public T enabled(Boolean enabled)
      Initializes whether the tab object can accept user input.
      Parameters:
      enabled - true to set as enabled.
      Returns:
      the description instance with the update state (builder pattern).
    • tabs

      public T tabs(String[] tabs)
      Initializes the list of tabs in the tab object.
      Parameters:
      tabs - the list of tabs.
      Returns:
      the description instance with the update state (builder pattern).
    • tabsCount

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