DATATYPE - tree item value type@NotThreadSafe public class DefaultTreeItem<DATATYPE> extends BasicTreeItem<DATATYPE,DefaultTreeItem<DATATYPE>>
ITreeItem interface| Constructor and Description |
|---|
DefaultTreeItem(DefaultTreeItem<DATATYPE> aParent)
Constructor for normal elements.
|
DefaultTreeItem(ITreeItemFactory<DATATYPE,DefaultTreeItem<DATATYPE>> aFactory)
Constructor for root object.
|
changeParent, createChildItem, equals, getAllChildDatas, getChildAtIndex, getChildCount, getChildren, getData, getFactory, getFirstChild, getLastChild, getParent, getParentData, hasChildren, hashCode, internalAddChild, isRootItem, isSameOrChildOf, isValidData, removeChild, reorderChildItems, setData, toStringpublic DefaultTreeItem(@Nonnull ITreeItemFactory<DATATYPE,DefaultTreeItem<DATATYPE>> aFactory)
aFactory - The factory to use for creating tree items. May not be
null.public DefaultTreeItem(@Nonnull DefaultTreeItem<DATATYPE> aParent)
aParent - Parent item to use. May never be null since only the
root has no parent and for the root item a special no-argument
constructor is present.Copyright © 2006–2014 phloc systems. All rights reserved.