Package de.sciss.gui
Class IntPrefsMenuAction
- java.lang.Object
-
- javax.swing.AbstractAction
-
- de.sciss.gui.MenuAction
-
- de.sciss.gui.PrefMenuAction
-
- de.sciss.gui.IntPrefsMenuAction
-
- All Implemented Interfaces:
LaterInvocationManager.Listener,PreferenceEntrySync,java.awt.event.ActionListener,java.io.Serializable,java.lang.Cloneable,java.util.EventListener,java.util.prefs.PreferenceChangeListener,javax.swing.Action
public class IntPrefsMenuAction extends PrefMenuAction
Adds PreferenceEntrySync functionality to the superclass note that unlike PrefCheckBox and the like, it's only valid to listen to the prefs changes, not the action events- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description IntPrefsMenuAction(java.lang.String text, javax.swing.KeyStroke shortcut, int id)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidactionPerformed(java.awt.event.ActionEvent e)Fired when radio button is checkedprotected voidreadPrefsFromString(java.lang.String prefsValue)voidsetRadioGroup(MenuRadioGroup g)voidwritePrefs()-
Methods inherited from class de.sciss.gui.PrefMenuAction
canWritePrefs, getPreferenceKey, getPreferenceNode, getReadPrefs, getWritePrefs, laterInvocation, preferenceChange, readPrefs, setPreferenceKey, setPreferenceNode, setPreferences, setReadPrefs, setWritePrefs, shouldWritePrefs
-
Methods inherited from class de.sciss.gui.MenuAction
deinstallFrom, installOn, mimic
-
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
-
-
-
-
Method Detail
-
setRadioGroup
public void setRadioGroup(MenuRadioGroup g)
-
actionPerformed
public void actionPerformed(java.awt.event.ActionEvent e)
Fired when radio button is checked- Specified by:
actionPerformedin interfacejava.awt.event.ActionListener- Specified by:
actionPerformedin classMenuAction
-
readPrefsFromString
protected void readPrefsFromString(java.lang.String prefsValue)
- Specified by:
readPrefsFromStringin classPrefMenuAction
-
writePrefs
public void writePrefs()
-
-