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
- Version:
- 0.10, 10-Sep-06
- Author:
- Hanns Holger Rutz
- See Also:
- Serialized Form
Fields inherited from class javax.swing.AbstractAction |
changeSupport, enabled |
Fields inherited from interface javax.swing.Action |
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SHORT_DESCRIPTION, SMALL_ICON |
Constructor Summary |
IntPrefsMenuAction(java.lang.String text,
javax.swing.KeyStroke shortcut,
int id)
|
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 javax.swing.AbstractAction |
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IntPrefsMenuAction
public IntPrefsMenuAction(java.lang.String text,
javax.swing.KeyStroke shortcut,
int id)
setRadioGroup
public void setRadioGroup(MenuRadioGroup g)
actionPerformed
public void actionPerformed(java.awt.event.ActionEvent e)
- Fired when radio button is checked
- Specified by:
actionPerformed
in interface java.awt.event.ActionListener
- Specified by:
actionPerformed
in class MenuAction
readPrefsFromString
protected void readPrefsFromString(java.lang.String prefsValue)
- Specified by:
readPrefsFromString
in class PrefMenuAction
writePrefs
public void writePrefs()