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 UiObjectBaseDescription.Init<T>
Helper class for TreeViewDescription.Builder.
  • 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).
    • visibleNodesCount

      public T visibleNodesCount(Integer visibleNodesCount)
      Initializes the number of visible nodes in the tree.
      Parameters:
      visibleNodesCount - the number of visible nodes in the tree.
      Returns:
      the description instance with the updated state (builder pattern).
    • columnsCount

      public T columnsCount(Integer columnsCount)
      Initializes the number of columns in the tree.
      Parameters:
      columnsCount - the number of columns in the tree.
      Returns:
      the description instance with the updated state (builder pattern).
    • selectedNodes

      public T selectedNodes(String[] selectedNodes)
      Initializes the selected nodes in the tree.
      Parameters:
      selectedNodes - the selected nodes in the tree.
      Returns:
      the description instance with the updated state (builder pattern).