public abstract class AbstractDependencyDiagram extends java.lang.Object implements RefreshableElement
Modifier and Type | Field and Description |
---|---|
protected java.io.File[] |
files |
protected com.mxgraph.view.mxGraph |
graph |
protected java.lang.Object |
graphParent |
protected java.util.List<JarDependencies> |
jarList |
protected javax.swing.JPanel |
panel |
Constructor and Description |
---|
AbstractDependencyDiagram() |
Modifier and Type | Method and Description |
---|---|
javax.swing.JComponent |
buildDiagram(java.io.File[] files)
Return the diagram of dependencies between an array of jar files or class files directories.
|
protected abstract javax.swing.JComponent |
buildDiagram(java.util.List<JarDependencies> jarList) |
protected org.girod.jgraphml.model.GraphMLDiagram |
createDiagram() |
abstract org.girod.jgraphml.model.GraphMLDiagram |
exportAsGraphML()
Export the diagram as a GraphML diagram.
|
javax.swing.JComponent |
refresh(org.mdi.bootstrap.swing.TabbedApplication appli) |
protected com.mxgraph.view.mxGraph graph
protected javax.swing.JPanel panel
protected java.io.File[] files
protected java.lang.Object graphParent
protected java.util.List<JarDependencies> jarList
public javax.swing.JComponent refresh(org.mdi.bootstrap.swing.TabbedApplication appli) throws java.io.IOException
refresh
in interface RefreshableElement
java.io.IOException
public javax.swing.JComponent buildDiagram(java.io.File[] files) throws java.io.IOException
files
- the array of jar files of class file directoriesjava.io.IOException
- if one of the Jar files does not exist or is unreadable, or is not a Jar fileprotected abstract javax.swing.JComponent buildDiagram(java.util.List<JarDependencies> jarList) throws java.io.IOException
java.io.IOException
protected org.girod.jgraphml.model.GraphMLDiagram createDiagram()
public abstract org.girod.jgraphml.model.GraphMLDiagram exportAsGraphML()
Copyright © 2016-2023 Herve Girod. All Rights Reserved. Documentation and source under the LGPL licence