Interface JmeDialogsFactory


public interface JmeDialogsFactory
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Set function to handle errors.
    boolean
    showSettingsDialog(AppSettings settings, boolean loadFromRegistry)
    Set a function to handle app settings.
  • Method Details

    • showSettingsDialog

      boolean showSettingsDialog(AppSettings settings, boolean loadFromRegistry)
      Set a function to handle app settings. The default implementation shows a settings dialog if available.
      Parameters:
      settings - the settings object to edit
      loadFromRegistry - if true, copy the settings, otherwise merge them
      Returns:
      true to continue, false to exit the application
    • showErrorDialog

      void showErrorDialog(String message)
      Set function to handle errors. The default implementation show a dialog if available.
      Parameters:
      message - text to be displayed in the dialog