Class SetFMModule

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----java.awt.Window
                           |
                           +----java.awt.Dialog
                                   |
                                   +----framework.awt.InteractiveModuleDialog
                                           |
                                           +----SetFMModule

class SetFMModule
extends InteractiveModuleDialog
implements Modulable
A module that allows the user to manually set the feature maps.


Variable Index

 o helpViewer
Help dialog.
 o image
Picture that is shown in display dialog.
 o inputFM
The input feature map data.
 o moduleStopped
Status of the module.
 o observable
The observable object, or "data" in the model-view paradigm.
 o outputFM
The output feature map data.

Constructor Index

 o SetFMModule()
Create the InteractiveModuleDialog with title and the specified buttons.

Method Index

 o continueButtonPressed()
When the continue button is pressed the running process of the network that was suspended will be continues.
 o defaultButtonPressed()
When the default button is pressed the feature maps will 'reset' to default feature values.
 o getFM()
Get the feature map.
 o getImage()
Get the picture.
 o helpButtonPressed()
When the help button is pressed a help dialog appears containing help for this module.
 o main(String[])
 o reloadButtonPressed()
When the reload button is pressed the feature maps of the input data will be 'reloaded' to the current feature maps.
 o run(DataStore, DataStore, ParameterStore)
The input feature maps are copied to the output feature maps (input data may not be changed).
 o setFM(Image, FM, FM)
The feature maps may be set manually.
 o stopButtonPressed()
When the stop button is pressed the running process of the network will be stopped.

Variables

 o moduleStopped
 private boolean moduleStopped
Status of the module. When the user presses the stop button, the module is not succesfully completed and therefor will return false.

 o inputFM
 private FM inputFM
The input feature map data.

See Also:
FM
 o outputFM
 private FM outputFM
The output feature map data.

See Also:
FM
 o image
 Image image
Picture that is shown in display dialog.

 o helpViewer
 private HelpViewerDialog helpViewer
Help dialog.

 o observable
 private FMObservable observable
The observable object, or "data" in the model-view paradigm. It represents the object that the application wants to have observed.

Constructors

 o SetFMModule
 SetFMModule()
Create the InteractiveModuleDialog with title and the specified buttons.

See Also:
InteractiveModuleDialog

Methods

 o getFM
 public FM getFM()
Get the feature map.

 o getImage
 public Image getImage()
Get the picture.

 o run
 public boolean run(DataStore input,
                    DataStore output,
                    ParameterStore parameters)
The input feature maps are copied to the output feature maps (input data may not be changed). In the setFM method the new feature maps may be (manually) set.

See Also:
setFM
 o setFM
 private boolean setFM(Image image,
                       FM inputFM,
                       FM outputFM)
The feature maps may be set manually. A graphical screen containing the picture is used to set the feature boxes. The boxes can be dragged to the right positions. When everything's ok the continue button may be pressed to resume running.

 o helpButtonPressed
 public void helpButtonPressed()
When the help button is pressed a help dialog appears containing help for this module.

Overrides:
helpButtonPressed in class InteractiveModuleDialog
 o reloadButtonPressed
 public void reloadButtonPressed()
When the reload button is pressed the feature maps of the input data will be 'reloaded' to the current feature maps.

Overrides:
reloadButtonPressed in class InteractiveModuleDialog
 o defaultButtonPressed
 public void defaultButtonPressed()
When the default button is pressed the feature maps will 'reset' to default feature values. These values are independent of the current picture and serve as (meta) global position of the features.

Overrides:
defaultButtonPressed in class InteractiveModuleDialog
 o stopButtonPressed
 public void stopButtonPressed()
When the stop button is pressed the running process of the network will be stopped.

Overrides:
stopButtonPressed in class InteractiveModuleDialog
 o continueButtonPressed
 public void continueButtonPressed()
When the continue button is pressed the running process of the network that was suspended will be continues.

Overrides:
continueButtonPressed in class InteractiveModuleDialog
 o main
 public static void main(String s[])