|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.swing.SwingWorker<java.lang.Boolean,java.lang.Void>
net.sf.latexdraw.generators.svg.SVGDocumentGenerator.IOWorker
net.sf.latexdraw.generators.svg.SVGDocumentGenerator.LoadWorker
class SVGDocumentGenerator.LoadWorker
The worker that loads SVG documents.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class javax.swing.SwingWorker |
---|
javax.swing.SwingWorker.StateValue |
Field Summary |
---|
Fields inherited from class net.sf.latexdraw.generators.svg.SVGDocumentGenerator.IOWorker |
---|
path, statusBar, ui |
Constructor Summary | |
---|---|
protected |
SVGDocumentGenerator.LoadWorker(UI ui,
java.lang.String path,
java.lang.Object statusBar)
|
Method Summary | |
---|---|
protected java.lang.Boolean |
doInBackground()
|
private void |
loadInstruments(org.w3c.dom.Element meta,
Instrument[] instruments)
Loads the instruments of the systems. |
private IShape |
toLatexdraw(SVGDocument doc,
double incrProgressBar)
Converts an SVG document into a set of shapes. |
Methods inherited from class net.sf.latexdraw.generators.svg.SVGDocumentGenerator.IOWorker |
---|
done, getDocumentName |
Methods inherited from class javax.swing.SwingWorker |
---|
addPropertyChangeListener, cancel, execute, firePropertyChange, get, get, getProgress, getPropertyChangeSupport, getState, isCancelled, isDone, process, publish, removePropertyChangeListener, run, setProgress |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected SVGDocumentGenerator.LoadWorker(UI ui, java.lang.String path, java.lang.Object statusBar)
Method Detail |
---|
private IShape toLatexdraw(SVGDocument doc, double incrProgressBar)
doc
- The SVG document.incrProgressBar
- The increment that will be used by the progress bar.
private void loadInstruments(org.w3c.dom.Element meta, Instrument[] instruments)
meta
- The meta-data that contains the data of the instruments.instruments
- The instruments to set.protected java.lang.Boolean doInBackground() throws java.lang.Exception
doInBackground
in class SVGDocumentGenerator.IOWorker
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |