|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectjavax.swing.event.MouseInputAdapter
com.imagero.gui.flowin.util.MagnetDragHandler
| Constructor Summary | |
MagnetDragHandler(MagnetManager magnetManager,
java.awt.Component master,
java.awt.Container slave,
boolean ignoreBorder)
easy dragging of components. |
|
| Method Summary | |
void |
mouseDragged(java.awt.event.MouseEvent e)
Invoked when a mouse button is pressed on a component and then dragged. |
void |
mousePressed(java.awt.event.MouseEvent e)
Invoked when a mouse button has been pressed on a component. |
void |
mouseReleased(java.awt.event.MouseEvent e)
Invoked when a mouse button has been released on a component. |
| Methods inherited from class javax.swing.event.MouseInputAdapter |
mouseClicked, mouseEntered, mouseExited, mouseMoved |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public MagnetDragHandler(MagnetManager magnetManager,
java.awt.Component master,
java.awt.Container slave,
boolean ignoreBorder)
master - control Component (like titleBar)slave - Container to moveignoreBorder - | Method Detail |
public void mouseDragged(java.awt.event.MouseEvent e)
java.awt.event.MouseMotionListenerMOUSE_DRAGGED events will continue to be
delivered to the component where the drag originated until the
mouse button is released (regardless of whether the mouse position
is within the bounds of the component).
Due to platform-dependent Drag&Drop implementations,
MOUSE_DRAGGED events may not be delivered during a native
Drag&Drop operation.
public void mousePressed(java.awt.event.MouseEvent e)
java.awt.event.MouseListener
public void mouseReleased(java.awt.event.MouseEvent e)
java.awt.event.MouseListener
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||