    All Packages  Class Hierarchy  This Package  Previous  Next  Index

# Class org.w3c.tools.widgets.ImageCache

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

public class ImageCache
extends Object

A Basic Image Cache class.

##

ImageCache()

##

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

##

ImageCache

     public ImageCache()

##

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