com.frinika.sequencer.gui.menu.midi
Class MidiDurationAction
java.lang.Object
javax.swing.AbstractAction
com.frinika.gui.AbstractDialogAction
com.frinika.sequencer.gui.menu.midi.AbstractMidiAction
com.frinika.sequencer.gui.menu.midi.MidiDurationAction
- All Implemented Interfaces:
- java.awt.event.ActionListener, java.io.Serializable, java.lang.Cloneable, java.util.EventListener, javax.swing.Action
public class MidiDurationAction
- extends AbstractMidiAction
Menu-action for changing the duration of currently selected MIDI notes.
- Author:
- Jens Gulden
- 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, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON |
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 |
MODE_SET
public static final int MODE_SET
- See Also:
- Constant Field Values
MODE_CHANGE
public static final int MODE_CHANGE
- See Also:
- Constant Field Values
MODE_LEGATO
public static final int MODE_LEGATO
- See Also:
- Constant Field Values
MidiDurationAction
public MidiDurationAction(ProjectFrame frame)
createGUI
protected javax.swing.JComponent createGUI()
- Description copied from class:
AbstractDialogAction
- Creates inner gui-editor of a dialog to show to the user.
The implementation may just return null, which makes
the class effectually behave as an AbstractAction without user-interaction.
- Specified by:
createGUI
in class AbstractDialogAction
- Returns:
modifyNoteEvent
public void modifyNoteEvent(NoteEvent note)
- Specified by:
modifyNoteEvent
in class AbstractMidiAction