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 WebElementDescription.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 WebElementDescription.Init<T extends TreeViewDescription.Init<T>>
      Returns:
      The built description instance (builder pattern).
    • enabled

      public T enabled(Boolean enabled)
      Initializes whether the tree is enabled.
      Parameters:
      enabled - true to enable.
      Returns:
      the description instance with the update state (builder pattern).
    • visibleNodes

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

      public T selectedNode(String selectedNode)
      Initializes the path of the selected node of the description instance.
      Parameters:
      selectedNode - the path of the selected node of the description instance.
      Returns:
      the description instance with the update state (builder pattern).
    • selectedNode

      public T selectedNode(StringProperty selectedNode)
      Initializes the path of the selected node of the description instance.
      Parameters:
      selectedNode - the path of the selected node of the description instance.
      Returns:
      the description instance with the update state (builder pattern).