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
ActionStrip __getitem__(index)
This operator returns one of the action strips in the stack.
int __len__()
Returns the number of action strips for the object.
ActionStrip append(action)
Appends a new action to the end of the action strip 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 action strips in the stack.
Parameters:
index
           (type=int)
Returns:
an action strip object
           (type=ActionStrip)
Raises:
KeyError - index was out of range

__len__()
(Length operator)

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

append(action)

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

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 May 10 20:32:01 2007 http://epydoc.sf.net