org.rapla.facade
Interface AllocationChangeListener
public interface AllocationChangeListener
After a store all registered ChangeListeners get notified by calling
the trigger method. A list with all changes is passed.
At the moment only AllocationChangeEvents are triggered.
By this you can get notified, when any Reservation changes.
The difference between the UpdateEvent and a ChangeEvent is,
that the UpdateEvent contains the new Versions of all updated enties,
while a ChangeEvent contains Information about a single change.
That change can be calculated as with the AllocationChangeEvent, which
represents a single allocation change for one allocatable object
,including information about the old allocation and the new one.
- See Also:
AllocationChangeEvent
changed
void changed(AllocationChangeEvent[] changeEvents)
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.