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 UiObjectDescriptionBase.Init<T>
  • 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 DescriptionBase.Init<T extends StatusBarDescription.Init<T>>
      Returns:
      The built description instance (builder pattern).
    • items

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

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

      public T rightAligned(Boolean isRightAligned)
      Initializes whether the object has generic right-aligned properties.
      Parameters:
      isRightAligned - true if has generic right-aligned properties
      Returns:
      the description instance with the update state (builder pattern)
    • rightToLeftLayout

      public T rightToLeftLayout(Boolean isRightToLeftLayout)
      Initializes whether the object's horizontal origin is on the right edge.
      Parameters:
      isRightToLeftLayout - true if horizontal origin on right edge
      Returns:
      the description instance with the update state (builder pattern)
    • rightToLeftReading

      public T rightToLeftReading(Boolean isRightToLeftReading)
      Initializes whether the object's text is displayed using right-to-left reading-order properties.
      Parameters:
      isRightToLeftReading - true if text is displayed right-to-left
      Returns:
      the description instance with the update state (builder pattern)
    • attachedText

      public T attachedText(StringProperty attachedText)
      Initializes the static text that is attached to this object.
      Parameters:
      attachedText - a StringProperty or RegExpProperty
      Returns:
      the description instance with the update state (builder pattern)
    • attachedText

      public T attachedText(String attachedText)
      Initializes the static text that is attached to this object.
      Parameters:
      attachedText - the static text
      Returns:
      the description instance with the update state (builder pattern)
    • windowExtendedStyle

      public T windowExtendedStyle(EnumSet<WindowExtendedStyles> windowExtendedStyle)
      Sets the extended window style of the object. Possible values: WindowExtendedStyles
      Note: the two windowExtendedStyle overloads are mutually exclusive, using both will cause a runtime exception.
      Parameters:
      windowExtendedStyle - the extended window style of the object.
      Returns:
      the extended window style of the object.
    • windowStyle

      public T windowStyle(EnumSet<WindowStyles> windowStyle)
      Sets the window style of the object. Possible values: WindowStyles
      Note: the two windowStyle overloads are mutually exclusive, using both will cause a runtime exception.
      Parameters:
      windowStyle - the window style of the object. Possible values: WindowStyles
      Returns:
      the window style of the object.
    • windowExtendedStyle

      public T windowExtendedStyle(Long windowExtendedStyle)
      Sets the extended window style of the object as long.
      Note: the two windowExtendedStyle overloads are mutually exclusive, using both will cause a runtime exception.
      Parameters:
      windowExtendedStyle - the extended window style of the object as long.
      Returns:
      the extended window style of the object.
    • windowStyle

      public T windowStyle(Long windowStyle)
      Sets the window style of the object as long.
      Note: the two windowStyle overloads are mutually exclusive, using both will cause a runtime exception.
      Parameters:
      windowStyle - the window style of the object as long.
      Returns:
      the window style of the object.