public class RMActionList extends RMAction
Constructor and Description |
---|
RMActionList()
Creates a new action list.
|
RMActionList(RMAction... theActions)
Creates a new action list for given actions.
|
Modifier and Type | Method and Description |
---|---|
void |
addAction(RMAction anAction)
Adds an action to action list.
|
void |
addAction(RMAction anAction,
int anIndex)
Adds an action to action list at given index.
|
RMActionList |
clone()
Clones action list.
|
RMAction |
getAction(int anIndex)
Returns the individual action at given index.
|
int |
getActionCount()
Returns the number of actions.
|
java.util.List<RMAction> |
getActions()
Returns the list of actions.
|
RMAction |
removeAction(int anIndex)
Removes the action at the given index.
|
int |
removeAction(RMAction anAction)
Removes the given action from the actions list.
|
void |
setShape(RMShape aShape)
Override to forward to children.
|
void |
setTime(double aTime)
Override to forward to children.
|
public RMActionList()
public RMActionList(RMAction... theActions)
public int getActionCount()
public RMAction getAction(int anIndex)
public java.util.List<RMAction> getActions()
public void addAction(RMAction anAction)
public void addAction(RMAction anAction, int anIndex)
public RMAction removeAction(int anIndex)
public int removeAction(RMAction anAction)
public void setShape(RMShape aShape)
public void setTime(double aTime)
public RMActionList clone()