Package org.xhtmlrenderer.swing
Class ImageLoadWorker
java.lang.Object
java.lang.Thread
org.xhtmlrenderer.swing.ImageLoadWorker
- All Implemented Interfaces:
Runnable
A background thread (daemon, low priority) which reads BackgroundImageLoaderItem from a BackgroundImageQueue
and loads the images into memory. Once images have loaded, the item's MutableFSImage will receive the newly loaded
image via setImage(newImage). Images, once loaded, are always BufferedImages and will always be compatible with
the current screen's graphics configuration. If an image cannot be loaded (network failure), a 1 x 1 pixel image
will be returned instead and the problem will be logged.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Thread
Thread.Builder, Thread.State, Thread.UncaughtExceptionHandler
-
Field Summary
FieldsFields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Thread
activeCount, checkAccess, clone, countStackFrames, currentThread, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, isVirtual, join, join, join, join, ofPlatform, ofVirtual, onSpinWait, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, sleep, start, startVirtualThread, stop, suspend, threadId, toString, yield