|
GWT 2.7.0 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static interface TreeViewModel.NodeInfo<T>
The info needed to create the children of a tree node.
Method Summary | |
---|---|
Cell<T> |
getCell()
Get the Cell used to render the children of this node. |
ProvidesKey<T> |
getProvidesKey()
Return the key provider for children of this node. |
SelectionModel<? super T> |
getSelectionModel()
Get the SelectionModel used for the children of this node. |
ValueUpdater<T> |
getValueUpdater()
Get the value updater associated with the cell. |
void |
setDataDisplay(HasData<T> display)
Set the display that is listening to this TreeViewModel.DefaultNodeInfo . |
void |
unsetDataDisplay()
Unset the display from the TreeViewModel.DefaultNodeInfo . |
Method Detail |
---|
Cell<T> getCell()
Cell
used to render the children of this node.
Cell
ProvidesKey<T> getProvidesKey()
ProvidesKey
SelectionModel<? super T> getSelectionModel()
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
.
SelectionModel
ValueUpdater<T> getValueUpdater()
void setDataDisplay(HasData<T> display)
TreeViewModel.DefaultNodeInfo
. The
implementation should attach the display to the source of data.
display
- the HasData
void unsetDataDisplay()
TreeViewModel.DefaultNodeInfo
. The implementation should
detach the display from the source of data.
|
GWT 2.7.0 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |