Class RadioButtonDescription.Init<T extends RadioButtonDescription.Init<T>>

Direct Known Subclasses:
RadioButtonDescription.Builder
Enclosing class:
RadioButtonDescription

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

    • Init

      protected Init()
  • Method Details

    • build

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

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

      public T attachedText(String attachedText)
      Initializes static text attached to the control.
      Parameters:
      attachedText - the static text.
      Returns:
      the description instance with the update state (builder pattern).
    • enabled

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

      public T checked(Boolean checked)
      Initializes whether the radio button is selected.
      Parameters:
      checked - true to set as selected.
      Returns:
      the description instance with the update state (builder pattern).