All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class quicktime.std.movies.ActionFilter

java.lang.Object
   |
   +----quicktime.std.movies.ActionFilter

public abstract class ActionFilter
extends Object
The ActionFilter class is used by action filters on the MovieController. An application should subclass this class over-riding the method(s) that it is interested in. Actions associated with methods not over-ridden will return false, indicating to the Movie toolbox that it should handle the action.

See Also:
QTCallBack

Method Index

 o execute(MovieController, int)
This method should be overridden to handle the following actions:
 o execute(MovieController, int, AtomContainer, Atom)
This method should be overridden to handle the following actions:

 o execute(MovieController, int, boolean)
This method should be overridden to handle the following actions:
 o execute(MovieController, int, boolean[])
This method should be overridden to handle the following actions:
 o execute(MovieController, int, float)
This method should be overridden to handle the following actions:
 o execute(MovieController, int, float[])
This method should be overridden to handle the following actions:
 o execute(MovieController, int, int)
This method should be overridden to handle the following actions:
 o execute(MovieController, int, int[])
This method should be overridden to handle the following actions:
 o execute(MovieController, int, QDPoint)
This method should be overridden to handle the following actions:
 o execute(MovieController, int, ResolvedQTEventSpec)
This method should be overridden to handle the following actions: This class will pass on the wired sprites actions.
 o execute(MovieController, int, StringHandle)
This method should be overridden to handle the following actions:
 o execute(MovieController, int, TimeRecord)
This method should be overridden to handle the following actions:
 o execute(MovieController, QDRect)
This method should be overridden to handle the following actions:

Methods

 o execute
 public boolean execute(MovieController mc,
                        int action)
This method should be overridden to handle the following actions:

Parameters:
mc - the movie controller the action is invoked upon
action - the id of the action that invoked this method
Returns:
true if you handled the action otherwise false
 o execute
 public boolean execute(MovieController mc,
                        int action,
                        float value)
This method should be overridden to handle the following actions:

Parameters:
mc - the movie controller the action is invoked upon
action - the id of the action that invoked this method
value - the value that accompanies that action
Returns:
true if you handled the action otherwise false
 o execute
 public boolean execute(MovieController mc,
                        int action,
                        float value[])
This method should be overridden to handle the following actions:

Parameters:
mc - the movie controller the action is invoked upon
action - the id of the action that invoked this method
value - In the first element of this array the application should return the desired value for this action and return true. If the application wants the MovieToolbox to return the current value then return false.
Returns:
true if you handled the action otherwise false
 o execute
 public boolean execute(MovieController mc,
                        int action,
                        boolean value[])
This method should be overridden to handle the following actions:

Parameters:
mc - the movie controller the action is invoked upon
action - the id of the action that invoked this method
value - In the first element of this array the application should return the desired value for this action and return true. If the application wants the MovieToolbox to return the current value then return false.
Returns:
true if you handled the action otherwise false
 o execute
 public boolean execute(MovieController mc,
                        int action,
                        int value[])
This method should be overridden to handle the following actions:

Parameters:
mc - the movie controller the action is invoked upon
action - the id of the action that invoked this method
value - In the first element of this array the application should return the desired value for this action and return true. If the application wants the MovieToolbox to return the current value then return false.
Returns:
true if you handled the action otherwise false
 o execute
 public boolean execute(MovieController mc,
                        int action,
                        boolean value)
This method should be overridden to handle the following actions:

Parameters:
mc - the movie controller the action is invoked upon
action - the id of the action that invoked this method
value - the value that is associated with that action
Returns:
true if you handled the action otherwise false
 o execute
 public boolean execute(MovieController mc,
                        QDRect rect)
This method should be overridden to handle the following actions:

Parameters:
mc - the movie controller the action is invoked upon
rect - the QDRect that defines the bounds of the movie
Returns:
true if you handled the action otherwise false
 o execute
 public boolean execute(MovieController mc,
                        int action,
                        int value)
This method should be overridden to handle the following actions:

Parameters:
mc - the movie controller the action is invoked upon
action - the id of the action that invoked this method
value - the value that is associated with that action
Returns:
true if you handled the action otherwise false
 o execute
 public boolean execute(MovieController mc,
                        int action,
                        TimeRecord tr)
This method should be overridden to handle the following actions:

Parameters:
mc - the movie controller the action is invoked upon
action - the id of the action that invoked this method
value - the value that is associated with that action
Returns:
true if you handled the action otherwise false
 o execute
 public boolean execute(MovieController mc,
                        int action,
                        ResolvedQTEventSpec es)
This method should be overridden to handle the following actions: This class will pass on the wired sprites actions.

mcActionExecuteAllActionsForQTEvent

This allows your application to filter QuickTime events for which the movie has actions. This is sent before any actions are executed. Return true from your filter proc if you do not want the actions to be executed; return false if you do want the actions executed. The parameter is a ResolvedQTEventSpecPtr. The type of QuickTime event may be determined from the QTAtomSpec portion. The atom is either a kQTEventFrameLoaded atom, or a kQTEventType atom in which case its ID specifies the type of QuickTime event.

mcActionExecuteOneActionForQTEvent

This allows your application to filter individual actions which are about to be executed in response to a QuickTime event. This is sent before the action is executed. Return true from your filter proc if you do not want the action to be executed, return false if you do want the action executed. The parameter is a ResolvedQTEventSpecPtr. The type of action may be determined from the QTAtomSpec portion. The atom is a kAction atom. The type of action is specified by the leaf data of its child atom of type kWhichAction.

Parameters:
mc - the movie controller the action is invoked upon
action - the id of the action that invoked this method
es - a ResolvedQTEventSpec associated with the action
Returns:
true if you handled the action otherwise false
 o execute
 public boolean execute(MovieController mc,
                        int action,
                        AtomContainer container,
                        Atom atom)
This method should be overridden to handle the following actions:

Parameters:
mc - the movie controller the action is invoked upon
action - the id of the action that invoked this method
container - the AtomContainer for the perform action list
atom - the atom
Returns:
true if you handled the action otherwise false
 o execute
 public boolean execute(MovieController mc,
                        int action,
                        StringHandle string)
This method should be overridden to handle the following actions:

Parameters:
mc - the movie controller the action is invoked upon
action - the id of the action that invoked this method
string - The String returned by the movie controller
Returns:
true if you handled the action otherwise false
 o execute
 public boolean execute(MovieController mc,
                        int action,
                        QDPoint point)
This method should be overridden to handle the following actions:

Parameters:
mc - the movie controller the action is invoked upon
action - the id of the action that invoked this method
point - the Point in local coordinates
Returns:
true if you handled the action otherwise false

All Packages  Class Hierarchy  This Package  Previous  Next  Index