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
-
execute(MovieController, int)
- This method should be overridden to handle the following actions:
- mcActionIdle ID = 1
- mcActionActivate ID = 3
- mcActionDeactivate ID = 4
- mcActionDraw ID = 2 (The Graphics object of the controller can be retrieved from the controller if required)
- mcActionSetColorTable (The ColorTable object of the movie can be retrieved from the movie)
- mcActionForceTimeTableUpdate
-
execute(MovieController, int, AtomContainer, Atom)
- This method should be overridden to handle the following actions:
- mcActionPerformActionList
-
execute(MovieController, int, boolean)
- This method should be overridden to handle the following actions:
- mcActionSetLooping
- mcActionSetLoopIsPalindrome
- mcActionSetKeysEnabled
- mcActionSetPlaySelection
- mcActionSetUseBadge
- mcActionSetPlayEveryFrame
- mcActionSetCursorSettingEnabled
- mcActionGetDragEnabled
-
execute(MovieController, int, boolean[])
- This method should be overridden to handle the following actions:
- mcActionGetLooping
- mcActionGetLoopIsPalindrome
- mcActionGetKeysEnabled
- mcActionGetPlaySelection
- mcActionGetUseBadge
- mcActionGetPlayEveryFrame
- mcActionShowBalloon - set to false to stop balloon
- mcActionBadgeClick - set to false to ignore click
- mcActionGetDragEnabled
- mcActionGetCursorSettingEnabled
-
execute(MovieController, int, float)
- This method should be overridden to handle the following actions:
- mcActionPlay
- mcActionSetVolume
- mcActionPrerollAndPlay
-
execute(MovieController, int, float[])
- This method should be overridden to handle the following actions:
- mcActionGetVolume
- mcActionGetPlayRate
-
execute(MovieController, int, int)
- This method should be overridden to handle the following actions:
- mcActionStep
- mcActionSetFlags
-
execute(MovieController, int, int[])
- This method should be overridden to handle the following actions:
-
execute(MovieController, int, QDPoint)
- This method should be overridden to handle the following actions:
- mcActionForceTimeTableUpdate
-
execute(MovieController, int, ResolvedQTEventSpec)
- This method should be overridden to handle the following actions:
- mcActionExecuteAllActionsForQTEvent
- mcActionExecuteOneActionForQTEvent
This class will pass on the wired sprites actions.
-
execute(MovieController, int, StringHandle)
- This method should be overridden to handle the following actions:
- mcActionLinkToURL
- mcActionShowMessageString
- mcActionGetNextURL
-
execute(MovieController, int, TimeRecord)
- This method should be overridden to handle the following actions:
- mcActionGoToTime
- mcActionSetSelectionBegin
- mcActionGetSelectionBegin
- mcActionSetSelectionDuration
- mcActionGetSelectionDuration
-
execute(MovieController, QDRect)
- This method should be overridden to handle the following actions:
execute
public boolean execute(MovieController mc,
int action)
- This method should be overridden to handle the following actions:
- mcActionIdle ID = 1
- mcActionActivate ID = 3
- mcActionDeactivate ID = 4
- mcActionDraw ID = 2 (The Graphics object of the controller can be retrieved from the controller if required)
- mcActionSetColorTable (The ColorTable object of the movie can be retrieved from the movie)
- mcActionForceTimeTableUpdate
- 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
execute
public boolean execute(MovieController mc,
int action,
float value)
- This method should be overridden to handle the following actions:
- mcActionPlay
- mcActionSetVolume
- mcActionPrerollAndPlay
- 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
execute
public boolean execute(MovieController mc,
int action,
float value[])
- This method should be overridden to handle the following actions:
- mcActionGetVolume
- mcActionGetPlayRate
- 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
execute
public boolean execute(MovieController mc,
int action,
boolean value[])
- This method should be overridden to handle the following actions:
- mcActionGetLooping
- mcActionGetLoopIsPalindrome
- mcActionGetKeysEnabled
- mcActionGetPlaySelection
- mcActionGetUseBadge
- mcActionGetPlayEveryFrame
- mcActionShowBalloon - set to false to stop balloon
- mcActionBadgeClick - set to false to ignore click
- mcActionGetDragEnabled
- mcActionGetCursorSettingEnabled
- 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
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
execute
public boolean execute(MovieController mc,
int action,
boolean value)
- This method should be overridden to handle the following actions:
- mcActionSetLooping
- mcActionSetLoopIsPalindrome
- mcActionSetKeysEnabled
- mcActionSetPlaySelection
- mcActionSetUseBadge
- mcActionSetPlayEveryFrame
- mcActionSetCursorSettingEnabled
- mcActionGetDragEnabled
- 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
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
execute
public boolean execute(MovieController mc,
int action,
int value)
- This method should be overridden to handle the following actions:
- mcActionStep
- mcActionSetFlags
- 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
execute
public boolean execute(MovieController mc,
int action,
TimeRecord tr)
- This method should be overridden to handle the following actions:
- mcActionGoToTime
- mcActionSetSelectionBegin
- mcActionGetSelectionBegin
- mcActionSetSelectionDuration
- mcActionGetSelectionDuration
- 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
execute
public boolean execute(MovieController mc,
int action,
ResolvedQTEventSpec es)
- This method should be overridden to handle the following actions:
- mcActionExecuteAllActionsForQTEvent
- mcActionExecuteOneActionForQTEvent
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
execute
public boolean execute(MovieController mc,
int action,
AtomContainer container,
Atom atom)
- This method should be overridden to handle the following actions:
- mcActionPerformActionList
- 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
execute
public boolean execute(MovieController mc,
int action,
StringHandle string)
- This method should be overridden to handle the following actions:
- mcActionLinkToURL
- mcActionShowMessageString
- mcActionGetNextURL
- 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
execute
public boolean execute(MovieController mc,
int action,
QDPoint point)
- This method should be overridden to handle the following actions:
- mcActionForceTimeTableUpdate
- 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