Package jpicedt.graphic.event
Interface PEMouseInputListener
-
- All Superinterfaces:
java.util.EventListener
- All Known Implementing Classes:
DrawToolFactory.AbstractCurveDrawTool,DrawToolFactory.GenericDrawTool,DrawToolFactory.TextDrawTool,MouseTool,MoveTool,PEDrawingBoard.StatusBar,PEEventMulticaster,PEMouseInputAdapter,RotateTool,ScaleTool,SelectionTool,ZoomTool
public interface PEMouseInputListener extends java.util.EventListenerThe listener for receiving mouse and mouse motion events. In comparison withjavax.swing.event.MouseInputListener, the benefit of using this listener is that MouseEvent's are translated into PEMouseEvent's, and the latter contain enhanced data e.g. model-coordinates in addition to usual screen-coordinates.- Since:
- jpicedt 1.3.2
- Version:
- $Id: PEMouseInputListener.java,v 1.5.2.1 2007/09/02 11:56:18 reynal Exp $
- Author:
- Sylvain Reynal
- See Also:
PEMouseEvent
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidmouseClicked(PEMouseEvent e)Invoked when the mouse button has been clicked (pressed and released) on a component.voidmouseDragged(PEMouseEvent e)Invoked when a mouse button is pressed on a component and then dragged.voidmouseEntered(PEMouseEvent e)Invoked when the mouse enters a component.voidmouseExited(PEMouseEvent e)nvoked when the mouse exits a component.voidmouseMoved(PEMouseEvent e)Invoked when the mouse button has been moved on a component (with no buttons down).voidmousePressed(PEMouseEvent e)Invoked when a mouse button has been pressed on a component.voidmouseReleased(PEMouseEvent e)Invoked when a mouse button has been released on a component.
-
-
-
Method Detail
-
mousePressed
void mousePressed(PEMouseEvent e)
Invoked when a mouse button has been pressed on a component.
-
mouseReleased
void mouseReleased(PEMouseEvent e)
Invoked when a mouse button has been released on a component.
-
mouseClicked
void mouseClicked(PEMouseEvent e)
Invoked when the mouse button has been clicked (pressed and released) on a component.
-
mouseMoved
void mouseMoved(PEMouseEvent e)
Invoked when the mouse button has been moved on a component (with no buttons down).
-
mouseDragged
void mouseDragged(PEMouseEvent e)
Invoked when a mouse button is pressed on a component and then dragged.
-
mouseEntered
void mouseEntered(PEMouseEvent e)
Invoked when the mouse enters a component.
-
mouseExited
void mouseExited(PEMouseEvent e)
nvoked when the mouse exits a component.
-
-