|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecthades.manager.DesignManager.SwingFileChooser
Field Summary | |
(package private) javax.swing.JFileChooser |
fileChooser
|
(package private) int |
mode
|
(package private) java.io.File |
selectedFile
|
Constructor Summary | |
DesignManager.SwingFileChooser()
|
Method Summary | |
java.lang.String |
getDirectory()
return the name of the currently selected directory |
java.lang.String |
getFile()
return the full hierarchical name of the currently selected file (or null if canceled or no file selected) |
java.lang.String |
select()
display the JFileChooser dialog in the selected mode and wait until the user selects a filename or cancels. |
void |
setDefaultDirectory()
|
void |
setDefaultName(java.lang.String defaultName)
set the file name (pre-) selected by default. |
void |
setExtension(java.lang.Object _extensions)
|
void |
setMode(int _mode)
set the mode, either java.awt.FileDialog.LOAD or FileDialog.SAVE |
void |
setTitle(java.lang.String title)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
javax.swing.JFileChooser fileChooser
java.io.File selectedFile
int mode
Constructor Detail |
public DesignManager.SwingFileChooser()
Method Detail |
public void setTitle(java.lang.String title)
public void setExtension(java.lang.Object _extensions)
public void setDefaultDirectory()
public void setDefaultName(java.lang.String defaultName)
public void setMode(int _mode)
public java.lang.String select()
public java.lang.String getDirectory()
public java.lang.String getFile()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |