|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Thread
org.apache.batik.util.HaltingThread
org.apache.batik.swing.svg.SVGDocumentLoader
public class SVGDocumentLoader
This class represents an object which loads asynchroneaously a SVG document.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class java.lang.Thread |
|---|
Thread.State, Thread.UncaughtExceptionHandler |
| Field Summary | |
|---|---|
protected Exception |
exception
The exception thrown. |
protected List |
listeners
The listeners. |
protected DocumentLoader |
loader
The document loader. |
protected String |
url
The URL of the document, |
| Fields inherited from class org.apache.batik.util.HaltingThread |
|---|
beenHalted |
| Fields inherited from class java.lang.Thread |
|---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
| Constructor Summary | |
|---|---|
SVGDocumentLoader(String u,
DocumentLoader l)
Creates a new SVGDocumentLoader. |
|
| Method Summary | |
|---|---|
void |
addSVGDocumentLoaderListener(SVGDocumentLoaderListener l)
Adds a SVGDocumentLoaderListener to this SVGDocumentLoader. |
void |
fireEvent(EventDispatcher.Dispatcher dispatcher,
Object event)
|
Exception |
getException()
Returns the exception, if any occured. |
void |
removeSVGDocumentLoaderListener(SVGDocumentLoaderListener l)
Removes a SVGDocumentLoaderListener from this SVGDocumentLoader. |
void |
run()
Runs this loader. |
| Methods inherited from class org.apache.batik.util.HaltingThread |
|---|
clearHalted, halt, haltThread, haltThread, hasBeenHalted, hasBeenHalted, isHalted |
| Methods inherited from class java.lang.Thread |
|---|
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected String url
protected DocumentLoader loader
protected Exception exception
protected List listeners
| Constructor Detail |
|---|
public SVGDocumentLoader(String u,
DocumentLoader l)
u - The URL of the document.l - The document loader to use| Method Detail |
|---|
public void run()
run in interface Runnablerun in class Threadpublic Exception getException()
public void addSVGDocumentLoaderListener(SVGDocumentLoaderListener l)
public void removeSVGDocumentLoaderListener(SVGDocumentLoaderListener l)
public void fireEvent(EventDispatcher.Dispatcher dispatcher,
Object event)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||