public class BulkImageLoader
extends java.lang.Thread
Modifier and Type | Class and Description |
---|---|
class |
BulkImageLoader.DynImage
class used to show the Image on screen.
|
Modifier and Type | Field and Description |
---|---|
java.lang.String[] |
arqs |
int |
current |
Image[] |
loaded |
int |
pagesInMemory |
int |
pageSize |
boolean |
running |
Constructor and Description |
---|
BulkImageLoader(int pagesInMemory,
int pageSize,
java.lang.String imageFolder,
java.lang.String[] arqs) |
Modifier and Type | Method and Description |
---|---|
Image |
getImage(int idx)
Returns the image at the given index
|
void |
run() |
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
public boolean running
public int pagesInMemory
public int pageSize
public int current
public java.lang.String[] arqs
public Image[] loaded
public BulkImageLoader(int pagesInMemory, int pageSize, java.lang.String imageFolder, java.lang.String[] arqs)
public void run()
run
in interface java.lang.Runnable
run
in class java.lang.Thread
public Image getImage(int idx) throws IOException
IOException