Package org.jjazz.pianoroll.api
Interface EditTool
public interface EditTool
An editor tool: selection, pencil, eraser, etc.
- 
Method Summary
Modifier and TypeMethodDescriptionvoideditMultipleNotes(List<NoteView> noteViews) Perform the edit on multiple notes (if operation is supported, see isEditMultipleNotesSupported()).voidvoidvoidvoidgetIcon(boolean selected) A 20x20 icon.getName()default booleanbooleanIf true user can draw a rectangle to edit multiple notes.default booleanCheck if the specified MouseEvent uses keyboard modifiers (eg alt) that modify the current snap setting.voidnoteClicked(MouseEvent e, NoteView nv) voidnoteDragged(MouseEvent e, NoteView nv) voidnoteEntered(MouseEvent e, NoteView nv) voidnoteExited(MouseEvent e, NoteView nv) voidnoteMoved(MouseEvent e, NoteView nv) voidnoteReleased(MouseEvent e, NoteView nv) void 
- 
Method Details
- 
getIcon
A 20x20 icon.- Parameters:
 selected-- Returns:
 
 - 
getCursor
Cursor getCursor() - 
getName
String getName() - 
isEditMultipleNotesSupported
boolean isEditMultipleNotesSupported()If true user can draw a rectangle to edit multiple notes.- Returns:
 - See Also:
 
 - 
editMultipleNotes
Perform the edit on multiple notes (if operation is supported, see isEditMultipleNotesSupported()).This method is called when user has selected one or more notes via the rectangle selection.
- Parameters:
 noteViews-- See Also:
 
 - 
isOverrideSnapSetting
Check if the specified MouseEvent uses keyboard modifiers (eg alt) that modify the current snap setting.- Parameters:
 e-- Returns:
 
 - 
isConstantPitchModifier
 - 
editorClicked
 - 
editorDragged
 - 
editorReleased
 - 
editorWheelMoved
 - 
noteClicked
 - 
noteWheelMoved
 - 
noteMoved
 - 
noteEntered
 - 
noteExited
 - 
noteDragged
 - 
noteReleased
 
 -