Class Viewer.Controller.ShutterPanelEventController
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class Viewer.Controller.ShutterPanelEventController

Object
   |
   +----Viewer.Controller.ShutterPanelEventController

public class ShutterPanelEventController
extends Object
implements ActionListener, ItemListener, FocusListener
This class contains the Listeners used for the widgets of a ShutterPanel object.

Author:
Klaus Kleber
Since:
30.04.1999
See Also:
ShutterPanel

Constructor Index

 o Viewer.Controller.ShutterPanelEventController(ScreenImageHandler, ShutterPanel)
Creates a new object.

Method Index

 o actionPerformed(ActionEvent)
Reveives the ActionEvents form the ShutterPanel object.
 o focusGained(FocusEvent)
not used.
 o focusLost(FocusEvent)
Receives the event form Textfield shutterPVTextField and set a new color for the shutter.
 o itemStateChanged(ItemEvent)
Changes and draws the bitmaped shutters.

Constructors

 o ShutterPanelEventController
public ShutterPanelEventController(ScreenImageHandler screenImageHandler,
                                   ShutterPanel shutterPanel)
Creates a new object.

Parameters:
screenImageHandler - Contains the current ScreenImageHandler.
shutterPanel - Contains the ShutterPanel object which fires the events.

Methods

 o actionPerformed
public void actionPerformed(ActionEvent e)
Reveives the ActionEvents form the ShutterPanel object. These Events invoke methods for creating and deleting vector shutters and changing the shutter presentation value.

Parameters:
e - ActionEvent
Since:
30.03.1999
 o focusGained
public void focusGained(FocusEvent e)
not used.

Parameters:
e - FocusEvent.
Since:
30.03.1999
 o focusLost
public void focusLost(FocusEvent e)
Receives the event form Textfield shutterPVTextField and set a new color for the shutter. (Changing the shutter presentation value).

Parameters:
e - FocusEvent.
Since:
30.03.1999
 o itemStateChanged
public void itemStateChanged(ItemEvent e)
Changes and draws the bitmaped shutters.

Parameters:
e - ItemEvent
Since:
30.03.1999

All Packages  Class Hierarchy  This Package  Previous  Next  Index