//----------------------------------------------------------------------------// // // // M o u s e M o v e m e n t // // // //----------------------------------------------------------------------------// // <editor-fold defaultstate="collapsed" desc="hdr"> // // Copyright © Hervé Bitteur and others 2000-2013. All rights reserved. // // This software is released under the GNU General Public License. // // Goto http://kenai.com/projects/audiveris to report bugs or suggestions. // //----------------------------------------------------------------------------// // </editor-fold> package omr.selection; /** * Class {@code MouseMovement} defines which phase of user action * generated the event. * For example, we may decide to update minimal information while the * user is moving the mouse, and launch expensive processing only when the user * is releasing the mouse. * * @author Hervé Bitteur */ public enum MouseMovement { /** * User presses the mouse button down or, by extension, manually * enters the location data in a dedicated board. */ PRESSING, /** * User moves the mouse while keeping the button down. */ DRAGGING, /** * User releases the mouse button. */ RELEASING; }