|
|||||||||
| 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 | |
|---|---|
private FreeColClient |
freeColClient
|
private static java.util.logging.Logger |
logger
|
| Fields inherited from class net.sf.freecol.common.option.AbstractOption |
|---|
isDefined, NO_ID, previewEnabled |
| Fields inherited from class net.sf.freecol.common.model.FreeColObject |
|---|
ARRAY_SIZE, ID_ATTRIBUTE, ID_ATTRIBUTE_TAG, PARTIAL_ATTRIBUTE |
| 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, readFromXMLImpl, removeAll, toXMLImpl |
| Methods inherited from class net.sf.freecol.common.option.AbstractOption |
|---|
getGroup, isPreviewEnabled, setGroup, setPreviewEnabled, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface net.sf.freecol.common.option.Option |
|---|
addPropertyChangeListener, getId, readFromXML, readFromXMLElement, removePropertyChangeListener, toXML, toXMLElement |
| Field Detail |
|---|
private static final java.util.logging.Logger logger
private FreeColClient freeColClient
| 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 | ||||||||