ActionGroup, IActionpublic class ActionGroupSeries extends java.lang.Object implements ActionGroup
| Constructor | Description |
|---|---|
ActionGroupSeries() |
Constructs an action group that holds no actions.
|
ActionGroupSeries(IAction[] actionArray) |
Defines group via the given array of actions.
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
actionPerformed() |
Invokes all actions in the group, in the order that they were added at construction and
in previous calls to addAction.
|
void |
addAction(IAction newAction) |
Adds the given action to this group, placing it at the end of the list.
|
IAction[] |
getAllActions() |
Returns all actions from this group.
|
boolean |
removeAction(IAction oldAction) |
Removes a specified action from the group.
|
public ActionGroupSeries()
public ActionGroupSeries(IAction[] actionArray)
public void actionPerformed()
actionPerformed in interface IActionpublic void addAction(IAction newAction)
ActionGroupaddAction in interface ActionGroupnewAction - the action to be addedpublic boolean removeAction(IAction oldAction)
ActionGroupremoveAction in interface ActionGroupoldAction - the action to be removedpublic IAction[] getAllActions()
ActionGroupgetAllActions in interface ActionGroup