This class is a wrapper element for any {@link Object} that should be linkedinto a tree data structure as represented by {@link AbstractTreeNode}, but that might by itself not be an instance of {@link TreeNode}, i.e., not compatible with the remaining tree data structure. In analogy to {@link MutableTreeNode} we call this {@link Object} {@code userObject}(see {@link #getUserObject()} and {@link #setUserObject(Object)}).
This wrapper distinguishes the following special cases depending on the type of {@code userObject} when accessing the i-th child of this{@link TreeNode}. The {@code userObject} is an instance of
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|