quicktime.app.actions
Interface NotifyListener

All Known Implementing Classes:
TwoDSprite

public interface NotifyListener

This is a marker interface for those listener objects that are not valid until the source of the events that the object is interested in becomes valid.

See Also:
Notifier

Method Summary
 void notifyComplete()
          The Notifier will call this method when it has completed its task.
 boolean setNotifier(Notifier notifier)
          This registers the Notifier for this listener.
 

Method Detail

setNotifier

public boolean setNotifier(Notifier notifier)
This registers the Notifier for this listener. If the notifier is not an appropriate Notifier for this listener the setNotifier should return false so the Notifier knows the listener is inappropriate.
Parameters:
notifier - the Notifier that will notify the listener when it has reached the state that the listener expects.
Returns:
true if the Notifier is appropriate for the NotifyListener

notifyComplete

public void notifyComplete()
The Notifier will call this method when it has completed its task. When the Notifier calls this method on a NotifyListener the listener can assume that whatever information or state the Notifier possesses is now complete and can take whatever actions are appropriate.