public interface ImageDecorator
| Modifier and Type | Method | Description |
|---|---|---|
java.awt.Image |
annotateIcon(java.awt.Image icon,
int iconType,
java.util.Set<? extends org.openide.filesystems.FileObject> files) |
Annotate the icon of a file cluster.
|
java.awt.Image annotateIcon(java.awt.Image icon,
int iconType,
java.util.Set<? extends org.openide.filesystems.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 BeanInfofiles - an immutable set of FileObjects belonging to this filesystemjava.lang.ClassCastException - if the files in the set are not of valid typesBuilt on April 24 2018. | Portions Copyright 1997-2018 Oracle. All rights reserved.