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

java.lang.Object
  extended by org.mbari.siam.moos.utils.node.DatasetThread
All Implemented Interfaces:
java.lang.Runnable
Direct Known Subclasses:
CompassDatasetThread, CTDDatasetThread, EnvDatasetThread

public class DatasetThread
extends java.lang.Object
implements java.lang.Runnable

Dataset Thread

Description: This thread class refreshes the chartpanel and redraws the chart.

C August 2003 MBARI * Monterey Bay Aquarium Research Institute Proprietary Information. All rights reserved.

Version:
1.0
Author:
Sanghamitra Das

Field Summary
protected  javax.swing.JFrame _chart
           
protected  java.util.Vector _dataList
           
protected  boolean _run
           
protected  DataDisplaySettings _settings
           
 
Constructor Summary
DatasetThread(java.util.Vector dataList, javax.swing.JFrame chart, DataDisplaySettings settings)
           
 
Method Summary
 void run()
           
 void setRun(boolean value)
           
protected  void update(int i)
          subclasses should override this with an appropriate Dataset type
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_dataList

protected java.util.Vector _dataList

_chart

protected javax.swing.JFrame _chart

_run

protected boolean _run

_settings

protected DataDisplaySettings _settings
Constructor Detail

DatasetThread

public DatasetThread(java.util.Vector dataList,
                     javax.swing.JFrame chart,
                     DataDisplaySettings settings)
Method Detail

update

protected void update(int i)
subclasses should override this with an appropriate Dataset type


run

public void run()
Specified by:
run in interface java.lang.Runnable

setRun

public void setRun(boolean value)


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.