![]() |
AuD
Lecture 'Algorithmen und Datenstrukturen' (code examples)
|
Simple SVG viewer based on Batik's SVGCanvas. More...
Collaboration diagram for aud.util.SVGViewer:Public Member Functions | |
| SVGViewer (JFrame parent, File svgfile) | |
| create new instance More... | |
| JFrame | parent () |
| get parent widget More... | |
| JLabel | statusbar () |
| get status bar More... | |
| void | close () |
| close viewer More... | |
| void | display (File file) |
| display svg file More... | |
| void | display () |
| display current svg file More... | |
| void | setExitOnClose () |
| exit application if viewer is closed More... | |
Static Public Member Functions | |
| static void | help () |
| print help (mouse/key bindings) to stdout More... | |
| static SVGViewer | displayWindow (File file, String caption) |
create new SVGViewer (toplevel window) and display file More... | |
| static void | main (String[] args) |
| visualize given dot files (file names as command line arguments) More... | |
Protected Member Functions | |
| JComponent | createComponents () |
Protected Attributes | |
| JFrame | frame |
| JSVGCanvas | svgCanvas |
| JLabel | label |
| File | svgfile |
Simple SVG viewer based on Batik's SVGCanvas.
Usage:
Ctrl+O = zoom out
Definition at line 33 of file SVGViewer.java.
| aud.util.SVGViewer.SVGViewer | ( | JFrame | parent, |
| File | svgfile | ||
| ) |
create new instance
Definition at line 41 of file SVGViewer.java.
References aud.util.SVGViewer.createComponents(), aud.util.SVGViewer.frame, aud.util.SVGViewer.label, aud.util.SVGViewer.parent(), aud.util.SVGViewer.svgCanvas, and aud.util.SVGViewer.svgfile.
Here is the call graph for this function:| void aud.util.SVGViewer.close | ( | ) |
|
protected |
Definition at line 71 of file SVGViewer.java.
References aud.util.SVGViewer.label, and aud.util.SVGViewer.svgCanvas.
Referenced by aud.util.SVGViewer.SVGViewer().
Here is the caller graph for this function:| void aud.util.SVGViewer.display | ( | ) |
display current svg file
Definition at line 87 of file SVGViewer.java.
References aud.util.SVGViewer.svgCanvas, and aud.util.SVGViewer.svgfile.
Referenced by aud.util.SVGViewer.display().
Here is the caller graph for this function:| void aud.util.SVGViewer.display | ( | File | file | ) |
display svg file
Definition at line 82 of file SVGViewer.java.
References aud.util.SVGViewer.display(), and aud.util.SVGViewer.svgfile.
Referenced by aud.util.SVGViewer.displayWindow().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
create new SVGViewer (toplevel window) and display file
Definition at line 106 of file SVGViewer.java.
References aud.util.SVGViewer.display().
Referenced by aud.util.SVGViewer.main(), and aud.graph.matrix.SparseMatrixCS< T >.spy().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
print help (mouse/key bindings) to stdout
Definition at line 92 of file SVGViewer.java.
Referenced by aud.util.SVGViewer.main().
Here is the caller graph for this function:
|
static |
visualize given dot files (file names as command line arguments)
Definition at line 126 of file SVGViewer.java.
References aud.util.SVGViewer.displayWindow(), aud.util.SVGViewer.help(), and aud.util.SVGViewer.setExitOnClose().
Here is the call graph for this function:| JFrame aud.util.SVGViewer.parent | ( | ) |
get parent widget
Definition at line 61 of file SVGViewer.java.
References aud.util.SVGViewer.frame.
Referenced by aud.util.SVGViewer.setExitOnClose(), and aud.util.SVGViewer.SVGViewer().
Here is the caller graph for this function:| void aud.util.SVGViewer.setExitOnClose | ( | ) |
exit application if viewer is closed
Definition at line 117 of file SVGViewer.java.
References aud.util.SVGViewer.parent().
Referenced by aud.util.SVGViewer.main().
Here is the call graph for this function:
Here is the caller graph for this function:| JLabel aud.util.SVGViewer.statusbar | ( | ) |
|
protected |
Definition at line 35 of file SVGViewer.java.
Referenced by aud.util.SVGViewer.close(), aud.util.SVGViewer.parent(), and aud.util.SVGViewer.SVGViewer().
|
protected |
Definition at line 37 of file SVGViewer.java.
Referenced by aud.util.SVGViewer.createComponents(), aud.util.SVGViewer.statusbar(), and aud.util.SVGViewer.SVGViewer().
|
protected |
Definition at line 36 of file SVGViewer.java.
Referenced by aud.util.SVGViewer.createComponents(), aud.util.SVGViewer.display(), and aud.util.SVGViewer.SVGViewer().
|
protected |
Definition at line 38 of file SVGViewer.java.
Referenced by aud.util.SVGViewer.display(), and aud.util.SVGViewer.SVGViewer().