|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FileDisplayManager
FileIconManagers choose the icons to use when displaying file using their icons in lists or trees.
Method Summary | |
---|---|
FileDisplay |
makeFileDisplay(File f)
Creates a file display that displays a file as this manager specifies |
FileDisplay |
makeFileDisplay(File parent,
String child)
Creates a file display that displays a file as this manager specifies |
FileDisplay |
makeNewFolderDisplay(File parent)
Creates a FileDisplay representing a new untitled folder that is yet to be created. |
void |
update()
Notifies manager that the file system has changed. |
Methods inherited from interface edu.rice.cs.util.swing.DisplayManager |
---|
getIcon, getName |
Method Detail |
---|
FileDisplay makeFileDisplay(File f)
f
- the file to display using the display manager
FileDisplay makeFileDisplay(File parent, String child)
parent
- the parent of the file to display using the display managerchild
- the name of the child such that new File(parent, child)
is the file to be displayed.
FileDisplay makeNewFolderDisplay(File parent)
parent
- the parent location to place this new folder
void update()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |