Home » openjdk-7 » sun » swing » [javadoc | source]
sun.swing
public class: ImageCache [javadoc | source]
java.lang.Object
   sun.swing.ImageCache
Cache is used to cache an image based on a set of arguments.
Constructor:
 public ImageCache(int maxCount) 
Method from sun.swing.ImageCache Summary:
flush,   getImage,   setImage,   setMaxCount
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from sun.swing.ImageCache Detail:
 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.
  void setMaxCount(int maxCount)