Class ColopediaAction

  • All Implemented Interfaces:
    java.awt.event.ActionListener, java.io.Serializable, java.lang.Cloneable, java.util.EventListener, javax.swing.Action, ObjectWithId, Option<FreeColAction>

    public class ColopediaAction
    extends FreeColAction
    Displays a section of the Colopedia.
    See Also:
    Serialized Form
    • Field Detail

      • mnemonics

        private static final int[] mnemonics
    • Constructor Detail

      • ColopediaAction

        public ColopediaAction​(FreeColClient freeColClient,
                               ColopediaAction.PanelType panelType)
        Creates this action.
        Parameters:
        freeColClient - The FreeColClient for the game.
        panelType - The PanelType to use.
    • Method Detail

      • actionPerformed

        public void actionPerformed​(java.awt.event.ActionEvent ae)