Package com.reportmill.panels
Class Prefs
- java.lang.Object
-
- com.reportmill.base.RMObject
-
- com.reportmill.panels.Prefs
-
- All Implemented Interfaces:
RMArchiver.Archiving
,java.lang.Cloneable
public class Prefs extends RMObject
This class provides a Preferences panel UI window.
-
-
Constructor Summary
Constructors Constructor Description Prefs()
Creates a new preferences object.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
apply()
Handles the preferences panel apply button.static Prefs
getShared()
Returns a shared instance of prefs.RJPanel
getUI()
Returns the Swing UI panel (loading it on first call).void
resetUI()
Updates the Swing UI controls from user preferences settings.void
respondUI(java.lang.Object anObj)
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
-
-
-
-
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.
-
-