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 TypeMethodDescriptionvoid
void
void
void
void
void
void
protected void
-
Field Details
-
source
Source that events are coming from. -
destination
Destination that receives all events.
-
-
Constructor Details
-
MouseInputHandler
-
-
Method Details
-
mouseClicked
- Specified by:
mouseClicked
in interfaceMouseListener
-
mousePressed
- Specified by:
mousePressed
in interfaceMouseListener
-
mouseReleased
- Specified by:
mouseReleased
in interfaceMouseListener
-
mouseEntered
- Specified by:
mouseEntered
in interfaceMouseListener
-
mouseExited
- Specified by:
mouseExited
in interfaceMouseListener
-
mouseDragged
- Specified by:
mouseDragged
in interfaceMouseMotionListener
-
mouseMoved
- Specified by:
mouseMoved
in interfaceMouseMotionListener
-
removeFromSource
protected void removeFromSource()
-