visad.paoloa
Class PCS
java.lang.Object
visad.paoloa.PCS
- All Implemented Interfaces:
- ActionListener, EventListener, DisplayListener, ScalarMapListener
public class PCS
- extends Object
- implements ActionListener, ScalarMapListener, DisplayListener
Field Summary |
static int |
HEIGHT
|
static int |
WIDTH
the width and height of the UI frame |
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(String filename)
throws VisADException,
RemoteException,
IOException
- Throws:
VisADException
RemoteException
IOException
main
public static void main(String[] args)
throws VisADException,
RemoteException,
IOException
- Throws:
VisADException
RemoteException
IOException
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