ActionGroup
, IAction
public 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 IAction
public void addAction(IAction newAction)
ActionGroup
addAction
in interface ActionGroup
newAction
- the action to be addedpublic boolean removeAction(IAction oldAction)
ActionGroup
removeAction
in interface ActionGroup
oldAction
- the action to be removedpublic IAction[] getAllActions()
ActionGroup
getAllActions
in interface ActionGroup