Overview | Package | Class | Use | Tree | Help
| HEADER
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## ru.biosoft.access
Interface DataCollectionListener

All Known Subinterfaces:
  QuerySystem

All Known Implementing Classes:
  EModel, TitleSqlIndex, DataCollectionListenerSupport, DataCollectionUndoListener, DataCollectionUnion2, FilteredDataCollection, DataCollectionTreeModelAdapter, DataCollectionRowModelAdapter, NameListToListModelAdapter, TransformedDataCollection

public interface DataCollectionListener
extends EventListener

Interface for listen data collection events.

See Also: DataCollection
pending 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:
    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:
    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:
    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.
    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.
    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.
    Exception - If error occured.

Overview | Package | Class | Use | Tree | Help
| FOOTER
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

BOTTOM