All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class ncsa.hdf.jhv.ImageFrame

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----java.awt.Window
                           |
                           +----java.awt.Frame
                                   |
                                   +----ncsa.hdf.jhv.ImageFrame

public class ImageFrame
extends Frame
implements WindowListener, AdjustmentListener, ActionListener
This class define the image frame


Constructor Index

 o ImageFrame(Image)
Create the seprate frame based on the image canvas.

Method Index

 o actionPerformed(ActionEvent)
 o adjustmentValueChanged(AdjustmentEvent)
 o popup()
popup the new frame actually
 o setFrameSize(float)
resize the frame
 o setTitle()
setup the frame tittle
 o windowActivated(WindowEvent)
Handles the event.
 o windowClosed(WindowEvent)
 o windowClosing(WindowEvent)
 o windowDeactivated(WindowEvent)
 o windowDeiconified(WindowEvent)
 o windowIconified(WindowEvent)
 o windowOpened(WindowEvent)

Constructors

 o ImageFrame
 public ImageFrame(Image image)
Create the seprate frame based on the image canvas. This frame will display the image within the frame

Methods

 o setTitle
 public void setTitle()
setup the frame tittle

 o popup
 public void popup()
popup the new frame actually

 o setFrameSize
 public void setFrameSize(float factor)
resize the frame

Parameters:
factor - the factor to origanize the frame
 o windowActivated
 public void windowActivated(WindowEvent we)
Handles the event. Returns true if the event is handled and should not be passed to the parent of this component. The default event handler calls some helper methods to make life easier on the programmer.

Parameters:
evt - the event
See Also:
handleEvent
 o windowClosed
 public void windowClosed(WindowEvent we)
 o windowDeactivated
 public void windowDeactivated(WindowEvent we)
 o windowDeiconified
 public void windowDeiconified(WindowEvent we)
 o windowIconified
 public void windowIconified(WindowEvent we)
 o windowOpened
 public void windowOpened(WindowEvent we)
 o windowClosing
 public void windowClosing(WindowEvent we)
 o adjustmentValueChanged
 public void adjustmentValueChanged(AdjustmentEvent e)
 o actionPerformed
 public void actionPerformed(ActionEvent e)

All Packages  Class Hierarchy  This Package  Previous  Next  Index