|
|||||||||
| Home >> All >> org >> apache >> batik >> swing >> [ svg overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.apache.batik.swing.svg
Class SVGDocumentLoader

java.lang.Objectjava.lang.Thread
org.apache.batik.util.HaltingThread
org.apache.batik.swing.svg.SVGDocumentLoader
- All Implemented Interfaces:
- java.lang.Runnable
- public class SVGDocumentLoader
- extends org.apache.batik.util.HaltingThread
This class represents an object which loads asynchroneaously a SVG document.
- Version:
- $Id: SVGDocumentLoader.java,v 1.11 2004/10/23 17:11:03 deweese Exp $
| Nested Class Summary |
| Nested classes inherited from class java.lang.Thread |
java.lang.Thread.UncaughtExceptionHandler |
| Field Summary | |
(package private) static org.apache.batik.util.EventDispatcher.Dispatcher |
cancelledDispatcher
|
(package private) static org.apache.batik.util.EventDispatcher.Dispatcher |
completedDispatcher
|
protected java.lang.Exception |
exception
The exception thrown. |
(package private) static org.apache.batik.util.EventDispatcher.Dispatcher |
failedDispatcher
|
protected java.util.List |
listeners
The listeners. |
protected org.apache.batik.bridge.DocumentLoader |
loader
The document loader. |
(package private) static org.apache.batik.util.EventDispatcher.Dispatcher |
startedDispatcher
|
protected java.lang.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(java.lang.String u,
org.apache.batik.bridge.DocumentLoader l)
Creates a new SVGDocumentLoader. |
|
| Method Summary | |
void |
addSVGDocumentLoaderListener(SVGDocumentLoaderListener l)
Adds a SVGDocumentLoaderListener to this SVGDocumentLoader. |
void |
fireEvent(org.apache.batik.util.EventDispatcher.Dispatcher dispatcher,
java.lang.Object event)
|
java.lang.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, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, 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 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
url
protected java.lang.String url
- The URL of the document,
loader
protected org.apache.batik.bridge.DocumentLoader loader
- The document loader.
exception
protected java.lang.Exception exception
- The exception thrown.
listeners
protected java.util.List listeners
- The listeners.
startedDispatcher
static org.apache.batik.util.EventDispatcher.Dispatcher startedDispatcher
completedDispatcher
static org.apache.batik.util.EventDispatcher.Dispatcher completedDispatcher
cancelledDispatcher
static org.apache.batik.util.EventDispatcher.Dispatcher cancelledDispatcher
failedDispatcher
static org.apache.batik.util.EventDispatcher.Dispatcher failedDispatcher
| Constructor Detail |
SVGDocumentLoader
public SVGDocumentLoader(java.lang.String u, org.apache.batik.bridge.DocumentLoader l)
- Creates a new SVGDocumentLoader.
| Method Detail |
run
public void run()
- Runs this loader.
getException
public java.lang.Exception getException()
- Returns the exception, if any occured.
addSVGDocumentLoaderListener
public void addSVGDocumentLoaderListener(SVGDocumentLoaderListener l)
- Adds a SVGDocumentLoaderListener to this SVGDocumentLoader.
removeSVGDocumentLoaderListener
public void removeSVGDocumentLoaderListener(SVGDocumentLoaderListener l)
- Removes a SVGDocumentLoaderListener from this SVGDocumentLoader.
fireEvent
public void fireEvent(org.apache.batik.util.EventDispatcher.Dispatcher dispatcher,
java.lang.Object event)
|
|||||||||
| Home >> All >> org >> apache >> batik >> swing >> [ svg overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC