java.lang.Object
java.util.EventObject
jpicedt.graphic.event.PEMouseEvent
- All Implemented Interfaces:
- java.io.Serializable
- public class PEMouseEvent
- extends java.util.EventObject
This is an enriched implementation of MouseEvent that return mouse coordinates in model-coordinates
- Since:
- jPicEdt 1.3.2
awtEvent
private java.awt.event.MouseEvent awtEvent
pt
private jpicedt.graphic.PicPoint pt
PEMouseEvent
public PEMouseEvent(java.awt.event.MouseEvent awtEvent,
jpicedt.graphic.PECanvas source,
jpicedt.graphic.PicPoint pt)
getAwtMouseEvent
public java.awt.event.MouseEvent getAwtMouseEvent()
- Since:
- jPicEdt 1.3.2
getCanvas
public jpicedt.graphic.PECanvas getCanvas()
- Since:
- jPicEdt 1.3.2
getX
public double getX()
- Since:
- jPicEdt 1.3.2
getY
public double getY()
- Since:
- jPicEdt 1.3.2
getPicPoint
public jpicedt.graphic.PicPoint getPicPoint()
- Since:
- jPicEdt 1.3.2
getClickCount
public int getClickCount()
- Since:
- jPicEdt 1.3.2
getModifiers
public int getModifiers()
- Since:
- jPicEdt 1.3.2
isAltDown
public boolean isAltDown()
- Since:
- jPicEdt 1.3.2
isAltGraphDown
public boolean isAltGraphDown()
- Since:
- jPicEdt 1.3.2
isControlDown
public boolean isControlDown()
- Since:
- jPicEdt 1.3.2
isMetaDown
public boolean isMetaDown()
- Since:
- jPicEdt 1.3.2
isShiftDown
public boolean isShiftDown()
- Since:
- jPicEdt 1.3.2
isLeftButton
public boolean isLeftButton()
- Since:
- jPicEdt 1.3.2
isMiddleButton
public boolean isMiddleButton()
- Since:
- jPicEdt 1.3.2
isRightButton
public boolean isRightButton()
- Since:
- jPicEdt 1.3.2
isPopupTrigger
public boolean isPopupTrigger()
- Since:
- jPicEdt 1.3.2
toString
public java.lang.String toString()
- Description copied from class:
java.util.EventObject
- Converts the event to a String. The format is not specified, but by
observation, the JDK uses:
getClass().getName() + "[source=" + source + "]";
.