Graphical User Interface (GUI)
This class provides the GUI while the presentations of the
single steps of an algorithm. It also provides methods for a graphical
presentation of the steps (like marking regions in the image, drawing dots, ...).
Copyright: Copyright (c) 2002
applet
private JApplet applet
leftPanel
private JPanel leftPanel
nextButton
private JButton nextButton
prevButton
private JButton prevButton
rightPanel
private JPanel rightPanel
correctExplentionPane
public void correctExplentionPane()
createEditorPane
private JEditorPane createEditorPane(URL displayedText)
displayAlgorithmOptions
public void displayAlgorithmOptions(AlgorithmOptions panel)
displayGrid
public void displayGrid()
displayThresholdSelection
public void displayThresholdSelection()
This class returns the Options object which inherits all settings of
the program.
enableGrid
public void enableGrid(int searchRange)
getAlgorithm
public MotionEstimationAlgorithm getAlgorithm()
Returns the actual algorithm of the gui. Returns NULL if not set.
- MotionEstimationAlgorithm The actual algorithm
getButtonPanel
public ButtonPanel getButtonPanel()
Returns the ButtonPanel-objext. Use this objext to access the buttons.
- ButtonPanel the ButtonPanel object use by the GUI
getGrid
public Grid getGrid()
getImageViewer
public ImageViewer getImageViewer()
Returns the ImageViewer-object. Use this object to access all
functions applying the image-area in the GUI (upper left)
- ImageViewer the ImageViewer
getThresHoldValue
public int getThresHoldValue()
removeAlgorithmOptions
public void removeAlgorithmOptions()
reset
public void reset()
use this method to reset the PROGRAM to it's initial values
setAlgorithm
public void setAlgorithm(MotionEstimationAlgorithm algorithm)
Assign an Algorithm-object to the GUI.This will remove a possible existing
Algorithm-object. The GUI will be reset an the new algorithm starts with step01
setExplenation
public void setExplenation(URL explenationFile)
Set a new HTML-File for the text-aera.
setExplenationTitle
public void setExplenationTitle(String title)