Class CalendarDescription.Init<T extends CalendarDescription.Init<T>>

Direct Known Subclasses:
CalendarDescription.Builder
Enclosing class:
CalendarDescription

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

    • Init

      protected Init()
  • Method Details

    • build

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

      public T attachedText(StringProperty attachedText)
      Initializes the static text that is 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 the static text that is attached to the control.
      Parameters:
      attachedText - the static text that is attached to the control.
      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 to set as enabled.
      Returns:
      the description instance with the update state (builder pattern).