| java.lang.Object edu.rice.cs.util.swing.DefaultFileDisplayManager
DefaultFileDisplayManager | public class DefaultFileDisplayManager implements FileDisplayManager(Code) | | This FileDisplayManager uses the same icons and naming schemes as the JFileChooser offered by swing.
|
DefaultFileDisplayManager | public DefaultFileDisplayManager()(Code) | | |
getIcon | public Icon getIcon(File f)(Code) | | Given a file, decide which icon to use
Parameters: f - The file to base the icon decision on The icon to display for the given file |
getName | public String getName(File f)(Code) | | Given a file, decide on which name to display for it
Parameters: f - The file to base the naming decison on The name to display for the file |
makeFileDisplay | public FileDisplay makeFileDisplay(File f)(Code) | | Creates a file display that displays a file as this manager specifies
Parameters: f - the file to display using the display manager the file display object used to display a file's name |
makeFileDisplay | public FileDisplay makeFileDisplay(File parent, String child)(Code) | | Creates a file display that displays a file as this manager specifies
Parameters: parent - the parent of the file to display using the display manager Parameters: child - the name of the child such that new File(parent, child) is the file to be displayed. the file display object used to display a file's name |
makeNewFolderDisplay | public FileDisplay makeNewFolderDisplay(File parent)(Code) | | Creates a FileDisplay representing a new untitled folder that is yet to be created.
Parameters: parent - the parent folder of the new folder the new file display |
update | public void update()(Code) | | Updates the UI to reflect any changes in the fs.
|
|
|