Package com.jme3.system
Interface JmeDialogsFactory
public interface JmeDialogsFactory
-
Method Summary
Modifier and TypeMethodDescriptionvoid
showErrorDialog
(String message) Set function to handle errors.boolean
showSettingsDialog
(AppSettings settings, boolean loadFromRegistry) Set a function to handle app settings.
-
Method Details
-
showSettingsDialog
Set a function to handle app settings. The default implementation shows a settings dialog if available.- Parameters:
settings
- the settings object to editloadFromRegistry
- if true, copy the settings, otherwise merge them- Returns:
- true to continue, false to exit the application
-
showErrorDialog
Set function to handle errors. The default implementation show a dialog if available.- Parameters:
message
- text to be displayed in the dialog
-