Class ButtonDescription.Init<T extends ButtonDescription.Init<T>>

Direct Known Subclasses:
ButtonDescription.Builder
Enclosing class:
ButtonDescription

protected abstract static class ButtonDescription.Init<T extends ButtonDescription.Init<T>> extends UiObjectDescriptionBase.Init<T>
  • Constructor Details

    • Init

      protected Init()
  • Method Details

    • build

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

      public T parentText(StringProperty parentText)
      Initializes text associated with the parent object of this object.
      Parameters:
      parentText - a StringProperty or RegExpProperty
      Returns:
      the description instance with the update state (builder pattern)
    • parentText

      public T parentText(String parentText)
      Initializes the text associated with the parent object of this object.
      Parameters:
      parentText - text associated with the parent object
      Returns:
      the description instance with the update state (builder pattern)
    • name

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

      public T name(String name)
      Initializes the name of this object.
      Parameters:
      name - the name of this object
      Returns:
      the description instance with the update state (builder pattern)
    • helpText

      public T helpText(StringProperty helpText)
      Initializes the help text associated with this object.
      Parameters:
      helpText - a StringProperty or RegExpProperty
      Returns:
      the description instance with the update state (builder pattern)
    • helpText

      public T helpText(String helpText)
      Initializes help text associated with this object.
      Parameters:
      helpText - the help text associated with the this object
      Returns:
      the description instance with the update state (builder pattern)