com.frinika.sequencer.gui.menu.midi
Class MidiReverseAction

java.lang.Object
  extended by javax.swing.AbstractAction
      extended by com.frinika.gui.AbstractDialogAction
          extended by com.frinika.sequencer.gui.menu.midi.AbstractMidiAction
              extended by com.frinika.sequencer.gui.menu.midi.MidiReverseAction
All Implemented Interfaces:
java.awt.event.ActionListener, java.io.Serializable, java.lang.Cloneable, java.util.EventListener, javax.swing.Action

public class MidiReverseAction
extends AbstractMidiAction

Menu-action for reversing selected MIDI notes.

Author:
Jens Gulden
See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.frinika.sequencer.gui.menu.midi.AbstractMidiAction
endTick, events, lastTick, startTick
 
Fields inherited from class com.frinika.gui.AbstractDialogAction
actionId, canceled, dialog, frame
 
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
 
Constructor Summary
MidiReverseAction(ProjectFrame frame)
           
 
Method Summary
protected  javax.swing.JComponent createGUI()
          Creates inner gui-editor of a dialog to show to the user.
 void modifyEvents(java.util.Collection<MultiEvent> events)
          May be overwritten by subclasses for more complex modifying operations, otherwise by default this calls midifyNoteEvents with all selected NoteEvents.
 void modifyNoteEvent(NoteEvent note)
           
 
Methods inherited from class com.frinika.sequencer.gui.menu.midi.AbstractMidiAction
actionPerformed, getMidiLane, getMidiPart, modifyNoteEvents, performAction, performPrepare
 
Methods inherited from class com.frinika.gui.AbstractDialogAction
cancel, createDialog, getDialog, getProjectFrame, perform, performDialog, performUndoable
 
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
 

Constructor Detail

MidiReverseAction

public MidiReverseAction(ProjectFrame frame)
Method Detail

modifyEvents

public void modifyEvents(java.util.Collection<MultiEvent> events)
Description copied from class: AbstractMidiAction
May be overwritten by subclasses for more complex modifying operations, otherwise by default this calls midifyNoteEvents with all selected NoteEvents.

Overrides:
modifyEvents 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: