org.kite9.diagram.builders.formats.hierarchy
Class HierarchyBuilder
java.lang.Object
org.kite9.diagram.builders.AbstractBuilder
org.kite9.diagram.builders.formats.hierarchy.HierarchyBuilder
public class HierarchyBuilder
- extends AbstractBuilder
This class is used to quickly generate a class hierarchy, provided the top class it
will do the rest.
- Author:
- moffatr
|
Method Summary |
void |
add(boolean traverseDownwards,
Class<?>... classesToAdd)
|
void |
showClasses(Format containerFormat,
Format classFormat)
Adds the classes to the diagram, as well as level-groups, so that classes
with the hierarchical depth are shown on the same level. |
void |
showInheritance(Format classFormat)
Shows the EXTENDS/IMPLEMENTS relationships between the classes. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
classes
protected Set<Class<?>> classes
sortedClasses
protected List<List<Class<?>>> sortedClasses
container
protected Object container
sorted
protected boolean sorted
HierarchyBuilder
public HierarchyBuilder(ProjectModel model,
Aliaser a,
Object container)
add
public void add(boolean traverseDownwards,
Class<?>... classesToAdd)
showClasses
public void showClasses(Format containerFormat,
Format classFormat)
- Adds the classes to the diagram, as well as level-groups, so that classes
with the hierarchical depth are shown on the same level.
showInheritance
public void showInheritance(Format classFormat)
- Shows the EXTENDS/IMPLEMENTS relationships between the classes. Will add
any classes that are not already on the diagram.
Copyright © 2011. All Rights Reserved.