All Packages Class Hierarchy This Package Previous Next Index
Class improv.event.ImprovObservable
java.lang.Object
|
+----improv.event.ImprovObservable
- public abstract class ImprovObservable
- extends Object
This class is the superclass of all Improv Objects which generate events
It is more flexible than the standard Observable class provided in Java. Because it allows
each observer to register an object which will be passed back to the observer when an event is generated.
An observer may also register itself more than once, providing multiple object arguments.
-
type
-
-
ImprovObservable()
-
-
addObserver(ImprovObserver)
-
-
addObserver(ImprovObserver, Object)
-
-
countObservers()
-
-
deleteObserver(ImprovObserver)
-
-
deleteObservers()
-
-
getType()
-
-
notifyObservers()
-
type
protected int type
ImprovObservable
public ImprovObservable()
addObserver
public final void addObserver(ImprovObserver i)
addObserver
public final void addObserver(ImprovObserver i,
Object o)
deleteObserver
public final void deleteObserver(ImprovObserver improvObserver)
deleteObservers
public final void deleteObservers()
notifyObservers
public final void notifyObservers()
countObservers
public final int countObservers()
getType
public final int getType()
All Packages Class Hierarchy This Package Previous Next Index