T
- type of nodespublic class NodeModel<T> extends Object implements IWrapModel<T>
getBranches()
,
ITreeProvider.model(Object)
,
Serialized FormConstructor and Description |
---|
NodeModel(IModel<T> model,
boolean[] branches)
Wrap the given model.
|
Modifier and Type | Method and Description |
---|---|
void |
detach()
Detaches model after use.
|
boolean |
equals(Object obj) |
boolean[] |
getBranches() |
int |
getDepth() |
T |
getObject()
Gets the model object.
|
IModel<T> |
getWrappedModel()
Get the wrapped model.
|
int |
hashCode() |
void |
setObject(T object)
Sets the model object.
|
public IModel<T> getWrappedModel()
getWrappedModel
in interface IWrapModel<T>
public void setObject(T object)
IModel
public void detach()
IDetachable
detach
in interface IDetachable
public int getDepth()
public boolean[] getBranches()
Copyright © 2006–2021 Apache Software Foundation. All rights reserved.