|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Objects that implement this interface are declaring an interest that is derived or sourced from the object that is supplied as the argument to the addedTo interest. For instance java.awt.Components are a source for events that may be used to control the playback of a movie. One such application of this interface is for objects that are set as the client of a QTCanvas to be notified when they have been added to the canvas.
However this interface is more general and can be used to specify a variety of situations and applications depending on the container that the implementor of this interest is added to.
The Listener object can cast the incoming source object to an expected class - if the source object is not of that type a runtime exception is generated. Generally the container and member relationship will enforce the appropriateness of a member for its container.
| Method Summary | |
void |
addedTo(java.lang.Object source)
Deprecated. since QTJava 6.1 |
void |
removedFrom(java.lang.Object source)
Deprecated. since QTJava 6.1 |
| Method Detail |
public void addedTo(java.lang.Object source)
source - the object that is to be the source of interest for the
the Listener object.public void removedFrom(java.lang.Object source)
source - the object that is to be the source of interest for the
the Listener object.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||