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

Class Viewer.Controller.PresentationStatePanelEventController

Object
   |
   +----Viewer.Controller.PresentationStatePanelEventController

public class PresentationStatePanelEventController
extends Object
implements ActionListener, FocusListener
This class contains the listeners for the PresentationStatePanel.

Author:
Klaus Kleber
Since:
30.03.1999
See Also:
PresentationStatePanel

Constructor Index

 o Viewer.Controller.PresentationStatePanelEventController(ScreenImageHandler, PresentationStatePanel)
Constructor.

Method Index

 o ChooseExplicitVR()
Creates and shows a Dialog where you can choose the transfer syntax of the saving presentation state.
 o OnBartenOnOff()
Invert the barten property.
 o OnPresStateOnOff()
Enables/diables the presentation state.
 o OnSaveFile()
Saves the current presentation state and the dicom image as file.
 o OnSaveScreen()
Saves the current screen as a DICOM SC file.
 o actionPerformed(ActionEvent)
Reveives the ActionEvents.
 o changeAmbientLight(String)
Changes the ambient light to the specified value.
 o focusGained(FocusEvent)
Not used
 o focusLost(FocusEvent)
Receives the Events form the TextFields/TextArea

Constructors

 o PresentationStatePanelEventController
public PresentationStatePanelEventController(ScreenImageHandler screenImageHandler,
                                             PresentationStatePanel presentationStatePanel)
Constructor.

Parameters:
screenImageHandler - Contains the current ScreenImageHandler
presentationStatePanel - Contains the Panel which fires the Events
Since:
30.03.1999

Methods

 o ChooseExplicitVR
public boolean ChooseExplicitVR()
Creates and shows a Dialog where you can choose the transfer syntax of the saving presentation state.

Since:
30.03.1999
 o OnBartenOnOff
public void OnBartenOnOff()
Invert the barten property.

Since:
30.03.1999
 o OnPresStateOnOff
public void OnPresStateOnOff()
Enables/diables the presentation state.

Since:
30.03.1999
 o OnSaveFile
public void OnSaveFile()
Saves the current presentation state and the dicom image as file. You can save the files in different transfer syntax

Since:
30.03.1999
 o OnSaveScreen
public void OnSaveScreen()
Saves the current screen as a DICOM SC file. You can save the files in different transfer syntax

Since:
30.03.1999
 o actionPerformed
public void actionPerformed(ActionEvent e)
Reveives the ActionEvents.

Parameters:
e - ActionEvent.
Since:
30.03.1999
 o changeAmbientLight
public void changeAmbientLight(String toValue)
Changes the ambient light to the specified value. The specified value must be greater than zero.

Parameters:
toValue - Specifies the new value for the ambient light.
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 Events form the TextFields/TextArea

Parameters:
e - FocusEvent
Since:
30.03.1999

All Packages  Class Hierarchy  This Package  Previous  Next  Index