com.frinika.sequencer.gui.menu.midi
Class MidiInsertControllersAction
java.lang.Object
javax.swing.AbstractAction
com.frinika.gui.AbstractDialogAction
com.frinika.sequencer.gui.menu.midi.AbstractMidiAction
com.frinika.sequencer.gui.menu.midi.MidiInsertControllersAction
- All Implemented Interfaces:
- java.awt.event.ActionListener, java.io.Serializable, java.lang.Cloneable, java.util.EventListener, javax.swing.Action
public class MidiInsertControllersAction
- extends AbstractMidiAction
Menu-action for inserting controller-events accordig to different,
selectable kinds of functions. In a special mode, also note-events
can be inserted, or velocity-values of existing notes can be changed.
- 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 |
availableFunctions
protected java.util.Collection<MidiInsertControllersAction.ControllerFunction> availableFunctions
MidiInsertControllersAction
public MidiInsertControllersAction(ProjectFrame frame)
getAvailableControllerFunctions
public java.util.Collection<MidiInsertControllersAction.ControllerFunction> getAvailableControllerFunctions()
performAction
public void performAction()
- Overrides:
performAction
in class AbstractMidiAction
modifyNoteEvent
public void modifyNoteEvent(NoteEvent note)
- Specified by:
modifyNoteEvent
in class AbstractMidiAction
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:
createDialog
protected OptionsDialog createDialog()
- Description copied from class:
AbstractDialogAction
- Creates a dialog to ask for options.
Typically not overwritten by subclasses that use a gui-editor,
they provide an inner editor-component to the dialog instead via
createDialogContent(). Overwrite this method here if you need other kinds
of dialogs than one with OK/Cancel buttons.
- Overrides:
createDialog
in class AbstractDialogAction
- Returns: