Class TreeViewDescription.Init<T extends TreeViewDescription.Init<T>>

Direct Known Subclasses:
TreeViewDescription.Builder
Enclosing class:
TreeViewDescription

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

    • Init

      protected Init()
  • Method Details

    • build

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

      public T visibleNodes(String[] visibleNodes)
      Initializes the visible nodes in the tree view.
      Parameters:
      visibleNodes - the visible nodes in the tree view.
      Returns:
      the description instance with the update state (builder pattern)
    • selectedNodes

      public T selectedNodes(String[] selectedNodes)
      Initializes the selected nodes in the tree view.
      Parameters:
      selectedNodes - the selected nodes in the tree view.
      Returns:
      the description instance with the update state (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)