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
-
ImageViewer()
-
-
actionPerformed(ActionEvent)
- Called when a menu item is clicked.
-
init()
- In lieu of a constructor because this class is derived from Applet.
-
itemStateChanged(ItemEvent)
- Called when a check box menu item is clicked.
-
makePopupMenu(PopupMenu)
- Makes the OnBase GUI popup menu.
-
start()
-
-
stop()
-
ImageViewer
public ImageViewer()
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
init
public void init()
- In lieu of a constructor because this class is derived from Applet.
- Overrides:
- init in class OnBaseWindow
- See Also:
- OnBaseWindow
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
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
start
public void start()
- Overrides:
- start in class Applet
stop
public void stop()
- Overrides:
- stop in class Applet