Package org.jcsp.awt
Class MouseMotionEventHandler
java.lang.Object
org.jcsp.awt.MouseMotionEventHandler
- All Implemented Interfaces:
MouseMotionListener
,EventListener
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate ChannelOutput
The Channel action event notifications are sent down. -
Constructor Summary
ConstructorsConstructorDescriptionconstructs a new MouseMotionEventHandler with the specified output Channel. -
Method Summary
Modifier and TypeMethodDescriptionvoid
Invoked when the Component the event handler is listening to has a mouse dragged.void
Invoked when the Component the event handler is listening to has a mouse moved.
-
Field Details
-
event
The Channel action event notifications are sent down.
-
-
Constructor Details
-
MouseMotionEventHandler
constructs a new MouseMotionEventHandler with the specified output Channel.- Parameters:
event
- The Channel to send the event notification down
-
-
Method Details
-
mouseDragged
Invoked when the Component the event handler is listening to has a mouse dragged. Notifies the event process that a MouseEvent has occurred by sending the MouseEvent Object. Some notifications will be lost so there are no guarantees that all events generated will be processed.- Specified by:
mouseDragged
in interfaceMouseMotionListener
- Parameters:
e
- The parameters associated with this event
-
mouseMoved
Invoked when the Component the event handler is listening to has a mouse moved. Notifies the event process that a MouseEvent has occurred by sending the MouseEvent Object. Some notifications will be lost so there are no guarantees that all events generated will be processed.- Specified by:
mouseMoved
in interfaceMouseMotionListener
- Parameters:
e
- The parameters associated with this event
-