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 SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbooleanapply()Handles the preferences panel apply button.static PrefsReturns a shared instance of prefs.getUI()Returns the Swing UI panel (loading it on first call).voidresetUI()Updates the Swing UI controls from user preferences settings.voidUpdates user preferences settings from Swing UI controls.voidsetVisible(int anIndex) Sets the prefs panel visible (to the tab at given index).Methods inherited from class com.reportmill.base.RMObjectclone, copy, didChange, didUndo, getAnimAttribute, getClassNameShort, initWithArchiver, undoClone, undoCopy, undoEquals
- 
Constructor Details- 
Prefspublic Prefs()Creates a new preferences object.
 
- 
- 
Method Details
- 
setVisiblepublic void setVisible(int anIndex) Sets the prefs panel visible (to the tab at given index).
- 
getUIReturns the Swing UI panel (loading it on first call).
- 
resetUIpublic void resetUI()Updates the Swing UI controls from user preferences settings.
- 
respondUIUpdates user preferences settings from Swing UI controls.
- 
applypublic boolean apply()Handles the preferences panel apply button.