org.rapla.facade
Interface ModificationListener

All Superinterfaces:
EventListener

public interface ModificationListener
extends EventListener

Classes implementing this interface will be notified when changes to reservations or resources occurred. The listener can be registered by calling addModificationListener of the UpdateModule
Don't forget to remove the listener by calling removeModificationLister when no longer needed.

Version:
CVS $Revision: 1.12 $ $Date: 2006/01/08 14:43:14 $
Author:
Christopher Kohlhaas
See Also:
UpdateModule, ModificationEvent

Method Summary
 void dataChanged(ModificationEvent evt)
          this notifies all listeners that data in the rapla-backend has changed.
 boolean isInvokedOnAWTEventQueue()
          Return true if you want the notification to be synchronized with the awt event-queue using SwingUtilities.invokeLater(java.lang.Runnable).
 

Method Detail

dataChanged

void dataChanged(ModificationEvent evt)
                 throws RaplaException
this notifies all listeners that data in the rapla-backend has changed. The ModificationEvent describes these changes.

Throws:
RaplaException

isInvokedOnAWTEventQueue

boolean isInvokedOnAWTEventQueue()
Return true if you want the notification to be synchronized with the awt event-queue using SwingUtilities.invokeLater(java.lang.Runnable). Use this to avaoid synchronization problems with swing guis.



Copyright © 2000-2006 Rapla Team. All Rights Reseserved.