uic.widgets.filechooser
Class SystemUtil.DefaultSystemUtil
java.lang.Object
uic.widgets.filechooser.SystemUtil
uic.widgets.filechooser.SystemUtil.DefaultSystemUtil
- Enclosing class:
- SystemUtil
protected static class SystemUtil.DefaultSystemUtil
- extends SystemUtil
Method Summary |
File |
getFile(String filename)
Returns a file based on the filename
For some platforms "Special files may exist, for example "devices:/" for linux systems |
Vector |
getShortCuts(boolean largeIcons)
Returns a vector of FCImageIcon objects. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SystemUtil.DefaultSystemUtil
protected SystemUtil.DefaultSystemUtil()
getShortCuts
public Vector getShortCuts(boolean largeIcons)
- Description copied from class:
SystemUtil
- Returns a vector of FCImageIcon objects.
Returs a vector of FCImageIcon objects depending on the users system (KDE or windows)
Every image icon reprecents a shortcut in the left bar of the file chooser
TODO return shortcuts that are added for this specific instance...
- Specified by:
getShortCuts
in class SystemUtil
- Returns:
- Vector of FCImageIcon objects
getFile
public File getFile(String filename)
- Description copied from class:
SystemUtil
- Returns a file based on the filename
For some platforms "Special files may exist, for example "devices:/" for linux systems
- Specified by:
getFile
in class SystemUtil
- Parameters:
filename
- the name of the file to return
- Returns:
- a File based on fileName
Copyright © 2002-2004 Thomas Zander Available under the Free Apache licence