DATATYPE - The type of object in the hierarchy to be iteratedpublic class DefaultHierarchyWalkerCallback<DATATYPE> extends DefaultHierarchyWalker implements IHierarchyWalkerCallback<DATATYPE>
IHierarchyWalkerCallback interface
doing nothing.| Constructor and Description |
|---|
DefaultHierarchyWalkerCallback() |
DefaultHierarchyWalkerCallback(int nInitialLevel) |
| Modifier and Type | Method and Description |
|---|---|
void |
onItemAfterChildren(DATATYPE aItem)
Called after eventual children of the current item were iterated.
|
void |
onItemBeforeChildren(DATATYPE aItem)
Called before eventual children of the current item are iterated.
|
begin, end, getLevel, onLevelDown, onLevelUpclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbegin, end, getLevel, onLevelDown, onLevelUppublic DefaultHierarchyWalkerCallback()
public DefaultHierarchyWalkerCallback(int nInitialLevel)
@OverrideOnDemand public void onItemBeforeChildren(DATATYPE aItem)
IHierarchyWalkerCallbackonItemBeforeChildren in interface IHierarchyWalkerCallback<DATATYPE>aItem - The current tree item. May be null.@OverrideOnDemand public void onItemAfterChildren(DATATYPE aItem)
IHierarchyWalkerCallbackonItemAfterChildren in interface IHierarchyWalkerCallback<DATATYPE>aItem - The current tree item. May be null.Copyright © 2006–2014 phloc systems. All rights reserved.