org.mbari.siam.moos.utils.node
Class DataDisplay

java.lang.Object
  extended by org.mbari.siam.moos.utils.node.DataDisplay
All Implemented Interfaces:
java.awt.event.WindowListener, java.util.EventListener, NodeEventListener
Direct Known Subclasses:
CompassDisplay, CTDDisplay, EnvDisplay

public abstract class DataDisplay
extends java.lang.Object
implements java.awt.event.WindowListener, NodeEventListener

DataDisplay

Description: This is an abstract class from which all charts (e.g. EnvChart) inherit.

Copyright October 2003 MBARI * Monterey Bay Aquarium Research Institute Proprietary Information. All rights reserved.

Version:
1.0
Author:
Kent Headley

Field Summary
protected  ChartFrame _chartFrame
           
protected  java.util.Vector _dataList
           
protected  DatasetThread _datasetThread
           
protected  Instrument _instrument
           
protected  java.lang.String _nodeName
           
protected  java.util.ResourceBundle _resources
           
protected  DataDisplaySettings _settings
           
protected  DataUpdateThread _updateThread
           
 
Constructor Summary
DataDisplay(java.lang.String nodeName, long isiID)
          constructor
 
Method Summary
 Node getNodeService()
          method to get the nodeService
 void serviceChanged(long deviceID)
          Called when a service changes state.
 void serviceStarted(long deviceID)
          Called when a service is started.
 void serviceTerminated(long deviceID)
          Called when a service is terminated.
 void setSecurityManager()
          method to set the Security Manager
abstract  void startDisplay()
          Start the data display Does nothing; subclasses must override
 void windowActivated(java.awt.event.WindowEvent e)
           
 void windowClosed(java.awt.event.WindowEvent e)
           
 void windowClosing(java.awt.event.WindowEvent e)
           
 void windowDeactivated(java.awt.event.WindowEvent e)
           
 void windowDeiconified(java.awt.event.WindowEvent e)
           
 void windowIconified(java.awt.event.WindowEvent e)
           
 void windowOpened(java.awt.event.WindowEvent e)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_resources

protected java.util.ResourceBundle _resources

_chartFrame

protected ChartFrame _chartFrame

_dataList

protected java.util.Vector _dataList

_instrument

protected Instrument _instrument

_nodeName

protected java.lang.String _nodeName

_settings

protected DataDisplaySettings _settings

_updateThread

protected DataUpdateThread _updateThread

_datasetThread

protected DatasetThread _datasetThread
Constructor Detail

DataDisplay

public DataDisplay(java.lang.String nodeName,
                   long isiID)
constructor

Method Detail

startDisplay

public abstract void startDisplay()
Start the data display Does nothing; subclasses must override


getNodeService

public Node getNodeService()
method to get the nodeService


setSecurityManager

public void setSecurityManager()
method to set the Security Manager


windowClosing

public void windowClosing(java.awt.event.WindowEvent e)
Specified by:
windowClosing in interface java.awt.event.WindowListener

windowActivated

public void windowActivated(java.awt.event.WindowEvent e)
Specified by:
windowActivated in interface java.awt.event.WindowListener

windowOpened

public void windowOpened(java.awt.event.WindowEvent e)
Specified by:
windowOpened in interface java.awt.event.WindowListener

windowClosed

public void windowClosed(java.awt.event.WindowEvent e)
Specified by:
windowClosed in interface java.awt.event.WindowListener

windowIconified

public void windowIconified(java.awt.event.WindowEvent e)
Specified by:
windowIconified in interface java.awt.event.WindowListener

windowDeiconified

public void windowDeiconified(java.awt.event.WindowEvent e)
Specified by:
windowDeiconified in interface java.awt.event.WindowListener

windowDeactivated

public void windowDeactivated(java.awt.event.WindowEvent e)
Specified by:
windowDeactivated in interface java.awt.event.WindowListener

serviceTerminated

public void serviceTerminated(long deviceID)
Called when a service is terminated.

Specified by:
serviceTerminated in interface NodeEventListener

serviceStarted

public void serviceStarted(long deviceID)
Called when a service is started.

Specified by:
serviceStarted in interface NodeEventListener

serviceChanged

public void serviceChanged(long deviceID)
Called when a service changes state.

Specified by:
serviceChanged in interface NodeEventListener


Copyright © 2003 MBARI.

The Monterey Bay Aquarium Research Institute (MBARI) provides this documentation and code "as is", with no warranty, express or implied, of its quality or consistency. It is provided without support and without obligation on the part of MBARI to assist in its use, correction, modification, or enhancement.