|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbrain.gui.ActionListeners.ActionListenerLoadParameters
public class ActionListenerLoadParameters
Handels action events for loading parameters of a module
Constructor Summary | |
---|---|
ActionListenerLoadParameters()
|
Method Summary | |
---|---|
void |
actionPerformed(java.awt.event.ActionEvent e)
Shows a file chooser |
java.lang.String |
getDialogTitle()
Returns the title of the file chooser dialog |
static java.io.File |
getLastDirectory()
Returns the last directory which the user chosen. |
java.lang.String |
getSuggestFileName()
Returns the file name which appears in the JTextField of the
FileChooser |
ObjectTable |
getTable()
Returns the table which parameters are to read from storage |
void |
loadProperties(java.io.File selectedFile)
Loads a property file with parameters for a module. |
void |
setDialogTitle(java.lang.String _dialogTitle)
Sets the title of the file chooser dialog |
void |
setSuggestFileName(java.lang.String _suggestFileName)
Sets the file name which appears in the JTextField of the
FileChooser |
void |
setTable(ObjectTable table1)
Sets the table with parameters whose data we want to read from storage. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ActionListenerLoadParameters()
Method Detail |
---|
public void actionPerformed(java.awt.event.ActionEvent e)
actionPerformed
in interface java.awt.event.ActionListener
e
- eventpublic void loadProperties(java.io.File selectedFile)
selectedFile
- public ObjectTable getTable()
public void setTable(ObjectTable table1)
table1
- the table with parameterspublic static java.io.File getLastDirectory()
public java.lang.String getDialogTitle()
public void setDialogTitle(java.lang.String _dialogTitle)
_dialogTitle
- of the file chooser dialogpublic java.lang.String getSuggestFileName()
JTextField
of the
FileChooser
public void setSuggestFileName(java.lang.String _suggestFileName)
JTextField
of the
FileChooser
_suggestFileName
-
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |