|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.acm.seguin.uml.line.DragPanelAdapter
public class DragPanelAdapter
This adapter handles dragging panels around on another panel. This is used to relocate the class images on the class diagram.
| Constructor Summary | |
|---|---|
DragPanelAdapter(EndPointPanel initPanel,
LinedPanel initParent)
Constructor for the DragPanelAdapter object |
|
| Method Summary | |
|---|---|
void |
mouseClicked(java.awt.event.MouseEvent mevt)
Process a mouse click action |
void |
mouseDragged(java.awt.event.MouseEvent mevt)
Notifies this object that it is being dragged |
void |
mouseEntered(java.awt.event.MouseEvent mevt)
Process the mouse entering the component |
void |
mouseExited(java.awt.event.MouseEvent mevt)
Process the mouse leaving the component |
void |
mouseMoved(java.awt.event.MouseEvent mevt)
What to do when the mouse moves. |
void |
mousePressed(java.awt.event.MouseEvent mevt)
Process a mouse button press |
void |
mouseReleased(java.awt.event.MouseEvent mevt)
User released the mouse button |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DragPanelAdapter(EndPointPanel initPanel,
LinedPanel initParent)
initPanel - Description of ParameterinitParent - Description of Parameter| Method Detail |
|---|
public void mouseClicked(java.awt.event.MouseEvent mevt)
mouseClicked in interface java.awt.event.MouseListenermevt - the mouse eventpublic void mouseEntered(java.awt.event.MouseEvent mevt)
mouseEntered in interface java.awt.event.MouseListenermevt - the mouse eventpublic void mouseExited(java.awt.event.MouseEvent mevt)
mouseExited in interface java.awt.event.MouseListenermevt - the mouse eventpublic void mousePressed(java.awt.event.MouseEvent mevt)
mousePressed in interface java.awt.event.MouseListenermevt - the mouse eventpublic void mouseReleased(java.awt.event.MouseEvent mevt)
mouseReleased in interface java.awt.event.MouseListenermevt - the mouse eventpublic void mouseDragged(java.awt.event.MouseEvent mevt)
mouseDragged in interface java.awt.event.MouseMotionListenermevt - The mouse objectpublic void mouseMoved(java.awt.event.MouseEvent mevt)
mouseMoved in interface java.awt.event.MouseMotionListenermevt - the mouse event
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||