Package com.reportmill.panels
Class Prefs
java.lang.Object
com.reportmill.base.RMObject
com.reportmill.panels.Prefs
- All Implemented Interfaces:
RMArchiver.Archiving
,Cloneable
This class provides a Preferences panel UI window.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
apply()
Handles the preferences panel apply button.static Prefs
Returns a shared instance of prefs.getUI()
Returns the Swing UI panel (loading it on first call).void
resetUI()
Updates the Swing UI controls from user preferences settings.void
Updates user preferences settings from Swing UI controls.void
setVisible
(int anIndex) Sets the prefs panel visible (to the tab at given index).Methods inherited from class com.reportmill.base.RMObject
clone, copy, didChange, didUndo, getAnimAttribute, getClassNameShort, initWithArchiver, undoClone, undoCopy, undoEquals
-
Constructor Details
-
Prefs
public Prefs()Creates a new preferences object.
-
-
Method Details
-
setVisible
public void setVisible(int anIndex) Sets the prefs panel visible (to the tab at given index). -
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
Updates user preferences settings from Swing UI controls. -
apply
public boolean apply()Handles the preferences panel apply button.