Package net.sf.freecol.client.gui.action

Contains the Actions used by the GUI in menus and other places.

The actions are stored by the ActionManager and are all subclasses of FreeColAction.

If you implement a new action, you must also add a corresponding line to the ActionManager method. Each action is identified by a short ID, such as "quitAction". In order to provide localization, you must also add a line to the localization file "data/strings/FreeColMessages.properties" using the ID of the action plus ".name" as key.

You can also add a line with the ID of the action plus ".accelerator" in order to define a key binding. The value of the accelerator must be unique and must be valid Java KeyStroke Strings, as described here.

Since:
0.4.0