Interface GeneiousPreferences

    • Method Detail

      • setValue

        java.lang.String setValue​(java.lang.String code,
                                  java.lang.String value)
        Deprecated.
        Called for each GeneiousPreferences.GeneiousPreference, excluding GeneiousPreferences.GeneiousCheckBoxPreference, in these preferences when the user confirms by clicking OK and each time the program is started up (before initialisation). It is not necessary to save these persistantly, this is handled by the program.
        Parameters:
        code - of the preference to set the value for
        value - to set the preference to
        Returns:
        null if the value was set successfully, or an error message if unsuccessful
      • setValue

        java.lang.String setValue​(java.lang.String code,
                                  boolean value)
        Deprecated.
        Called for each GeneiousPreferences.GeneiousCheckBoxPreference in these preferences when the user confirms by clicking OK and each time the program is started up (before initialisation). It is not necessary to save these persistantly, this is handled by the program.
        Parameters:
        code - of the preference to set the value for
        value - to set the preference to
        Returns:
        null if the value was set successfully, or an error message if unsuccessful