visad.paoloa
Class PCSmatrix

java.lang.Object
  extended by visad.paoloa.PCSmatrix
All Implemented Interfaces:
ActionListener, EventListener, DisplayListener, ScalarMapListener

public class PCSmatrix
extends Object
implements ActionListener, ScalarMapListener, DisplayListener


Field Summary
static int HEIGHT
           
static int WIDTH
          the width and height of the UI frame
 
Constructor Summary
PCSmatrix(String data_file, String evd_file, boolean make_evd)
           
 
Method Summary
 void actionPerformed(ActionEvent e)
           
 void controlChanged(ScalarMapControlEvent evt)
          Receive a ScalarMapEvent when the map control changes.
 void displayChanged(DisplayEvent evt)
          send a DisplayEvent to this DisplayListener
static void main(String[] args)
           
static Matrix makeCovarianceMatrix(double[][] data_vectors)
           
 void mapChanged(ScalarMapEvent evt)
          Receive a ScalarMapEvent when the map data changes.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

WIDTH

public static int WIDTH
the width and height of the UI frame


HEIGHT

public static int HEIGHT
Constructor Detail

PCSmatrix

public PCSmatrix(String data_file,
                 String evd_file,
                 boolean make_evd)
          throws VisADException,
                 RemoteException,
                 IOException,
                 ClassNotFoundException
Throws:
VisADException
RemoteException
IOException
ClassNotFoundException
Method Detail

main

public static void main(String[] args)
                 throws VisADException,
                        RemoteException,
                        IOException,
                        ClassNotFoundException
Throws:
VisADException
RemoteException
IOException
ClassNotFoundException

actionPerformed

public void actionPerformed(ActionEvent e)
Specified by:
actionPerformed in interface ActionListener

mapChanged

public void mapChanged(ScalarMapEvent evt)
                throws VisADException,
                       RemoteException
Description copied from interface: ScalarMapListener
Receive a ScalarMapEvent when the map data changes.

Specified by:
mapChanged in interface ScalarMapListener
Parameters:
evt - the event
Throws:
VisADException - If there is a problem notifying this listener.
RemoteException - If there was an RMI-related problem.

controlChanged

public void controlChanged(ScalarMapControlEvent evt)
Description copied from interface: ScalarMapListener
Receive a ScalarMapEvent when the map control changes.

Specified by:
controlChanged in interface ScalarMapListener
Parameters:
evt - the event

displayChanged

public void displayChanged(DisplayEvent evt)
                    throws VisADException,
                           RemoteException
Description copied from interface: DisplayListener
send a DisplayEvent to this DisplayListener

Specified by:
displayChanged in interface DisplayListener
Parameters:
evt - DisplayEvent to send
Throws:
VisADException - a VisAD error occurred
RemoteException - an RMI error occurred

makeCovarianceMatrix

public static Matrix makeCovarianceMatrix(double[][] data_vectors)