|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectetomica.action.ActionGroupSeries
public class ActionGroupSeries
A set of Action instances grouped and performed in series as if a single action. Actions may be defined at construction and/or added afterward. Actions are performed in the order in which they are specifed in the constructor and subsequently added.
| Constructor Summary | |
|---|---|
ActionGroupSeries()
Constructs an action group that holds no actions. |
|
ActionGroupSeries(IAction[] actions)
Defines group via the given array of actions. |
|
| Method Summary | |
|---|---|
void |
actionPerformed()
Invokes the actionPerformed method of all actions in the method, in the order given by the array at construction. |
void |
addAction(IAction newAction)
Adds the given action to the group. |
IAction[] |
getAllActions()
Returns all actions from this group. |
boolean |
removeAction(IAction oldAction)
Removes the given action from the group. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ActionGroupSeries()
public ActionGroupSeries(IAction[] actions)
| Method Detail |
|---|
public void actionPerformed()
actionPerformed in interface IActionpublic void addAction(IAction newAction)
addAction in interface ActionGroupnewAction - public boolean removeAction(IAction oldAction)
removeAction in interface ActionGrouppublic IAction[] getAllActions()
ActionGroup
getAllActions in interface ActionGroup
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||