All Packages Class Hierarchy This Package Previous Next Index
Class quicktime.app.actions.SimpleActionList
java.lang.Object
|
+----quicktime.app.actions.TickleList
|
+----quicktime.app.actions.SimpleActionList
- public class SimpleActionList
- extends TickleList
The SimpleActionList class extends the TickleList to
provide a list of Targetable objects. The Targetable interface
extends the Ticklish interface providing a Ticklish object
with the concept of a target which will be acted upon by
in its tickle method. By providing a List that requires members
to be Targetable objects, the list can remove all of the actions
that are associated with a particular target and return an enumeration
that is capable of enumerating over the list's targets.
- See Also:
- Targetable
-
SimpleActionList()
- Create an empty Action list
-
isAppropriate(Object)
- Returns true if the object implements the Targetable interface.
-
removeTarget(Object)
- Removes any and all actions that target the supplied target.
-
targets()
- Return an Enumeration that is capable of enumerating through
the targets that are targetted by the actions.
SimpleActionList
public SimpleActionList()
- Create an empty Action list
targets
public Enumeration targets()
- Return an Enumeration that is capable of enumerating through
the targets that are targetted by the actions. As any of the
actions that are added can target the same object, this Enumerator
should iterate through each of the targets, with each target
being unique.
- Returns:
- an Enumerator
isAppropriate
public boolean isAppropriate(Object object)
- Returns true if the object implements the Targetable interface. Only
Targetable objects can be members of the SimpleActionList
- Parameters:
- object - an object to test for appropriateness of this list
- Returns:
- true if the object implements the Targetable interface
- Overrides:
- isAppropriate in class TickleList
removeTarget
public synchronized void removeTarget(Object target)
- Removes any and all actions that target the supplied target.
- Parameters:
- target - the target which determines which actions to remove
All Packages Class Hierarchy This Package Previous Next Index