Class Prefs

java.lang.Object
com.reportmill.base.RMObject
com.reportmill.panels.Prefs
All Implemented Interfaces:
RMArchiver.Archiving, Cloneable

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

    • Prefs

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

    • 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(Object anObj)
      Updates user preferences settings from Swing UI controls.
    • apply

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