Module NLA :: Class ActionStrips
[frames | no frames]

Class ActionStrips


The ActionStrips object

This object gives access to sequence of ActionStrip objects for a particular Object.
Method Summary
Constraint __getitem__(index)
This operator returns one of the constraints in the stack.
int __len__()
Returns the number of action strips for the object.
Constraint append(action)
Appends a new action to the end of the actionstrip sequence.
  moveDown(actionstrip)
Move the action strip down in the object's actionstrip sequence.
  moveUp(actionstrip)
Move the action strip up in the object's actionstrip sequence.
  remove(actionstrip)
Remove an action strip from this object's actionstrip sequence.

Method Details

__getitem__(index)
(Indexing operator)

This operator returns one of the constraints in the stack.
Parameters:
index
           (type=int)
Returns:
an Constraint object
           (type=Constraint)
Raises:
KeyError - index was out of range

__len__()
(Length operator)

Returns the number of action strips for the object.
Returns:
number of Constraints
           (type=int)

append(action)

Appends a new action to the end of the actionstrip sequence.
Parameters:
action - the action to use in the action strip
           (type=Action)
Returns:
the new Constraint
           (type=Constraint)

moveDown(actionstrip)

Move the action strip down in the object's actionstrip sequence.
Parameters:
actionstrip
           (type=an action strip from this sequence.)

moveUp(actionstrip)

Move the action strip up in the object's actionstrip sequence.
Parameters:
actionstrip
           (type=an action strip from this sequence.)

remove(actionstrip)

Remove an action strip from this object's actionstrip sequence.
Parameters:
actionstrip
           (type=an action strip from this sequence to remove.)

Note: Accessing attributes of the action strip after it is removed will throw an exception.


Generated by Epydoc 2.1 on Thu Jul 13 16:50:05 2006 http://epydoc.sf.net