Class Viewer.GUI.ImageCanvas
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class Viewer.GUI.ImageCanvas

Object
   |
   +----Component
           |
           +----Canvas
                   |
                   +----Viewer.GUI.ImageCanvas

public class ImageCanvas
extends Canvas
This class contains the GUI in which the image will be drawn.

Author:
Klaus Kleber
Since:
30.04.1999

Variable Index

 o screenImageHandler
Contains the current ScreenImageHandler.

Constructor Index

 o Viewer.GUI.ImageCanvas(ScreenImageHandler)
Constructs an ImagaCanvas

Method Index

 o addPopupMenu(PopupMenu)
Adds the specified PopupMenu to the ImageCanvas.
 o paint(Graphics)
Standard paint
 o removePopupMenu()
Removes the current PopupMenu from the ImageCanvas.
 o update(Graphics)
Draws the image on the GUI.

Variables

 o screenImageHandler
public Viewer.Main.ScreenImageHandler screenImageHandler
Contains the current ScreenImageHandler.

Since: 30.04.99

Constructors

 o ImageCanvas
public ImageCanvas(ScreenImageHandler screenImageHandler)
Constructs an ImagaCanvas

Parameters:
screenImageHandler - Contains the current ScreenImageHandler
Since:
30.04.99

Methods

 o addPopupMenu
public void addPopupMenu(PopupMenu newPopupMenu)
Adds the specified PopupMenu to the ImageCanvas.

Since:
30.04.99
 o paint
public void paint(Graphics g)
Standard paint

Parameters:
g - graphic context
Overrides:
paint in class Canvas
Since:
30.04.99
 o removePopupMenu
public void removePopupMenu()
Removes the current PopupMenu from the ImageCanvas.

Since:
30.04.99
 o update
public void update(Graphics g)
Draws the image on the GUI.

Parameters:
g - graphic context
Overrides:
update in class Component
Since:
30.04.99

All Packages  Class Hierarchy  This Package  Previous  Next  Index