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

Class Viewer.Controller.ImageCanvasNewListener

Object
   |
   +----MouseAdapter
           |
           +----ImageCanvasMouseEventListener
                   |
                   +----Viewer.Controller.ImageCanvasNewListener

public class ImageCanvasNewListener
extends ImageCanvasMouseEventListener
This class handles the MouseEvents for creating a new Annotation

Author:
Klaus Kleber
Since:
30.04.1999
See Also:
ImageCanvas, ImageCanvasMouseEventListener

Constructor Index

 o Viewer.Controller.ImageCanvasNewListener(ScreenImageHandler)
Construct an EventImageCanvas.

Method Index

 o mouseMoved(MouseEvent)
Handles the mouse move action.
 o mouseReleased(MouseEvent)
Handles the mouse released action.

Constructors

 o ImageCanvasNewListener
public ImageCanvasNewListener(ScreenImageHandler screenImageHandler)
Construct an EventImageCanvas.

Parameters:
screenImageHandler - Contains the current ScreenImageHandler.
Since:
30.04.1999

Methods

 o mouseMoved
public void mouseMoved(MouseEvent e)
Handles the mouse move action. If the mouse is moving the new Annotation must be paint.

Parameters:
e - MouseEvent
Overrides:
mouseMoved in class ImageCanvasMouseEventListener
Since:
30.04.1999
 o mouseReleased
public void mouseReleased(MouseEvent e)
Handles the mouse released action. If the mouse will be released the new Annotation gets a new point.

Parameters:
e - MouseEvent
Overrides:
mouseReleased in class ImageCanvasMouseEventListener
Since:
30.04.1999

All Packages  Class Hierarchy  This Package  Previous  Next  Index