NODE
- is the generic type of the contained
tree node.SELF
- is the generic type of this container itself.public abstract class AbstractNodeContainer<NODE,SELF extends AbstractNodeContainer<NODE,SELF>> extends AbstractItemContainer<NODE,SELF> implements NodeContainer<NODE,SELF>
NodeContainer
.Constructor and Description |
---|
AbstractNodeContainer(AbstractUiWidgetAbstractDataSet<?,?,NODE,SELF> widget)
The constructor.
|
AbstractNodeContainer(AbstractUiWidgetAbstractDataSet<?,?,NODE,SELF> widget,
SELF parent)
The constructor.
|
Modifier and Type | Method and Description |
---|---|
SELF |
getParent() |
void |
setParent(SELF parent) |
getItem, getItemEdited, getItemOriginal, getSelectionMode, getUiWidget, getValue, isContainerForItem, setItemEdited, setItemOriginal
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getItem, getItemEdited, getItemOriginal, getValue, isContainerForItem, setItemEdited, setItemOriginal
setSelected
isSelected
setSelectionMode
getSelectionMode
private SELF extends AbstractNodeContainer<NODE,SELF> parent
getParent()
public AbstractNodeContainer(AbstractUiWidgetAbstractDataSet<?,?,NODE,SELF> widget)
widget
- is the widget
creating and owning this
AbstractItemContainer
.public AbstractNodeContainer(AbstractUiWidgetAbstractDataSet<?,?,NODE,SELF> widget, SELF parent)
widget
- is the widget
creating and owning this
AbstractItemContainer
.parent
- is the parent container
.public SELF getParent()
getParent
in interface NodeContainer<NODE,SELF extends AbstractNodeContainer<NODE,SELF>>
AbstractNodeContainer
with the parent node
or null
if
this is the AbstractNodeContainer
for the root node.public void setParent(SELF parent)
setParent
in interface NodeContainer<NODE,SELF extends AbstractNodeContainer<NODE,SELF>>
parent
- is the new parent
.Copyright © 2001–2016 mmm-Team. All rights reserved.