ru.biosoft.access
Interface DataCollectionListener

All Superinterfaces:
java.util.EventListener
All Known Subinterfaces:
QuerySystem
All Known Implementing Classes:
DataCollectionListenerSupport, DataCollectionRowModelAdapter, DataCollectionTreeModelAdapter, DataCollectionUndoListener, DataCollectionUnion2, DefaultQuerySystem, EModel, FilteredDataCollection, NameListToListModelAdapter, TitleSqlIndex, TransformedDataCollection

public interface DataCollectionListener
extends java.util.EventListener

Interface for listen data collection events.

See Also:
DataCollection
Pendung:
high Rename methods like elementWillChange to elementWillBeChanged

Method Summary
 void elementAdded(DataCollectionEvent e)
          Called after data element was added.
 void elementChanged(DataCollectionEvent e)
          Called after data element was changed.
 void elementRemoved(DataCollectionEvent e)
          Called after data element was removed.
 void elementWillAdd(DataCollectionEvent e)
          Called before data element will be added.
 void elementWillChange(DataCollectionEvent e)
          Called before data element will be changed.
 void elementWillRemove(DataCollectionEvent e)
          Called before data element will be removed.
 

Method Detail

elementAdded

public void elementAdded(DataCollectionEvent e)
                  throws java.lang.Exception
Called after data element was added.

Parameters:
e - DataCollectionEvent information about added data element.
Throws:
java.lang.Exception - If error occured.

elementWillAdd

public void elementWillAdd(DataCollectionEvent e)
                    throws DataCollectionVetoException,
                           java.lang.Exception
Called before data element will be added.

Parameters:
e - DataCollectionEvent information about will added data element.
Throws:
DataCollectionVetoException - If listener cancel adding of data element.
java.lang.Exception - If error occured.

elementChanged

public void elementChanged(DataCollectionEvent e)
                    throws java.lang.Exception
Called after data element was changed. e contains old data element (which already changed).

Parameters:
e - DataCollectionEvent information about changed data element.
Throws:
java.lang.Exception - If error occured.

elementWillChange

public void elementWillChange(DataCollectionEvent e)
                       throws DataCollectionVetoException,
                              java.lang.Exception
Called before data element will be changed. e contains old data element (which will be changed).

Parameters:
e - DataCollectionEvent information about will change data element.
Throws:
DataCollectionVetoException - If listener cancel changing of data element.
java.lang.Exception - If error occured.

elementRemoved

public void elementRemoved(DataCollectionEvent e)
                    throws java.lang.Exception
Called after data element was removed.

Parameters:
e - DataCollectionEvent information about removed data element.
Throws:
java.lang.Exception - If error occured.

elementWillRemove

public void elementWillRemove(DataCollectionEvent e)
                       throws DataCollectionVetoException,
                              java.lang.Exception
Called before data element will be removed.

Parameters:
e - DataCollectionEvent information about will removed data element.
Throws:
DataCollectionVetoException - If listener cancel removing of data element.
java.lang.Exception - If error occured.


Copyright © 2001-2003 Biosof.Ru. All Rights Reserved.