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


Field Summary
(package private)  MmGUICallback actionCible
           
(package private)  javax.swing.JLayeredPane container
           
(package private)  java.awt.Point downPoint
           
(package private)  java.awt.Rectangle first
           
(package private)  java.awt.Rectangle last
           
(package private)  int layer
           
(package private)  MmGUIObject obj
           
(package private)  java.lang.String objectId
           
 
Constructor Summary
(package private) MmObjMMouseAdapter(MmGUIObject o, javax.swing.JLayeredPane c)
           
 
Method Summary
 void mouseClicked(java.awt.event.MouseEvent e)
           
 void mouseDragged(java.awt.event.MouseEvent e)
           
 void mouseEntered(java.awt.event.MouseEvent e)
           
 void mouseExited(java.awt.event.MouseEvent e)
           
 void mouseMoved(java.awt.event.MouseEvent e)
           
 void mousePressed(java.awt.event.MouseEvent e)
           
 void mouseReleased(java.awt.event.MouseEvent e)
           
 void setCallback(boolean state, MmGUICallback c)
           
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

MmObjMMouseAdapter

MmObjMMouseAdapter(MmGUIObject o,
                   javax.swing.JLayeredPane c)
Method Detail

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)