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,org.apache.wicket.model.IDetachable,org.apache.wicket.model.IModel<T>,org.apache.wicket.model.IWrapModel<T>,org.apache.wicket.util.io.IClusterable
public class NodeModel<T> extends Object implements org.apache.wicket.model.IWrapModel<T>
A model wrapping the actual node model, carrying additional information about the parental branches.- Author:
- svenmeier
- See Also:
getBranches(),ITreeProvider.model(Object), Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddetach()booleanequals(Object obj)boolean[]getBranches()intgetDepth()TgetObject()org.apache.wicket.model.IModel<T>getWrappedModel()Get the wrapped model.inthashCode()voidsetObject(T object)
-
-
-
Method Detail
-
getWrappedModel
public org.apache.wicket.model.IModel<T> getWrappedModel()
Get the wrapped model.- Specified by:
getWrappedModelin interfaceorg.apache.wicket.model.IWrapModel<T>- Returns:
- wrapped model
-
detach
public void detach()
-
getDepth
public int getDepth()
-
getBranches
public boolean[] getBranches()
-
-