|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.wicket.extensions.markup.html.repeater.tree.table.NodeModel<T>
public class NodeModel<T>
A model wrapping the actual node model, carrying additional information about the parental branches.
getBranches()
,
ITreeProvider.model(Object)
,
Serialized FormConstructor Summary | |
---|---|
NodeModel(IModel<T> model,
boolean[] branches)
|
Method Summary | |
---|---|
void |
detach()
Detaches model after use. |
boolean |
equals(Object obj)
|
boolean[] |
getBranches()
|
int |
getDepth()
|
T |
getObject()
Gets the model object. |
IModel<T> |
getWrappedModel()
|
int |
hashCode()
|
void |
setObject(T object)
Sets the model object. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NodeModel(IModel<T> model, boolean[] branches)
Method Detail |
---|
public IModel<T> getWrappedModel()
public T getObject()
IModel
getObject
in interface IModel<T>
public void setObject(T object)
IModel
setObject
in interface IModel<T>
object
- The model objectpublic void detach()
IDetachable
detach
in interface IDetachable
public int getDepth()
public boolean[] getBranches()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |