org.gerhardb.lib.io
Class DirListController
java.lang.Object
org.gerhardb.lib.io.DirListController
public class DirListController
- extends java.lang.Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DirListController
public DirListController(java.lang.String popupName,
java.lang.String preferencesLabel,
boolean justShowKids)
DirListController
public DirListController(DirListController.Clearable clear,
java.lang.String popupName,
java.lang.String preferencesLabel,
boolean justShowKids)
- Parameters:
popupName - Name of the pop up. getName()preferencesLabel - Used to store the preferences. Use file name of the file calling this class.justShowKids - False if you want to show the selected directory also.
init
public static void init()
- Throws:
java.lang.SecurityException
add
public void add(java.io.File[] files)
add
public void add(java.io.File file)
getModel
public DirListModel getModel()
getDirArray
public java.io.File[] getDirArray()
getPanel
public javax.swing.JPanel getPanel()
getSaveDirectory
public static java.lang.String getSaveDirectory()
setSaveDirectory
public static void setSaveDirectory(java.lang.String dir)
Copyright ? 2007 Gerhard Beck. All rights reserved. Subject to GPL.