public static interface

TreeViewModel.NodeInfo

com.google.gwt.view.client.TreeViewModel.NodeInfo<T>
Known Indirect Subclasses

Class Overview

The info needed to create the children of a tree node.

Summary

Public Methods
abstract Cell<T> getCell()
Get the Cell used to render the children of this node.
abstract ProvidesKey<T> getProvidesKey()
Return the key provider for children of this node.
abstract SelectionModel<? super T> getSelectionModel()
Get the SelectionModel used for the children of this node.
abstract ValueUpdater<T> getValueUpdater()
Get the value updater associated with the cell.
abstract void setDataDisplay(HasData<T> display)
Set the display that is listening to this TreeViewModel.DefaultNodeInfo.
abstract void unsetDataDisplay()
Unset the display from the TreeViewModel.DefaultNodeInfo.

Public Methods

public abstract Cell<T> getCell ()

Get the Cell used to render the children of this node.

Returns

public abstract ProvidesKey<T> getProvidesKey ()

Return the key provider for children of this node.

Returns

public abstract SelectionModel<? super T> getSelectionModel ()

Get the SelectionModel used for the children of this node. To unify selection across all items of the same type, or across the entire tree, return the same instance of SelectionModel from all TreeViewModel.DefaultNodeInfo.

Returns

public abstract ValueUpdater<T> getValueUpdater ()

Get the value updater associated with the cell.

Returns
  • the value updater

public abstract void setDataDisplay (HasData<T> display)

Set the display that is listening to this TreeViewModel.DefaultNodeInfo. The implementation should attach the display to the source of data.

Parameters
display the HasData

public abstract void unsetDataDisplay ()

Unset the display from the TreeViewModel.DefaultNodeInfo. The implementation should detach the display from the source of data.