本文整理汇总了Java中net.sf.freecol.client.gui.dialog.LoadingSavegameDialog类的典型用法代码示例。如果您正苦于以下问题:Java LoadingSavegameDialog类的具体用法?Java LoadingSavegameDialog怎么用?Java LoadingSavegameDialog使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
LoadingSavegameDialog类属于net.sf.freecol.client.gui.dialog包,在下文中一共展示了LoadingSavegameDialog类的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: getLoadingSavegameDialog
import net.sf.freecol.client.gui.dialog.LoadingSavegameDialog; //导入依赖的package包/类
/**
* Gets the last {@code LoadingSavegameDialog}.
*
* FIXME: clean this up
*
* @return The {@code LoadingSavegameDialog}.
*/
public LoadingSavegameDialog getLoadingSavegameDialog() {
return loadingSavegameDialog;
}
示例2: showLoadingSavegameDialog
import net.sf.freecol.client.gui.dialog.LoadingSavegameDialog; //导入依赖的package包/类
/**
* Displays a dialog for setting options when loading a savegame. The
* settings can be retrieved directly from {@link LoadingSavegameDialog}
* after calling this method.
*
* @param publicServer Default value.
* @param singlePlayer Default value.
* @return {@code true} if the "ok"-button was pressed and
* {@code false} otherwise.
*/
public boolean showLoadingSavegameDialog(boolean publicServer,
boolean singlePlayer) {
loadingSavegameDialog = new LoadingSavegameDialog(freeColClient, frame);
return showFreeColDialog(loadingSavegameDialog, null);
}