Mercurial > projects > dwt2
view org.eclipse.draw2d/src/org/eclipse/draw2d/MouseMotionListener.d @ 125:c43718956f21 default tip
Updated the snippets status.
author | Jacob Carlborg <doob@me.com> |
---|---|
date | Thu, 11 Aug 2011 19:55:14 +0200 |
parents | bc29606a740c |
children |
line wrap: on
line source
/******************************************************************************* * Copyright (c) 2000, 2005 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Contributors: * IBM Corporation - initial API and implementation *******************************************************************************/ module org.eclipse.draw2d.MouseMotionListener; import java.lang.all; import org.eclipse.draw2d.MouseEvent; /** * A listener interface for receiving mouse motion events. */ public interface MouseMotionListener { /** * Called when the mouse has moved over the listened to object while a button was pressed. * @param me The MouseEvent object */ void mouseDragged(MouseEvent me); /** * Called when the mouse has entered the listened to object. * @param me The MouseEvent object */ void mouseEntered(MouseEvent me); /** * Called when the mouse has exited the listened to object. * @param me The MouseEvent object */ void mouseExited(MouseEvent me); /** * Called when the mouse hovers over the listened to object. * @param me The MouseEvent object */ void mouseHover(MouseEvent me); /** * Called when the mouse has moved over the listened to object. * @param me The MouseEvent object */ void mouseMoved(MouseEvent me); /** * An empty implementation of MouseMotionListener for convenience. */ static public class Stub : MouseMotionListener { /** * @see org.eclipse.draw2d.MouseMotionListener#mouseDragged(MouseEvent) */ public void mouseDragged(MouseEvent me) { } /** * @see org.eclipse.draw2d.MouseMotionListener#mouseEntered(MouseEvent) */ public void mouseEntered(MouseEvent me) { } /** * @see org.eclipse.draw2d.MouseMotionListener#mouseExited(MouseEvent) */ public void mouseExited(MouseEvent me) { } /** * @see org.eclipse.draw2d.MouseMotionListener#mouseMoved(MouseEvent) */ public void mouseMoved(MouseEvent me) { } /** * @see org.eclipse.draw2d.MouseMotionListener#mouseHover(MouseEvent) */ public void mouseHover(MouseEvent me) { } } }