All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class picture.ImageLoader

java.lang.Object
   |
   +----picture.ImageLoader

public class ImageLoader
extends Object
implements Runnable
ImageLoader is the superclass for various image loaders. In particular the BMP and TGA ImageLoader classes. Classes from http://village.ch/~schoen/


Variable Index

 o classloader
 o client
 o colormodel
 o Datei
 o debug
 o done
 o framebuffer
 o imagefile
 o imageLoaded
 o myProd
 o newImage
 o newloader
 o runner
 o slow
 o theFileName
 o tracker
 o xres
 o yres

Constructor Index

 o ImageLoader()

Method Index

 o Debug(boolean)
 o GetInfo()
 o InitFramebuffer(int, int)
 o Load(String, Component)
 o Load(URL, Component)
 o LoadPic()
 o Print(String)
 o ReadHeader()
 o run()
 o Sleep(int)
 o start()
 o StartLoadProcess(String, DataInputStream)

Variables

 o imageLoaded
 public boolean imageLoaded
 o newImage
 public Image newImage
 o framebuffer
 protected int framebuffer[]
 o imagefile
 protected FileInput imagefile
 o debug
 protected boolean debug
 o xres
 protected int xres
 o yres
 protected int yres
 o client
 private static Component client
 o slow
 private boolean slow
 o tracker
 private MediaTracker tracker
 o newloader
 private ImageLoader newloader
 o colormodel
 private DirectColorModel colormodel
 o Datei
 private DataInputStream Datei
 o runner
 private Thread runner
 o done
 private static int done
 o theFileName
 private String theFileName
 o classloader
 private ImageClassLoader classloader
 o myProd
 protected ImageLoaderProducer myProd

Constructors

 o ImageLoader
 public ImageLoader()

Methods

 o ReadHeader
 protected void ReadHeader() throws IOException, UnsupportedFormatException, WrongFileFormatException
 o LoadPic
 protected void LoadPic() throws IOException, UnsupportedFormatException, WrongFileFormatException
 o GetInfo
 public String GetInfo()
 o InitFramebuffer
 public final void InitFramebuffer(int w,
                                   int h)
 o Load
 public Image Load(URL picfile,
                   Component target) throws NoSuchLoaderException
 o Load
 public Image Load(String picfile,
                   Component target) throws NoSuchLoaderException
 o StartLoadProcess
 private boolean StartLoadProcess(String filename,
                                  DataInputStream Datei) throws NoSuchLoaderException
 o Print
 protected final void Print(String txt)
 o Debug
 public final void Debug(boolean flag)
 o Sleep
 protected final void Sleep(int sec)
 o run
 public void run()
 o start
 public void start()

All Packages  Class Hierarchy  This Package  Previous  Next  Index