edu.nrao.sss.model.source
Interface SourceTableListener


public interface SourceTableListener

A listener of events in a SourceLookupTable.

CVS Info:

$Revision: 161 $
$Date: 2006-12-15 11:48:34 -0700 (Fri, 15 Dec 2006) $
$Author: btruitt $

Since:
2006-09-20
Author:
David M. Harland

Field Summary
static SourceTableListener NULL_LISTENER
          A listener that does not respond to any of the events.
 
Method Summary
 void entriesCleared(SourceLookupTable table)
          Sent after all entries were removed from table.
 void sourceAdded(Source newSource, SourceLookupTable table)
          Sent after newSource was added to table.
 void sourceRemoved(Source oldSource, SourceLookupTable table)
          Sent after oldSource was removed from table.
 void sourcesAdded(Collection<Source> newSources, SourceLookupTable table)
          Sent after newSources were added to table.
 

Field Detail

NULL_LISTENER

static final SourceTableListener NULL_LISTENER
A listener that does not respond to any of the events.

Method Detail

sourceAdded

void sourceAdded(Source newSource,
                 SourceLookupTable table)
Sent after newSource was added to table.

Parameters:
newSource - the source that was added to table.
table - the table that sent this message.

sourcesAdded

void sourcesAdded(Collection<Source> newSources,
                  SourceLookupTable table)
Sent after newSources were added to table.

Parameters:
newSources - the sources that were added to table.
table - the table that sent this message.

sourceRemoved

void sourceRemoved(Source oldSource,
                   SourceLookupTable table)
Sent after oldSource was removed from table.

Parameters:
oldSource - the source that was removed from table.
table - the table that sent this message.

entriesCleared

void entriesCleared(SourceLookupTable table)
Sent after all entries were removed from table.

Parameters:
table - the table that sent this message.


Copyright © 2009. All Rights Reserved.