All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class w3c.tools.widgets.ImageCache

java.lang.Object
   |
   +----w3c.tools.widgets.ImageCache

public class ImageCache
extends Object
A Basic Image Cache class.


Constructor Index

 o ImageCache()

Method Index

 o getImage(Component, int, int)
Gets an Image of the requested size.

Constructors

 o ImageCache
 public ImageCache()

Methods

 o getImage
 public static Image getImage(Component c,
                              int w,
                              int h)
Gets an Image of the requested size. Checks if an Image already exists in the cache for the current Thread and if this image is large enough. Else, creates a new Image and store it in the cache.


All Packages  Class Hierarchy  This Package  Previous  Next  Index