|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.freecol.common.model.FreeColObject
net.sf.freecol.common.option.AbstractOption
net.sf.freecol.common.option.OptionGroup
net.sf.freecol.client.gui.action.ActionManager
public class ActionManager
Stores the actions.
Field Summary |
---|
Fields inherited from class net.sf.freecol.common.option.AbstractOption |
---|
NO_ID |
Fields inherited from class net.sf.freecol.common.model.FreeColObject |
---|
ID_ATTRIBUTE_TAG |
Constructor Summary | |
---|---|
ActionManager(FreeColClient freeColClient)
Creates a new ActionManager . |
Method Summary | |
---|---|
void |
add(FreeColAction freeColAction)
Adds the given FreeColAction . |
FreeColAction |
getFreeColAction(java.lang.String id)
Gets the FreeColAction specified by the given
id . |
void |
initializeActions()
|
void |
update()
Updates every FreeColAction this object keeps. |
Methods inherited from class net.sf.freecol.common.option.OptionGroup |
---|
add, getName, getShortDescription, getXMLElementTagName, iterator, removeAll |
Methods inherited from class net.sf.freecol.common.option.AbstractOption |
---|
getGroup, isPreviewEnabled, setGroup, setPreviewEnabled, toString |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface net.sf.freecol.common.option.Option |
---|
addPropertyChangeListener, getId, readFromXML, readFromXMLElement, removePropertyChangeListener, toXML, toXMLElement |
Constructor Detail |
---|
public ActionManager(FreeColClient freeColClient)
ActionManager
.
freeColClient
- The main client controller.Method Detail |
---|
public void initializeActions()
public void add(FreeColAction freeColAction)
FreeColAction
.
freeColAction
- The FreeColAction
that should be
added to this ActionManager
.public FreeColAction getFreeColAction(java.lang.String id)
FreeColAction
specified by the given
id
.
id
- The string identifying the action.
FreeColAction
.public void update()
FreeColAction
this object keeps.
FreeColAction
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |