com.jrefinery.data
Class DatasetChangeEvent

java.lang.Object
  extended by java.util.EventObject
      extended by com.jrefinery.data.DatasetChangeEvent
All Implemented Interfaces:
java.io.Serializable

public class DatasetChangeEvent
extends java.util.EventObject

A change event that encapsulates information about a change to a dataset.

See Also:
Serialized Form

Field Summary
protected  Dataset data
          The dataset that generated the change event.
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
DatasetChangeEvent(java.lang.Object source, Dataset data)
          Constructs a new event.
 
Method Summary
 Dataset getDataset()
          Returns the dataset that generated the event.
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

data

protected Dataset data
The dataset that generated the change event.

Constructor Detail

DatasetChangeEvent

public DatasetChangeEvent(java.lang.Object source,
                          Dataset data)
Constructs a new event.

The source is either the dataset or the Plot class. The dataset can be null (in this case the source will be the Plot class).

Parameters:
source - The source of the event.
data - The dataset that generated the event.
Method Detail

getDataset

public Dataset getDataset()
Returns the dataset that generated the event.

Returns:
The dataset.


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.