klaus.components
Class ImageCache

java.lang.Object
  extended by klaus.components.ImageCache

public class ImageCache
extends Object

Caches the images used by the layout(s).

Author:
Stephan Hillebrand

Field Summary
private static HashMap<String,BufferedImage> map
           
 
Constructor Summary
ImageCache()
           
 
Method Summary
static BufferedImage getImage(String absoluteFileName)
           
static BufferedImage getImage(String layoutName, String imgName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

map

private static HashMap<String,BufferedImage> map
Constructor Detail

ImageCache

public ImageCache()
Method Detail

getImage

public static BufferedImage getImage(String layoutName,
                                     String imgName)

getImage

public static BufferedImage getImage(String absoluteFileName)