| 
org.openide.filesystems 7.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public static interface FileSystem.Status
Allows a filesystem to annotate a group of files (typically comprising a data object) with additional markers.
This could be useful, for example, for a filesystem supporting version control. It could annotate names and icons of data nodes according to whether the files were current, locked, etc.
| Method Summary | |
|---|---|
 Image | 
annotateIcon(Image icon,
             int iconType,
             Set<? extends FileObject> files)
Annotate the icon of a file cluster.  | 
 String | 
annotateName(String name,
             Set<? extends FileObject> files)
Annotate the name of a file cluster.  | 
| Method Detail | 
|---|
String annotateName(String name, Set<? extends FileObject> files)
name - the name suggested by defaultfiles - an immutable set of FileObjects belonging to this filesystem
ClassCastException - if the files in the set are not of valid typesImage 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 BeanInfofiles - an immutable set of FileObjects belonging to this filesystem
ClassCastException - if the files in the set are not of valid types
  | 
org.openide.filesystems 7.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||