Class DisplayTileTextAction

    • Constructor Detail

      • DisplayTileTextAction

        public DisplayTileTextAction​(FreeColClient freeColClient,
                                     DisplayTileTextAction.DisplayText type)
        Creates this action
        Parameters:
        freeColClient - The FreeColClient for the game.
        type - a DisplayText value
    • Method Detail

      • shouldBeSelected

        public boolean shouldBeSelected()
        Should this action be selected? Override this in subclasses.
        Overrides:
        shouldBeSelected in class SelectableAction
        Returns:
        True of this action should be selected.
      • actionPerformed

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