home *** CD-ROM | disk | FTP | other *** search
Java Source | 1998-09-22 | 1.3 KB | 43 lines |
- /*
- * @(#)MouseMotionListener.java 1.3 98/07/01
- *
- * Copyright 1995-1998 by Sun Microsystems, Inc.,
- * 901 San Antonio Road, Palo Alto, California, 94303, U.S.A.
- * All rights reserved.
- *
- * This software is the confidential and proprietary information
- * of Sun Microsystems, Inc. ("Confidential Information"). You
- * shall not disclose such Confidential Information and shall use
- * it only in accordance with the terms of the license agreement
- * you entered into with Sun.
- */
-
- package java.awt.event;
-
- import java.util.EventListener;
-
- /**
- * The listener interface for receiving mouse motion events on a component.
- *
- * @version 1.3 07/01/98
- * @author Amy Fowler
- */
- public interface MouseMotionListener extends EventListener {
-
- /**
- * Invoked when a mouse button is pressed on a component and then
- * dragged. Mouse drag events will continue to be delivered to
- * the component where the first originated until the mouse button is
- * released (regardless of whether the mouse position is within the
- * bounds of the component).
- */
- public void mouseDragged(MouseEvent e);
-
- /**
- * Invoked when the mouse button has been moved on a component
- * (with no buttons no down).
- */
- public void mouseMoved(MouseEvent e);
-
- }
-