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).
    • selectedNodePath

      public T selectedNodePath(String selectedNodePath)
      Initializes the path of the currently selected item in this tree.
      Parameters:
      selectedNodePath - the path of the currently selected item in this tree.
      Returns:
      the description instance with the update state (builder pattern).
    • selectedNodePath

      public T selectedNodePath(StringProperty selectedNodePath)
      Initializes the path of the currently selected item in this tree.
      Parameters:
      selectedNodePath - the path of the currently selected item in this tree.
      Returns:
      the description instance with the update state (builder pattern).
    • firstNode

      public T firstNode(String firstNode)
      Initializes the first node in the list of nodes in this tree.
      Parameters:
      firstNode - the first node in the list of nodes in this tree.
      Returns:
      the description instance with the update state (builder pattern).
    • firstNode

      public T firstNode(StringProperty firstNode)
      Initializes the first node in the list of nodes in this tree.
      Parameters:
      firstNode - a StringProperty (or RegExpProperty) representing the first node in the list of nodes in this tree.
      Returns:
      the description instance with the update state (builder pattern).