本文整理匯總了Java中net.sf.freecol.client.gui.action.ReportTurnAction類的典型用法代碼示例。如果您正苦於以下問題:Java ReportTurnAction類的具體用法?Java ReportTurnAction怎麽用?Java ReportTurnAction使用的例子?那麽, 這裏精選的類代碼示例或許可以為您提供幫助。
ReportTurnAction類屬於net.sf.freecol.client.gui.action包,在下文中一共展示了ReportTurnAction類的1個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Java代碼示例。
示例1: buildReportMenu
import net.sf.freecol.client.gui.action.ReportTurnAction; //導入依賴的package包/類
private void buildReportMenu() {
// --> Report
JMenu menu = Utility.localizedMenu("menuBar.report");
menu.setOpaque(false);
menu.setMnemonic(KeyEvent.VK_R);
menu.add(getMenuItem(ReportReligionAction.id));
menu.add(getMenuItem(ReportLabourAction.id));
menu.add(getMenuItem(ReportColonyAction.id));
menu.add(getMenuItem(ReportForeignAction.id));
menu.add(getMenuItem(ReportIndianAction.id));
menu.add(getMenuItem(ReportContinentalCongressAction.id));
menu.add(getMenuItem(ReportMilitaryAction.id));
menu.add(getMenuItem(ReportNavalAction.id));
menu.add(getMenuItem(ReportTradeAction.id));
menu.add(getMenuItem(ReportTurnAction.id));
menu.add(getMenuItem(ReportRequirementsAction.id));
menu.add(getMenuItem(ReportCargoAction.id));
menu.add(getMenuItem(ReportExplorationAction.id));
menu.add(getMenuItem(ReportHistoryAction.id));
menu.add(getMenuItem(ReportProductionAction.id));
menu.add(getMenuItem(ReportEducationAction.id));
menu.add(getMenuItem(ShowDifficultyAction.id));
menu.add(getMenuItem(ShowGameOptionsAction.id));
menu.add(getMenuItem(ShowMapGeneratorOptionsAction.id));
add(menu);
}