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

Constructor Index

 o SimpleActionList()
Create an empty Action list

Method Index

 o isAppropriate(Object)
Returns true if the object implements the Targetable interface.
 o removeTarget(Object)
Removes any and all actions that target the supplied target.
 o targets()
Return an Enumeration that is capable of enumerating through the targets that are targetted by the actions.

Constructors

 o SimpleActionList
 public SimpleActionList()
Create an empty Action list

Methods

 o 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
 o 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
 o 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