java.lang.Object
com.virtuosotechnologies.asaph.standardgui.EditorPrefs
- All Implemented Interfaces:
- com.virtuosotechnologies.asaph.maingui.PrefsPaneProvider
- class EditorPrefs
- extends java.lang.Object
- implements com.virtuosotechnologies.asaph.maingui.PrefsPaneProvider
Prefs pane for the editor
|
Constructor Summary |
(package private) |
EditorPrefs()
Constructor |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
STR_EditorPrefs_UndoLevelsLabel
private static final java.lang.String STR_EditorPrefs_UndoLevelsLabel
STR_EditorPrefs_SmartQuotesCheck
private static final java.lang.String STR_EditorPrefs_SmartQuotesCheck
EDITOR_PREFSNODE
private static final java.lang.String EDITOR_PREFSNODE
- See Also:
- Constant Field Values
UNDOLEVELS_PREF
private static final java.lang.String UNDOLEVELS_PREF
- See Also:
- Constant Field Values
AUTO_SMARTQUOTES_PREF
private static final java.lang.String AUTO_SMARTQUOTES_PREF
- See Also:
- Constant Field Values
prefs_
private java.util.prefs.Preferences prefs_
undoLevels_
private int undoLevels_
autoSmartQuotes_
private boolean autoSmartQuotes_
broadcaster_
private com.virtuosotechnologies.lib.util.EventBroadcastHelper broadcaster_
EditorPrefs
EditorPrefs()
- Constructor
getUndoLevels
int getUndoLevels()
isAutoSmartQuoting
boolean isAutoSmartQuoting()
addPrefsListener
void addPrefsListener(EditorPrefs.PrefsListener listener)
removePrefsListener
void removePrefsListener(EditorPrefs.PrefsListener listener)
createPane
public javax.swing.JComponent createPane(javax.swing.JComponent dialogParent)
- This method is called when the prefs window is opened. The provider
should return a JComponent implementing the prefs pane, and ensure that it
reflects the current settings.
- Specified by:
createPane in interface com.virtuosotechnologies.asaph.maingui.PrefsPaneProvider
paneFocused
public void paneFocused()
- This method is called when the pane is brought into focus.
- Specified by:
paneFocused in interface com.virtuosotechnologies.asaph.maingui.PrefsPaneProvider
paneUnfocused
public void paneUnfocused()
- This method is called when the pane is unfocused.
- Specified by:
paneUnfocused in interface com.virtuosotechnologies.asaph.maingui.PrefsPaneProvider
paneDisposed
public void paneDisposed()
- This method is called when the prefs window is closed. The provider should
generally respond by defuncting the pane.
- Specified by:
paneDisposed in interface com.virtuosotechnologies.asaph.maingui.PrefsPaneProvider