public class

ImageCache

extends Object
java.lang.Object
   ↳ sun.swing.ImageCache

Class Overview

Cache is used to cache an image based on a set of arguments.

Summary

Public Constructors
ImageCache(int maxCount)
Public Methods
void flush()
Image getImage(Object key, GraphicsConfiguration config, int w, int h, Object[] args)
Returns the cached Image, or null, for the specified arguments.
void setImage(Object key, GraphicsConfiguration config, int w, int h, Object[] args, Image image)
Sets the cached image for the specified constraints.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public ImageCache (int maxCount)

Public Methods

public void flush ()

public Image getImage (Object key, GraphicsConfiguration config, int w, int h, Object[] args)

Returns the cached Image, or null, for the specified arguments.

public void setImage (Object key, GraphicsConfiguration config, int w, int h, Object[] args, Image image)

Sets the cached image for the specified constraints.