Class CheckBoxDescription.Init<T extends CheckBoxDescription.Init<T>>

Direct Known Subclasses:
CheckBoxDescription.Builder
Enclosing class:
CheckBoxDescription

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

    • Init

      protected Init()
  • Method Details

    • build

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

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

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

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

      public T checked(Boolean checked)
      Initializes whether the object is checked.
      Parameters:
      checked - true if checked.
      Returns:
      the description instance with the update state (builder pattern).