quicktime.app.players
Interface QTPlayerEventHandlerMaker


public interface QTPlayerEventHandlerMaker

Objects that implement this interface return a QTPlayerEventHandler when the make method is called based on their particular ability to receive events from the addedToInterest source and handle events for the particular player.


Method Summary
 QTPlayerEventHandler make(QTPlayer p, java.lang.Object addedToInterest)
          Return an event handler for the specified player where the addedToInterest object is the object that will be the source of events for that player.
 

Method Detail

make

public QTPlayerEventHandler make(QTPlayer p,
                                 java.lang.Object addedToInterest)
Return an event handler for the specified player where the addedToInterest object is the object that will be the source of events for that player. If either the player or interest is not appropriate then this method should return null.
Parameters:
p - the QTPlayer
addedToInterest - the object that the QTPlayer has been added to
Returns:
a QTPlayerEventHandler or null if can't handle events from either the specified source or the specified player.