Module org.apache.wicket.extensions
Class NodeModel<T>
java.lang.Object
org.apache.wicket.extensions.markup.html.repeater.tree.table.NodeModel<T>
- Type Parameters:
T
- type of nodes
- All Implemented Interfaces:
Serializable
,IDetachable
,IModel<T>
,IWrapModel<T>
,IClusterable
A model wrapping the actual node model, carrying additional information about the parental
branches.
- Author:
- svenmeier
- See Also:
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
NodeModel
Wrap the given model.- Parameters:
model
- model to wrapbranches
-
-
-
Method Details
-
getWrappedModel
Get the wrapped model.- Specified by:
getWrappedModel
in interfaceIWrapModel<T>
- Returns:
- wrapped model
-
getObject
Description copied from interface:IModel
Gets the model object. -
setObject
Description copied from interface:IModel
Sets the model object. -
detach
Description copied from interface:IWrapModel
Calls getWrappedModel().detach();- Specified by:
detach
in interfaceIDetachable
- Specified by:
detach
in interfaceIModel<T>
- Specified by:
detach
in interfaceIWrapModel<T>
- See Also:
-
getDepth
-
getBranches
-
hashCode
-
equals
-