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.


Variable Index

 o type

Constructor Index

 o ImprovObservable()

Method Index

 o addObserver(ImprovObserver)
 o addObserver(ImprovObserver, Object)
 o countObservers()
 o deleteObserver(ImprovObserver)
 o deleteObservers()
 o getType()
 o notifyObservers()

Variables

 o type
 protected int type

Constructors

 o ImprovObservable
 public ImprovObservable()

Methods

 o addObserver
 public final void addObserver(ImprovObserver i)
 o addObserver
 public final void addObserver(ImprovObserver i,
                               Object o)
 o deleteObserver
 public final void deleteObserver(ImprovObserver improvObserver)
 o deleteObservers
 public final void deleteObservers()
 o notifyObservers
 public final void notifyObservers()
 o countObservers
 public final int countObservers()
 o getType
 public final int getType()

All Packages  Class Hierarchy  This Package  Previous  Next  Index