endrov.core.observer
Class SimpleObserver

java.lang.Object
  extended by endrov.core.observer.GeneralObserver<SimpleObserver.Listener>
      extended by endrov.core.observer.SimpleObserver

public class SimpleObserver
extends GeneralObserver<SimpleObserver.Listener>

Special case of GeneralObserver with just source (or null) sent to observers. Or anything


Nested Class Summary
static interface SimpleObserver.Listener
           
 
Constructor Summary
SimpleObserver()
           
 
Method Summary
 void emit(java.lang.Object o)
          Emit signal to all observers
 
Methods inherited from class endrov.core.observer.GeneralObserver
addStrongListener, addWeakListener, getListeners, remove
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleObserver

public SimpleObserver()
Method Detail

emit

public void emit(java.lang.Object o)
Emit signal to all observers