Package org.jgraph.plaf.basic
Class BasicGraphUI.MouseInputHandler
java.lang.Object
org.jgraph.plaf.basic.BasicGraphUI.MouseInputHandler
- All Implemented Interfaces:
MouseListener,MouseMotionListener,EventListener,MouseInputListener
- Enclosing class:
- BasicGraphUI
MouseInputHandler handles passing all mouse events, including mouse
motion events, until the mouse is released to the destination it is
constructed with. It is assumed all the events are currently target at
source.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionMouseInputHandler(Component source, Component destination, MouseEvent event) -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidvoidvoidvoidvoidprotected void
-
Field Details
-
source
Source that events are coming from. -
destination
Destination that receives all events.
-
-
Constructor Details
-
MouseInputHandler
-
-
Method Details
-
mouseClicked
- Specified by:
mouseClickedin interfaceMouseListener
-
mousePressed
- Specified by:
mousePressedin interfaceMouseListener
-
mouseReleased
- Specified by:
mouseReleasedin interfaceMouseListener
-
mouseEntered
- Specified by:
mouseEnteredin interfaceMouseListener
-
mouseExited
- Specified by:
mouseExitedin interfaceMouseListener
-
mouseDragged
- Specified by:
mouseDraggedin interfaceMouseMotionListener
-
mouseMoved
- Specified by:
mouseMovedin interfaceMouseMotionListener
-
removeFromSource
protected void removeFromSource()
-