Class EditModuleParameters
java.lang.Object
|
+----java.awt.Component
|
+----java.awt.Container
|
+----java.awt.Window
|
+----java.awt.Frame
|
+----EditModuleParameters
- class EditModuleParameters
- extends Frame
- implements Observer
Module parameters values and other module settings can be edited
in EditModuleParameters.
This dialog can be used to edit the parameters of a module. The
parameters are read from the Module Description File and the
values defined in this dialog are passed on to the Module.
- Version:
- $Revision: 1.39 $
-
applyButton
-
-
cancelButton
-
-
defaultsButton
-
-
doneButton
-
-
helpButton
-
-
helpViewer
-
-
inConFileNameList
-
-
italicFont
-
-
modDes
-
-
network
-
-
normalFont
-
-
outConDisplayList
-
-
outConFileNameList
-
-
outConSaveList
-
-
parValueList
-
-
reloadButton
-
-
EditModuleParameters(Module)
- Create the module properties display.
-
applyButton_Clicked(Event)
- Stores the current dialog settings in the model.
-
cancel()
- Hides the dialog without changing the model.
-
cancelButton_Clicked(Event)
- Action that must be performed when the cancel-button is clicked: call
method cancel().
-
close()
-
-
defaultsButton_Clicked(Event)
- Get the default values for the settings, as specified in Module
Description Files if appropriate, and store them in the dialog.
-
displayInConnectors(ScrollPane)
- Display all in connectors of a module.
-
displayOutConnectors(ScrollPane)
- Display all outconnectors of a module.
-
displayParameters(ScrollPane)
- Display the parameters of a module.
-
doneButton_Clicked(Event)
- Performs the apply-action and hides the dialog.
-
handleEvent(Event)
-
-
helpButton_Clicked(Event)
-
-
reloadButton_Clicked(Event)
- Replace the settings in the dialog by the current settings of the model.
-
update(Observable, Object)
-
defaultsButton
private Button defaultsButton
reloadButton
private Button reloadButton
applyButton
private Button applyButton
cancelButton
private Button cancelButton
doneButton
private Button doneButton
helpButton
private Button helpButton
modDes
private Module modDes
network
private Network network
parValueList
private Object parValueList[]
outConSaveList
private CheckboxGBL outConSaveList[]
outConDisplayList
private CheckboxGBL outConDisplayList[]
inConFileNameList
private FileFieldGBL inConFileNameList[]
outConFileNameList
private FileFieldGBL outConFileNameList[]
helpViewer
private HelpViewerDialog helpViewer
normalFont
private Font normalFont
italicFont
private Font italicFont
EditModuleParameters
EditModuleParameters(Module modDes)
- Create the module properties display. In this method the components
are added to the dialog component.
update
public void update(Observable o,
Object arg)
reloadButton_Clicked
private void reloadButton_Clicked(Event event)
- Replace the settings in the dialog by the current settings of the model.
doneButton_Clicked
private void doneButton_Clicked(Event event)
- Performs the apply-action and hides the dialog.
cancelButton_Clicked
private void cancelButton_Clicked(Event event)
- Action that must be performed when the cancel-button is clicked: call
method cancel().
cancel
private void cancel()
- Hides the dialog without changing the model.
applyButton_Clicked
private void applyButton_Clicked(Event event)
- Stores the current dialog settings in the model.
defaultsButton_Clicked
private void defaultsButton_Clicked(Event event)
- Get the default values for the settings, as specified in Module
Description Files if appropriate, and store them in the dialog. The
settings in the model are not changed.
displayInConnectors
private void displayInConnectors(ScrollPane conScrolPanel)
- Display all in connectors of a module.
Add the in connector types to the scrolling panel.
displayOutConnectors
private void displayOutConnectors(ScrollPane conScrolPanel)
- Display all outconnectors of a module.
Add the outconnector types to the scrolling panel.
displayParameters
private void displayParameters(ScrollPane parameterScrolPan)
- Display the parameters of a module.
Add parameter names, ranges and editable field to the dialog.
helpButton_Clicked
private void helpButton_Clicked(Event e)
handleEvent
public boolean handleEvent(Event event)
- Overrides:
- handleEvent in class Component
close
private void close()