public interface ImageDecorator
Modifier and Type | Method and Description |
---|---|
Image |
annotateIcon(Image icon,
int iconType,
Set<? extends FileObject> files)
Annotate the icon of a file cluster.
|
Image annotateIcon(Image icon, int iconType, Set<? extends FileObject> files)
Please do not modify the original; create a derivative icon image, using a weak-reference cache if necessary.
icon
- the icon suggested by defaulticonType
- an icon type from BeanInfo
files
- an immutable set of FileObject
s belonging to this filesystemClassCastException
- if the files in the set are not of valid types