net.sf.freecol.client.gui.action
Class ActionManager
java.lang.Object
net.sf.freecol.common.option.AbstractOption
net.sf.freecol.common.option.OptionGroup
net.sf.freecol.client.gui.action.ActionManager
- All Implemented Interfaces:
- Option
public class ActionManager
- extends OptionGroup
Stores the actions.
| Methods inherited from class net.sf.freecol.common.option.AbstractOption |
addPropertyChangeListener, firePropertyChange, getId, getName, getShortDescription, readFromXML, readFromXMLElement, removePropertyChangeListener, toString, toXML, toXMLElement |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
COPYRIGHT
public static final java.lang.String COPYRIGHT
- See Also:
- Constant Field Values
LICENSE
public static final java.lang.String LICENSE
- See Also:
- Constant Field Values
REVISION
public static final java.lang.String REVISION
- See Also:
- Constant Field Values
ActionManager
public ActionManager(FreeColClient freeColClient)
- Creates a new
ActionManager.
- Parameters:
freeColClient - The main client controller.
add
public void add(FreeColAction freeColAction)
- Adds the given
FreeColAction.
- Parameters:
freeColAction - The FreeColAction that should be
added to this ActionManager.
getFreeColAction
public FreeColAction getFreeColAction(java.lang.String id)
- Gets the
FreeColAction specified by the given
id.
- Parameters:
id - The string identifying the action.
- Returns:
- The
FreeColAction.
update
public void update()
- Updates every
FreeColAction this object keeps.
- See Also:
FreeColAction