All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class ncsa.hdf.jhv.JHVVdataFrame

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

public class JHVVdataFrame
extends Frame
implements ActionListener, AdjustmentListener
This class will create the spreadsheet to display Vdata value of an HDF file


Constructor Index

 o JHVVdataFrame(JHV, HDFVdata)
Constructor with given JHV viewer and HDFObject

Method Index

 o actionPerformed(ActionEvent)
Handles Action Events
 o adjustmentValueChanged(AdjustmentEvent)
Handles the event.
 o createFileMenu(String)
create a file menu by provoded title
 o createMenuBar()
 o createSpreadsheetGUI()
create Spreadsheet
 o handleMenuEvent(String)
 o popup()
popup the new frame actually
 o save(boolean)
save the data into HDF file or ASCII file
 o setTitle(String)
setup the frame tittle
 o setup(JHV, HDFVdata)
setup vdata

Constructors

 o JHVVdataFrame
 public JHVVdataFrame(JHV jhv,
                      HDFVdata vdataObject)
Constructor with given JHV viewer and HDFObject

Parameters:
jhv - The JHV viewer
vdataObject - The HDFVdata object containing information and data

Methods

 o setup
 public void setup(JHV jhv,
                   HDFVdata vdataObject)
setup vdata

Parameters:
jhv - The JHV viewer
vdataObject - The HDFVdata object containing information and data
 o setTitle
 public void setTitle(String title)
setup the frame tittle

Parameters:
title - a frame title
Overrides:
setTitle in class Frame
 o createSpreadsheetGUI
 public void createSpreadsheetGUI()
create Spreadsheet

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

 o adjustmentValueChanged
 public void adjustmentValueChanged(AdjustmentEvent e)
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 actionPerformed
 public void actionPerformed(ActionEvent e)
Handles Action Events

 o handleMenuEvent
 public void handleMenuEvent(String arg)
 o createMenuBar
 public MenuBar createMenuBar()
 o createFileMenu
 public Menu createFileMenu(String menuTitle)
create a file menu by provoded title

Parameters:
menuTitle - the menu title
 o save
 public void save(boolean isHDF)
save the data into HDF file or ASCII file


All Packages  Class Hierarchy  This Package  Previous  Next  Index