Class SliderDescription.Init<T extends SliderDescription.Init<T>>

Direct Known Subclasses:
SliderDescription.Builder
Enclosing class:
SliderDescription

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

    • Init

      protected Init()
  • Method Details

    • build

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

      public T containerAttachedText(String containerAttachedText)
      Initializes the slider container's attached text .
      Parameters:
      containerAttachedText - the container's attached text.
      Returns:
      the description instance with the updated state (builder pattern).
    • containerAttachedText

      public T containerAttachedText(StringProperty containerAttachedText)
      Initializes the slider container's attached text.
      Parameters:
      containerAttachedText - a StringProperty or RegExpProperty.
      Returns:
      the description instance with the updated state (builder pattern).
    • orientation

      public T orientation(SliderOrientation orientation)
      Initializes the orientation of the slider.
      Parameters:
      orientation - the orientation of the slider.
      Returns:
      the description instance with the updated state (builder pattern).
    • position

      public T position(Integer position)
      Initializes the position of the slider.
      Parameters:
      position - the position of the slider.
      Returns:
      the description instance with the updated state (builder pattern).
    • maxPosition

      public T maxPosition(Integer maxPosition)
      Initializes the maximum position of the slider.
      Parameters:
      maxPosition - the maximum position of the slider.
      Returns:
      the description instance with the updated state (builder pattern).
    • minPosition

      public T minPosition(Integer minPosition)
      Initializes the minimum position of the slider.
      Parameters:
      minPosition - the minimum position of the slider.
      Returns:
      the description instance with the updated state (builder pattern).
    • isScrollBar

      public T isScrollBar(Boolean isScrollBar)
      Initializes whether slider is a scrollBar.
      Parameters:
      isScrollBar - true if slider is a scrollBar.
      Returns:
      the description instance with the updated state (builder pattern).