visad.paoloa
Class PCS
java.lang.Object
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)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WIDTH
public static int WIDTH
- the width and height of the UI frame
HEIGHT
public static int HEIGHT
PCS
public PCS(java.lang.String filename)
throws VisADException,
java.rmi.RemoteException,
java.io.IOException
- Throws:
VisADException
java.rmi.RemoteException
java.io.IOException
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