Class StatusBarDescription.Init<T extends StatusBarDescription.Init<T>>

Direct Known Subclasses:
StatusBarDescription.Builder
Enclosing class:
StatusBarDescription

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

    • Init

      protected Init()
  • Method Details

    • build

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

      public T text(StringProperty text)
      Initializes the text associated with the status bar.
      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 status bar.
      Parameters:
      text - the text.
      Returns:
      the description instance with the update state (builder pattern).
    • itemsCount

      public T itemsCount(Integer itemsCount)
      Initializes the number of non-empty items contained in the status bar.
      Parameters:
      itemsCount - the number of non-empty items.
      Returns:
      the description instance with the update state (builder pattern).
    • items

      public T items(String[] items)
      Initializes the list of non-empty items in the status bar.
      Parameters:
      items - the list of non-empty items.
      Returns:
      the description instance with the update state (builder pattern).
    • messageAsPopup

      public T messageAsPopup(Boolean messageAsPopup)
      Initializes whether the message is a pop-up.
      Parameters:
      messageAsPopup - true to set as pop-up.
      Returns:
      the description instance with the update state (builder pattern).
    • messageId

      public T messageId(StringProperty messageId)
      Initializes the ID of the message in text format.
      Parameters:
      messageId - a StringProperty or RegExpProperty.
      Returns:
      the description instance with the update state (builder pattern).
    • messageId

      public T messageId(String messageId)
      Initializes the ID of the message in text format.
      Parameters:
      messageId - the ID.
      Returns:
      the description instance with the update state (builder pattern).
    • messageNumber

      public T messageNumber(StringProperty messageNumber)
      Initializes the internal number of the message on the status bar.
      Parameters:
      messageNumber - a StringProperty or RegExpProperty.
      Returns:
      the description instance with the update state (builder pattern).
    • messageNumber

      public T messageNumber(String messageNumber)
      Initializes the internal number of the message on the status bar.
      Parameters:
      messageNumber - the internal number.
      Returns:
      the description instance with the update state (builder pattern).
    • messageType

      public T messageType(StatusBarMessageType messageType)
      Initializes the type of message.
      Parameters:
      messageType - the type.
      Returns:
      the description instance with the update state (builder pattern).