Class LinkDescription.Init<T extends LinkDescription.Init<T>>

Direct Known Subclasses:
LinkDescription.Builder
Enclosing class:
LinkDescription

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

    • Init

      protected Init()
  • Method Details

    • build

      public LinkDescription build()
      Description copied from class: DescriptionBase.Init
      Returns the built description instance (builder pattern).
      Overrides:
      build in class DescriptionBase.Init<T extends LinkDescription.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 - the text to associate 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)