|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjdepend.swingui.JDepend
The JDepend
class analyzes directories
of Java source and class files, generates metrics for
each Java package, and reports the metrics in a Swing
tree.
Constructor Summary | |
JDepend()
Constructs a JDepend instance. |
Method Summary | |
void |
addDirectory(java.lang.String name)
Adds the specified directory name to the collection of directories to be analyzed. |
void |
analyze()
Analyzes the registered directories, generates metrics for each Java package, and reports the metrics in a graphical format. |
protected javax.swing.JFrame |
createFrame(java.lang.String title)
|
protected javax.swing.JMenu |
createMenu(java.lang.String key)
|
protected javax.swing.JMenuBar |
createMenubar()
|
protected javax.swing.JMenuItem |
createMenuItem(java.lang.String key)
|
protected javax.swing.JProgressBar |
createProgressBar()
|
protected javax.swing.JTextField |
createStatusField()
|
protected StatusPanel |
createStatusPanel()
|
protected javax.swing.JPanel |
createTreePanel()
|
protected javax.swing.JFrame |
createUI()
|
protected void |
display()
|
protected DependTree |
getAfferentTree()
|
protected DependTree |
getEfferentTree()
|
static void |
main(java.lang.String[] args)
Main |
void |
onParsedJavaClass(JavaClass jClass)
Called whenever a Java source file is parsed into the specified JavaClass instance. |
protected void |
showStatusError(java.lang.String message)
|
protected void |
showStatusMessage(java.lang.String message)
|
protected void |
startProgressMonitor(int maxValue)
|
protected void |
stopProgressMonitor()
|
protected void |
updateTree(java.util.ArrayList packages)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public JDepend()
JDepend
instance.
Method Detail |
public void addDirectory(java.lang.String name) throws java.io.IOException
name
- Directory name.
java.io.IOException
- If the directory does not exist.public void analyze()
public void onParsedJavaClass(JavaClass jClass)
JavaClass
instance.
onParsedJavaClass
in interface ParserListener
jClass
- Parsed Java class.protected void display()
protected void updateTree(java.util.ArrayList packages)
protected void startProgressMonitor(int maxValue)
protected void stopProgressMonitor()
protected javax.swing.JFrame createUI()
protected javax.swing.JFrame createFrame(java.lang.String title)
protected javax.swing.JPanel createTreePanel()
protected StatusPanel createStatusPanel()
protected javax.swing.JProgressBar createProgressBar()
protected javax.swing.JTextField createStatusField()
protected javax.swing.JMenuBar createMenubar()
protected javax.swing.JMenu createMenu(java.lang.String key)
protected javax.swing.JMenuItem createMenuItem(java.lang.String key)
protected void showStatusMessage(java.lang.String message)
protected void showStatusError(java.lang.String message)
protected DependTree getAfferentTree()
protected DependTree getEfferentTree()
public static void main(java.lang.String[] args)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |