quicktime.app.actions
Class SimpleActionList

java.lang.Object
  |
  +--quicktime.app.actions.TickleList
        |
        +--quicktime.app.actions.SimpleActionList
All Implemented Interfaces:
Collection, CollectionController, Controller, Ticklish, TicklishController

Deprecated. since QTJava 6.1

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

Field Summary
 
Fields inherited from class quicktime.app.actions.TickleList
list
 
Fields inherited from interface quicktime.app.time.Ticklish
kScale
 
Constructor Summary
SimpleActionList()
          Deprecated. since QTJava 6.1
 
Method Summary
 boolean isAppropriate(java.lang.Object object)
          Deprecated. since QTJava 6.1
 void removeTarget(java.lang.Object target)
          Deprecated. since QTJava 6.1
 java.util.Enumeration targets()
          Deprecated. since QTJava 6.1
 
Methods inherited from class quicktime.app.actions.TickleList
addedToSpace, addMember, findNode, hasMember, isEmpty, isMemberActive, isWholespace, makeTickleNode, members, nodes, removedFromSpace, removeMember, setMemberActive, setWholespace, size, tickle, timeChanged, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SimpleActionList

public SimpleActionList()
Deprecated. since QTJava 6.1

Create an empty Action list

Method Detail

targets

public java.util.Enumeration targets()
Deprecated. since QTJava 6.1

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(java.lang.Object object)
Deprecated. since QTJava 6.1

Returns true if the object implements the Targetable interface. Only Targetable objects can be members of the SimpleActionList

Specified by:
isAppropriate in interface Collection
Overrides:
isAppropriate in class TickleList
Parameters:
object - an object to test for appropriateness of this list
Returns:
true if the object implements the Targetable interface

removeTarget

public void removeTarget(java.lang.Object target)
Deprecated. since QTJava 6.1

Removes any and all actions that target the supplied target.

Parameters:
target - the target which determines which actions to remove