org.gvsig.tools.observer.impl
Class DelegateWeakReferencingObservable

java.lang.Object
  extended by org.gvsig.tools.observer.impl.BaseWeakReferencingObservable
      extended by org.gvsig.tools.observer.impl.DelegateWeakReferencingObservable
All Implemented Interfaces:
Cloneable, ComplexObservable, ComplexWeakReferencingObservable, Observable, WeakReferencingObservable

public class DelegateWeakReferencingObservable
extends BaseWeakReferencingObservable

Observer implementation which uses another Observable as the parameter for the notification to the registered Observers. Most useful to be used as a delegate by Observable clases that can't extend the BaseObservable.

Author:
Cèsar Ordiñana

Constructor Summary
DelegateWeakReferencingObservable(WeakReferencingObservable observable)
          Creates a new DelegateObservable with the Observable to be used to notify the Observers.
 
Method Summary
protected  void notify(WeakReferencingObservable observable, Object object)
           
 
Methods inherited from class org.gvsig.tools.observer.impl.BaseWeakReferencingObservable
addObserver, addObserver, addObservers, beginComplexNotification, clearChanged, clone, countObservers, deleteObserver, deleteObserver, deleteObservers, disableNotifications, enableNotifications, endComplexNotification, hasChanged, inComplex, isEnabledNotifications, notifyObservers, notifyObservers, setChanged
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DelegateWeakReferencingObservable

public DelegateWeakReferencingObservable(WeakReferencingObservable observable)
Creates a new DelegateObservable with the Observable to be used to notify the Observers.

Method Detail

notify

protected void notify(WeakReferencingObservable observable,
                      Object object)
Overrides:
notify in class BaseWeakReferencingObservable


Copyright © 2004-2011 gvSIG. All Rights Reserved.