Class EditRhythm

java.lang.Object
javax.swing.AbstractAction
org.jjazz.ss_editorimpl.api.EditRhythm
All Implemented Interfaces:
ActionListener, Serializable, Cloneable, EventListener, Action, SS_ContextActionListener, org.openide.util.ContextAwareAction

public class EditRhythm extends AbstractAction implements org.openide.util.ContextAwareAction, SS_ContextActionListener
See Also:
  • Field Details

    • KEYSTROKE

      public static final KeyStroke KEYSTROKE
  • Constructor Details

    • EditRhythm

      public EditRhythm()
  • Method Details

    • createContextAwareInstance

      public Action createContextAwareInstance(org.openide.util.Lookup context)
      Specified by:
      createContextAwareInstance in interface org.openide.util.ContextAwareAction
    • actionPerformed

      public void actionPerformed(ActionEvent e)
      Specified by:
      actionPerformed in interface ActionListener
    • selectionChange

      public void selectionChange(SS_Selection selection)
      Description copied from interface: SS_ContextActionListener
      SongPart or SongPartParameter presence has changed in SS_ContextActionSupport's context.
      Specified by:
      selectionChange in interface SS_ContextActionListener
      Parameters:
      selection -
    • changeSongPartsRhythm

      public static void changeSongPartsRhythm(List<SongPart> selectedSpts)
      Show the rhythm selection dialog initialized with the 1st selected song part.

      Then apply the new rhythm to selected song parts (only if timesignature matches).

      Parameters:
      selectedSpts -