Interface TreeViewModel

public interface TreeViewModel
A model of a tree.
  • Method Details

    • getNodeInfo

      <T> TreeViewModel.NodeInfo<?> getNodeInfo(T value)
      Get the TreeViewModel.NodeInfo that will provide the ProvidesKey, Cell, and HasData instances to retrieve and display the children of the specified value.
      value - the value in the parent node
      the TreeViewModel.NodeInfo
    • isLeaf

      boolean isLeaf(Object value)
      Check if the value is known to be a leaf node.
      value - the value at the node
      true if the node is known to be a leaf node, false otherwise