Class SpinBoxDescription.Init<T extends SpinBoxDescription.Init<T>>

Direct Known Subclasses:
SpinBoxDescription.Builder
Enclosing class:
SpinBoxDescription

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

    • Init

      protected Init()
  • Method Details

    • build

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

      public T value(StringProperty value)
      Initializes the spin box value.
      Parameters:
      value - a StringProperty or RegExpProperty representing the spin box value.
      Returns:
      the description instance with the updated state (builder pattern).
    • value

      public T value(String value)
      Initializes the spin box value.
      Parameters:
      value - the spin box value.
      Returns:
      the description instance with the updated state (builder pattern).
    • maximum

      public T maximum(StringProperty max)
      Initializes the maximum value of the spin box.
      Parameters:
      max - a StringProperty or RegExpProperty representing the maximum value of the spin box.
      Returns:
      the description instance with the updated state (builder pattern).
    • maximum

      public T maximum(String max)
      Initializes the maximum value of the spin box.
      Parameters:
      max - the maximum value of the spin box.
      Returns:
      the description instance with the updated state (builder pattern).
    • minimum

      public T minimum(StringProperty min)
      Initializes the minimum value of the spin box.
      Parameters:
      min - a StringProperty or RegExpProperty representing the minimum value of the spin box.
      Returns:
      the description instance with the updated state (builder pattern).
    • minimum

      public T minimum(String min)
      Initializes the minimum value of the spin box.
      Parameters:
      min - the minimum value of the spin box.
      Returns:
      the description instance with the updated state (builder pattern).