Class ImageViewer

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----java.awt.Panel
                           |
                           +----java.applet.Applet
                                   |
                                   +----OnBaseWindow
                                           |
                                           +----DocumentViewer
                                                   |
                                                   +----ImageViewer

public class ImageViewer
extends DocumentViewer
implements ActionListener
OnBase Image Viewer concrete class. Work in progress. Java 1.1 Implementation


Constructor Index

 o ImageViewer()

Method Index

 o actionPerformed(ActionEvent)
Called when a menu item is clicked.
 o init()
In lieu of a constructor because this class is derived from Applet.
 o itemStateChanged(ItemEvent)
Called when a check box menu item is clicked.
 o makePopupMenu(PopupMenu)
Makes the OnBase GUI popup menu.
 o start()
 o stop()

Constructors

 o ImageViewer
 public ImageViewer()

Methods

 o actionPerformed
 public void actionPerformed(ActionEvent e)
Called when a menu item is clicked. CheckboxMenuItem does not work in Internet Explorer without plug-ins. This method patches the problem using a MenuItem instead of a CheckboxMenuItem for the Thumbnail operation.

See Also:
patchedThumbnailer, itemStateChanged, ActionListener
 o init
 public void init()
In lieu of a constructor because this class is derived from Applet.

Overrides:
init in class OnBaseWindow
See Also:
OnBaseWindow
 o itemStateChanged
 public void itemStateChanged(ItemEvent e)
Called when a check box menu item is clicked. CheckboxMenuItem in Internet Explorer without plug-ins does not work - this method is never called and the check box's state is always false.

See Also:
actionPerformed, patchedThumbnailer, ItemListener
 o makePopupMenu
 protected void makePopupMenu(PopupMenu popup)
Makes the OnBase GUI popup menu. After creation reference to menu items is via their action commands. Alternatively, the menu item instance variables could be saved.

Overrides:
makePopupMenu in class OnBaseWindow
See Also:
makePopupMenu, buildMenu
 o start
 public void start()
Overrides:
start in class Applet
 o stop
 public void stop()
Overrides:
stop in class Applet