本文整理匯總了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);
}