Class Prefs

  • All Implemented Interfaces:
    RMArchiver.Archiving, java.lang.Cloneable

    public class Prefs
    extends RMObject
    This class provides a Preferences panel UI window.
    • Constructor Detail

      • Prefs

        public Prefs()
        Creates a new preferences object.
    • Method Detail

      • getShared

        public static Prefs getShared()
        Returns a shared instance of prefs.
      • setVisible

        public void setVisible​(int anIndex)
        Sets the prefs panel visible (to the tab at given index).
      • getUI

        public RJPanel getUI()
        Returns the Swing UI panel (loading it on first call).
      • resetUI

        public void resetUI()
        Updates the Swing UI controls from user preferences settings.
      • respondUI

        public void respondUI​(java.lang.Object anObj)
        Updates user preferences settings from Swing UI controls.
      • apply

        public boolean apply()
        Handles the preferences panel apply button.