|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--quicktime.app.event.EventDispatcher
The EventDispatch is an abstract class that will create a subclass that will dispatch events to the controller. When creating an event dispatcher the make method will supply the ListenerController, the space that that controller has been added to and the object that the space itself has been added to. For instance adding a QTMouseController to a Compositor which is then set as the client of a QTCanvas. In the make method any custom makers will be queried to see if they can dispatch the kind of events the controller wants, for the space it is attached to and the kind of object that the space itself has been added to. If any of these objects are not appropriate objects for a given dispather the make method can return null and some other event dispatcher can be found.
Any custom makers that are registered will be queried first before the default system dispatchers are queried.
| Constructor Summary | |
protected |
EventDispatcher()
Deprecated. |
| Method Summary | |
protected abstract void |
addedTo()
Deprecated. When the ListenerController is addedTo its source of interest this method is called.* @deprecated since QTJava 6.1 |
static void |
registerMaker(EventDispatcherMaker m)
Deprecated. since QTJava 6.1 |
protected abstract void |
removedFrom()
Deprecated. When the ListenerController is removedFrom its source of interest this method is called.* @deprecated since QTJava 6.1 |
static void |
removeMaker(EventDispatcherMaker m)
Deprecated. since QTJava 6.1 |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
protected EventDispatcher()
| Method Detail |
public static void registerMaker(EventDispatcherMaker m)
public static void removeMaker(EventDispatcherMaker m)
protected abstract void addedTo()
protected abstract void removedFrom()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||