http://www.jpicedt.org

jpicedt.graphic.event
Interface PEMouseInputListener

All Superinterfaces:
EventListener
All Known Implementing Classes:
ConvexeZoneTool, ConvexZoneSelectionTool, ConvexZoneTool, ConvexZoneToolFactory.BandShapedConvexZoneTool, ConvexZoneToolFactory.ConvexZoneToolBase, ConvexZoneToolFactory.ExtensibleConvexZoneTool, ConvexZoneToolFactory.GenericConvexZoneTool, ConvexZoneToolFactory.HalfPlaneConvexZoneTool, ConvexZoneToolFactory.RectangleConvexZoneTool, ConvexZoneToolFactory.UShapedConvexZoneTool, DrawToolFactory.AbstractCurveDrawTool, DrawToolFactory.GenericDrawTool, DrawToolFactory.TextDrawTool, ElementSelectionTool, InConvexZoneTranslateTool, InConvexZoneTrimTool, MirrorTool, MouseTool, MoveTool, PEDrawingBoard.StatusBar, PEEventMulticaster, PEMouseInputAdapter, RotateTool, ScaleTool, SelectionTool, ZoomTool

public interface PEMouseInputListener
extends EventListener

The listener for receiving mouse and mouse motion events. In comparison with javax.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.7 2013/03/27 07:06:17 vincentb1 Exp $
Author:
Sylvain Reynal
See Also:
PEMouseEvent

Method Summary
 void mouseClicked(PEMouseEvent e)
          Invoked when the mouse button has been clicked (pressed and released) on a component.
 void mouseDragged(PEMouseEvent e)
          Invoked when a mouse button is pressed on a component and then dragged.
 void mouseEntered(PEMouseEvent e)
          Invoked when the mouse enters a component.
 void mouseExited(PEMouseEvent e)
          nvoked when the mouse exits a component.
 void mouseMoved(PEMouseEvent e)
          Invoked when the mouse button has been moved on a component (with no buttons down).
 void mousePressed(PEMouseEvent e)
          Invoked when a mouse button has been pressed on a component.
 void mouseReleased(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.


http://www.jpicedt.org

Submit a bug : syd@jpicedt.org