public abstract class TreeViewModel extends org.apache.wicket.model.LoadableDetachableModel<List<? extends TreeNode<?>>>
TreeNodeFactory,
Serialized Form| Constructor and Description |
|---|
TreeViewModel()
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
protected List<? extends TreeNode<?>> |
load() |
protected abstract List<? extends TreeNode<?>> |
load(int nodeId)
Loads children nodes of specified
nodeId |
void |
setNodeId(int nodeId)
Sets the node-id
|
protected abstract List<? extends TreeNode<?>> load(int nodeId)
nodeIdnodeId - the (parent) node-idTreeNodepublic void setNodeId(int nodeId)
nodeId - the node-idCopyright © 2021 7thWeb. All rights reserved.