visad.paoloa
Class PCS

java.lang.Object
  extended by visad.paoloa.PCS
All Implemented Interfaces:
java.awt.event.ActionListener, java.util.EventListener, DisplayListener, ScalarMapListener

public class PCS
extends java.lang.Object
implements java.awt.event.ActionListener, ScalarMapListener, DisplayListener


Field Summary
static int HEIGHT
           
static int WIDTH
          the width and height of the UI frame
 
Constructor Summary
PCS(java.lang.String filename)
           
 
Method Summary
 void actionPerformed(java.awt.event.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(java.lang.String[] args)
           
 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

PCS

public PCS(java.lang.String filename)
    throws VisADException,
           java.rmi.RemoteException,
           java.io.IOException
Throws:
VisADException
java.rmi.RemoteException
java.io.IOException
Method Detail

main

public static void main(java.lang.String[] args)
                 throws VisADException,
                        java.rmi.RemoteException,
                        java.io.IOException
Throws:
VisADException
java.rmi.RemoteException
java.io.IOException

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)
Specified by:
actionPerformed in interface java.awt.event.ActionListener

mapChanged

public void mapChanged(ScalarMapEvent evt)
                throws VisADException,
                       java.rmi.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.
java.rmi.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,
                           java.rmi.RemoteException
Description copied from interface: DisplayListener
send a DisplayEvent to this DisplayListener

Specified by:
displayChanged in interface DisplayListener
Throws:
VisADException
java.rmi.RemoteException