|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.dishevelled.iconbundle.impl.CachingIconBundle
public class CachingIconBundle
Wrapper around an existing implementation of IconBundle that caches images.
| Constructor Summary | |
|---|---|
CachingIconBundle(IconBundle iconBundle)
Create a new caching icon bundle which wraps the specified icon bundle. |
|
| Method Summary | |
|---|---|
java.awt.Image |
getImage(java.awt.Component component,
IconTextDirection direction,
IconState state,
IconSize size)
Return an icon image in the specified icon text direction, size, and state suitable for the specified component. |
void |
invalidateCache()
Invalidate the cache of images. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CachingIconBundle(IconBundle iconBundle)
iconBundle - icon bundle to wrap, must not be null| Method Detail |
|---|
public void invalidateCache()
public java.awt.Image getImage(java.awt.Component component,
IconTextDirection direction,
IconState state,
IconSize size)
getImage in interface IconBundlecomponent - AWT or Swing component hint, if anydirection - icon text direction, must not be nullstate - icon state, must not be nullsize - icon size, must not be null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||