|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.keridwen.modelling.global.parameters.ui.TableBasedGlobalParameterEditor
public class TableBasedGlobalParameterEditor
Table based GlobalParameters Editor
Field Summary | |
---|---|
static String |
ADD_ROW
|
static String |
EXPORT_XLS
|
static String |
IMPORT_XLS
|
static String |
OK_ACTION
|
static String |
REMOVE_ROW
|
Constructor Summary | |
---|---|
TableBasedGlobalParameterEditor()
Basic constructor. |
|
TableBasedGlobalParameterEditor(GlobalParametersList parameterList)
Default constructor and set the editor according the given global parameters list. |
Method Summary | |
---|---|
void |
actionPerformed(ActionEvent evt)
|
void |
addActionListener(ActionListener listener)
Add the given ActionListener to all active buttons and combo-boxes. |
void |
addActionListenerToEscapeButton(ActionListener listener)
Add a specific ActionListener to the Escape button. |
void |
addActionListenerToOKButton(ActionListener listener)
Add a specific ActionListener to the OK button. |
void |
addRow()
|
void |
changeVerbosityLevel(GlobalParameter.VerbosityLevel level)
|
protected ImageIcon |
createImageIcon(String path)
Returns an ImageIcon, or null if the path was invalid. |
JPanel |
getBottomControlPanel()
|
JPanel |
getMainPanel()
Get the main panel of the editor. |
GlobalParametersList |
getOutputParameterList()
Get the output list of GlobalParameter list. |
ArrayList<ParameterTableManager> |
getTableManagerList()
|
JToolBar |
getToolBar()
Return the tool bar of the editor. |
void |
initGUI()
Initialize the GUI of the editor. |
void |
removeSelectedRow()
|
void |
setInputParametersList(GlobalParametersList parameterList)
Update the model of the editor according the given of parameters list. |
GlobalParametersList |
updateOutputParameterList()
Recover the data from the tables and update the output parameters list. |
void |
updateUI()
Update the view of the editor. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String OK_ACTION
public static final String ADD_ROW
public static final String REMOVE_ROW
public static final String IMPORT_XLS
public static final String EXPORT_XLS
Constructor Detail |
---|
public TableBasedGlobalParameterEditor()
public TableBasedGlobalParameterEditor(GlobalParametersList parameterList)
parameterList
- - input list of global parameters.Method Detail |
---|
public void setInputParametersList(GlobalParametersList parameterList)
TableBasedGlobalParameterEditor. updateUI
should be called after.
parameterList
- - input list of global parameters.public void updateUI()
public void initGUI()
public JPanel getMainPanel()
public JToolBar getToolBar()
public JPanel getBottomControlPanel()
public void actionPerformed(ActionEvent evt)
actionPerformed
in interface ActionListener
public void changeVerbosityLevel(GlobalParameter.VerbosityLevel level)
public void addRow()
public void removeSelectedRow()
public GlobalParametersList updateOutputParameterList()
public void addActionListener(ActionListener listener)
listener
- public void addActionListenerToOKButton(ActionListener listener)
public void addActionListenerToEscapeButton(ActionListener listener)
public GlobalParametersList getOutputParameterList()
protected ImageIcon createImageIcon(String path)
public ArrayList<ParameterTableManager> getTableManagerList()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |