|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectru.biosoft.access.DataCollectionUndoListener
These class listen all changes inn DataCollection, converts them to UndoableEdit and add them to UndoManager.
| Field Summary | |
protected DataElement |
elementToRemove
|
| Constructor Summary | |
DataCollectionUndoListener(com.beanexplorer.undo.TransactionListener transactionListener)
|
|
| 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. |
void |
propertyChange(java.beans.PropertyChangeEvent pce)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected DataElement elementToRemove
| Constructor Detail |
public DataCollectionUndoListener(com.beanexplorer.undo.TransactionListener transactionListener)
| Method Detail |
public void propertyChange(java.beans.PropertyChangeEvent pce)
propertyChange in interface java.beans.PropertyChangeListener
public void elementWillAdd(DataCollectionEvent e)
throws DataCollectionVetoException,
java.lang.Exception
DataCollectionListener
elementWillAdd in interface DataCollectionListenere - DataCollectionEvent information about will added data element.
DataCollectionVetoException - If listener cancel adding of data element.
java.lang.Exception - If error occured.
public void elementAdded(DataCollectionEvent e)
throws java.lang.Exception
DataCollectionListener
elementAdded in interface DataCollectionListenere - DataCollectionEvent information about added data element.
java.lang.Exception - If error occured.
public void elementWillRemove(DataCollectionEvent e)
throws DataCollectionVetoException,
java.lang.Exception
DataCollectionListener
elementWillRemove in interface DataCollectionListenere - DataCollectionEvent information about will removed data element.
DataCollectionVetoException - If listener cancel removing of data element.
java.lang.Exception - If error occured.
public void elementRemoved(DataCollectionEvent e)
throws java.lang.Exception
DataCollectionListener
elementRemoved in interface DataCollectionListenere - DataCollectionEvent information about removed data element.
java.lang.Exception - If error occured.
public void elementWillChange(DataCollectionEvent e)
throws DataCollectionVetoException,
java.lang.Exception
DataCollectionListenere contains old data element (which will be changed).
elementWillChange in interface DataCollectionListenere - DataCollectionEvent information about will change data element.
DataCollectionVetoException - If listener cancel changing of data element.
java.lang.Exception - If error occured.
public void elementChanged(DataCollectionEvent e)
throws java.lang.Exception
DataCollectionListenere contains old data element (which already changed).
elementChanged in interface DataCollectionListenere - DataCollectionEvent information about changed data element.
java.lang.Exception - If error occured.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||