public class SVGDocumentLoader extends HaltingThread
Thread.State, Thread.UncaughtExceptionHandler
Modifier and Type | Field and Description |
---|---|
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,
|
beenHalted
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
Constructor and Description |
---|
SVGDocumentLoader(String u,
DocumentLoader l)
Creates a new SVGDocumentLoader.
|
Modifier and Type | Method and Description |
---|---|
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.
|
clearHalted, halt, haltThread, haltThread, hasBeenHalted, hasBeenHalted, isHalted
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
protected String url
protected DocumentLoader loader
protected Exception exception
protected List listeners
public SVGDocumentLoader(String u, DocumentLoader l)
u
- The URL of the document.l
- The document loader to usepublic void run()
public Exception getException()
public void addSVGDocumentLoaderListener(SVGDocumentLoaderListener l)
public void removeSVGDocumentLoaderListener(SVGDocumentLoaderListener l)
public void fireEvent(EventDispatcher.Dispatcher dispatcher, Object event)
Copyright © 2000–2023 Apache Software Foundation. All rights reserved.