org.gvsig.tools.observer
Interface ComplexObservable

All Known Subinterfaces:
ComplexWeakReferencingObservable
All Known Implementing Classes:
BaseWeakReferencingObservable, DelegateWeakReferencingObservable

public interface ComplexObservable


Method Summary
 void beginComplexNotification()
          Sets the Observable in complex notification mode.
 void disableNotifications()
          Disable the notification of events to registered Observers.
 void enableNotifications()
          Enable (default) the notification of events to registered Observers.
 void endComplexNotification()
          Ends the complex notification mode.
 

Method Detail

disableNotifications

void disableNotifications()
Disable the notification of events to registered Observers.


enableNotifications

void enableNotifications()
Enable (default) the notification of events to registered Observers.


beginComplexNotification

void beginComplexNotification()
Sets the Observable in complex notification mode. All notifications must be stored, until the mode ends, and then notify all Observers with all the notifications.


endComplexNotification

void endComplexNotification()
Ends the complex notification mode. All notifications stored while in complex notification mode, will be notified to the registered Observers.



Copyright © 2004-2011 gvSIG. All Rights Reserved.