corina
Interface SampleListener

All Superinterfaces:
EventListener
All Known Implementing Classes:
SampleAdapter, ElementsPanel, WJTableModel, SampleDataView, Statistics, SampleMetaView, Editor, GraphFrame

public interface SampleListener
extends EventListener

An interface for views-of-a-samples to implement. When a Sample is modified, one (or more) of these methods will be called, so the view can update itself.

Version:
$Id: SampleListener.java,v 1.1.1.1 2002/04/11 19:40:18 bitpoet Exp $
Author:
Ken Harris

Method Summary
 void sampleDataChanged(SampleEvent e)
          One or more of the numbers of the dataset have changed.
 void sampleElementsChanged(SampleEvent e)
          The elements were changed.
 void sampleFormatChanged(SampleEvent e)
          The format (raw/indexed/summed) was changed.
 void sampleMetadataChanged(SampleEvent e)
          One or more of the metadata fields has been changed (the element changed, or a key was added or removed).
 void sampleRedated(SampleEvent e)
          The starting/ending dates of this sample have changed.
 

Method Detail

sampleRedated

public void sampleRedated(SampleEvent e)
The starting/ending dates of this sample have changed.
Parameters:
e - the Event object

sampleDataChanged

public void sampleDataChanged(SampleEvent e)
One or more of the numbers of the dataset have changed.
Parameters:
e - the Event object

sampleMetadataChanged

public void sampleMetadataChanged(SampleEvent e)
One or more of the metadata fields has been changed (the element changed, or a key was added or removed).
Parameters:
e - the Event object

sampleFormatChanged

public void sampleFormatChanged(SampleEvent e)
The format (raw/indexed/summed) was changed.
Parameters:
e - the Event object

sampleElementsChanged

public void sampleElementsChanged(SampleEvent e)
The elements were changed.
Parameters:
e - the Event object