Class MmObjMMouseAdapter
java.lang.Object
|
+--MmMouse
|
+--MmObjMMouseAdapter
- All Implemented Interfaces:
- java.util.EventListener, java.awt.event.MouseListener, java.awt.event.MouseMotionListener
- public class MmObjMMouseAdapter
- extends MmMouse
MmObjMMouseAdapter permet à un MmObject d'être déplacé dans son conteneur
Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait |
obj
MmGUIObject obj
container
javax.swing.JLayeredPane container
downPoint
java.awt.Point downPoint
last
java.awt.Rectangle last
first
java.awt.Rectangle first
layer
int layer
actionCible
MmGUICallback actionCible
objectId
java.lang.String objectId
MmObjMMouseAdapter
MmObjMMouseAdapter(MmGUIObject o,
javax.swing.JLayeredPane c)
setCallback
public void setCallback(boolean state,
MmGUICallback c)
- Overrides:
setCallback
in class MmMouse
mouseClicked
public void mouseClicked(java.awt.event.MouseEvent e)
mouseEntered
public void mouseEntered(java.awt.event.MouseEvent e)
mouseExited
public void mouseExited(java.awt.event.MouseEvent e)
mousePressed
public void mousePressed(java.awt.event.MouseEvent e)
mouseReleased
public void mouseReleased(java.awt.event.MouseEvent e)
mouseDragged
public void mouseDragged(java.awt.event.MouseEvent e)
mouseMoved
public void mouseMoved(java.awt.event.MouseEvent e)