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 $

Variable Index

 o applyButton
 o cancelButton
 o defaultsButton
 o doneButton
 o helpButton
 o helpViewer
 o inConFileNameList
 o italicFont
 o modDes
 o network
 o normalFont
 o outConDisplayList
 o outConFileNameList
 o outConSaveList
 o parValueList
 o reloadButton

Constructor Index

 o EditModuleParameters(Module)
Create the module properties display.

Method Index

 o applyButton_Clicked(Event)
Stores the current dialog settings in the model.
 o cancel()
Hides the dialog without changing the model.
 o cancelButton_Clicked(Event)
Action that must be performed when the cancel-button is clicked: call method cancel().
 o close()
 o defaultsButton_Clicked(Event)
Get the default values for the settings, as specified in Module Description Files if appropriate, and store them in the dialog.
 o displayInConnectors(ScrollPane)
Display all in connectors of a module.
 o displayOutConnectors(ScrollPane)
Display all outconnectors of a module.
 o displayParameters(ScrollPane)
Display the parameters of a module.
 o doneButton_Clicked(Event)
Performs the apply-action and hides the dialog.
 o handleEvent(Event)
 o helpButton_Clicked(Event)
 o reloadButton_Clicked(Event)
Replace the settings in the dialog by the current settings of the model.
 o update(Observable, Object)

Variables

 o defaultsButton
 private Button defaultsButton
 o reloadButton
 private Button reloadButton
 o applyButton
 private Button applyButton
 o cancelButton
 private Button cancelButton
 o doneButton
 private Button doneButton
 o helpButton
 private Button helpButton
 o modDes
 private Module modDes
 o network
 private Network network
 o parValueList
 private Object parValueList[]
 o outConSaveList
 private CheckboxGBL outConSaveList[]
 o outConDisplayList
 private CheckboxGBL outConDisplayList[]
 o inConFileNameList
 private FileFieldGBL inConFileNameList[]
 o outConFileNameList
 private FileFieldGBL outConFileNameList[]
 o helpViewer
 private HelpViewerDialog helpViewer
 o normalFont
 private Font normalFont
 o italicFont
 private Font italicFont

Constructors

 o EditModuleParameters
 EditModuleParameters(Module modDes)
Create the module properties display. In this method the components are added to the dialog component.

Methods

 o update
 public void update(Observable o,
                    Object arg)
 o reloadButton_Clicked
 private void reloadButton_Clicked(Event event)
Replace the settings in the dialog by the current settings of the model.

 o doneButton_Clicked
 private void doneButton_Clicked(Event event)
Performs the apply-action and hides the dialog.

 o cancelButton_Clicked
 private void cancelButton_Clicked(Event event)
Action that must be performed when the cancel-button is clicked: call method cancel().

 o cancel
 private void cancel()
Hides the dialog without changing the model.

 o applyButton_Clicked
 private void applyButton_Clicked(Event event)
Stores the current dialog settings in the model.

 o 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.

 o displayInConnectors
 private void displayInConnectors(ScrollPane conScrolPanel)
Display all in connectors of a module. Add the in connector types to the scrolling panel.

 o displayOutConnectors
 private void displayOutConnectors(ScrollPane conScrolPanel)
Display all outconnectors of a module. Add the outconnector types to the scrolling panel.

 o displayParameters
 private void displayParameters(ScrollPane parameterScrolPan)
Display the parameters of a module. Add parameter names, ranges and editable field to the dialog.

 o helpButton_Clicked
 private void helpButton_Clicked(Event e)
 o handleEvent
 public boolean handleEvent(Event event)
Overrides:
handleEvent in class Component
 o close
 private void close()