|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.tensegrity.graph.classdiagram.ClassDiagramConfiguration
This class encapsulates a single configuration for the generator
class ClassDiagramGenerator.
| Constructor Summary | |
ClassDiagramConfiguration(java.lang.String name,
java.util.Collection classes)
Constructs a new ClassDiagramGenerator instance. |
|
| Method Summary | |
ClassDiagramFilter |
getClassDiagramFilter()
Returns the currently active class filter of type ClassDiagramFilter or null is none is set. |
java.util.Collection |
getClasses()
Returns a non-modifyable collection of classes to scan. |
java.lang.String |
getName()
Returns the name of this ClassDiagramGenerator instance. |
boolean |
isDoClasses()
Returns the current setting of the flag doClasses. |
boolean |
isDoInterfaces()
Returns the current setting of the flag doInterfaces. |
boolean |
isDoMethods()
Returns the current setting of the flag doMethods. |
void |
setClassDiagramFilter(ClassDiagramFilter filter)
Sets the filter-predicate that is used to sort out classes or interfaces from the generation process in a user-defined way. |
void |
setDoClasses(boolean doClasses)
Whether to follow the superclass when tracing a single class. |
void |
setDoInterfaces(boolean doInterfaces)
Whether to follow super-interfaces when tracing a single class. |
void |
setDoMethods(boolean doMethods)
Whether to include methods in the visualization. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ClassDiagramConfiguration(java.lang.String name,
java.util.Collection classes)
ClassDiagramGenerator instance.
name - the name of this configuration instance.classes - a Collection of classes that are the roots
of the class hierarchy traversal.| Method Detail |
public final java.lang.String getName()
ClassDiagramGenerator instance.
ClassDiagramGenerator instance.public final java.util.Collection getClasses()
public final boolean isDoClasses()
public final void setDoClasses(boolean doClasses)
public final boolean isDoInterfaces()
public final void setDoInterfaces(boolean doInterfaces)
doInterfaces - true if super-interfaces are to be traced, otherwise
falsepublic final boolean isDoMethods()
public final void setDoMethods(boolean doMethods)
doMethods - true if methods should be included in the visualization.public final ClassDiagramFilter getClassDiagramFilter()
ClassDiagramFilter or null is none is set.
public final void setClassDiagramFilter(ClassDiagramFilter filter)
filter - the ClassDiagramFilter to customize
the class-diagram-generation.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||