de.grogra.pf.ui.tree
Class HierarchyFlattener
java.lang.Object
de.grogra.pf.ui.tree.HierarchyFlattener
- All Implemented Interfaces:
- UITreePipeline.Transformer, Disposable
public class HierarchyFlattener
- extends java.lang.Object
- implements UITreePipeline.Transformer
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HierarchyFlattener
public HierarchyFlattener()
HierarchyFlattener
public HierarchyFlattener(ObjectToBoolean filter,
boolean insertSeparator)
dispose
public void dispose()
- Specified by:
dispose
in interface Disposable
flattenGroup
protected boolean flattenGroup(UITreePipeline.Node node)
hasContent
protected boolean hasContent(UITreePipeline.Node node)
initialize
public void initialize(UITreePipeline pipeline)
- Specified by:
initialize
in interface UITreePipeline.Transformer
isAffectedBy
public boolean isAffectedBy(javax.swing.tree.TreePath path)
- Specified by:
isAffectedBy
in interface UITreePipeline.Transformer
isLeaf
protected boolean isLeaf(UITreePipeline.Node node)
transform
public void transform(UITreePipeline.Node root)
- Specified by:
transform
in interface UITreePipeline.Transformer