Interface RpViewerController

All Known Subinterfaces:
SptViewerMouseListener, SS_EditorMouseListener

public interface RpViewerController
The edit operations which can be triggered directly by a RpViewer.
  • Method Details

    • rhythmParameterEditWithCustomDialog

      void rhythmParameterEditWithCustomDialog(SongPart spt, RhythmParameter<?> rp)
      User wants to use the custom edit dialog of the specified RhythmParameter.
      Parameters:
      spt -
      rp - The RhythmParameter must implement the RpCustomEditorProvider interface
      Throws:
      IllegalArgumentException - If rp is not instanceof RpCustomEditorProvider
    • rhythmParameterEdit

      <E> void rhythmParameterEdit(SongPart spt, RhythmParameter<E> rp, E rpValue)
      User has directly edited a RhythmParameter value, probably from a RpViewerEditableRenderer.
      Type Parameters:
      E -
      Parameters:
      spt -
      rp -
      rpValue - The new value to set