Class ActionGroup

java.lang.Object
javax.swing.AbstractAction
rma.swing.action.ActionGroup
All Implemented Interfaces:
ActionListener, Serializable, Cloneable, EventListener, Action

public class ActionGroup extends AbstractAction
See Also:
  • Constructor Details

    • ActionGroup

      public ActionGroup()
    • ActionGroup

      public ActionGroup(String name, char mnemonic)
  • Method Details

    • actionPerformed

      public void actionPerformed(ActionEvent e)
    • addAction

      public void addAction(Action a)
      Appends an action to the end of the list.
    • getActionCount

      public int getActionCount()
      Returns the number of actions in the group.
    • getAction

      public Action getAction(int i)
      Returns the action at the specified location in the list. If the index is less than 0 or greater than the size of the list or if the action does not exist at that position then null is returned.
    • removeAllActions

      public void removeAllActions()
      remove all the Actions in this ActionGroup