Class MouseEventHandler
java.lang.Object
org.jcsp.awt.MouseEventHandler
- All Implemented Interfaces:
MouseListener, EventListener
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate ChannelOutputThe channel down which action event notifications are sent. -
Constructor Summary
ConstructorsConstructorDescriptionMouseEventHandler(ChannelOutput event) constructs a new MouseEventHandler with the specified output channel -
Method Summary
Modifier and TypeMethodDescriptionvoidAssumes the event channel is being serviced (eg by an overwriting channel).voidAssumes the event channel is being serviced (eg by an overwriting channel).voidAssumes the event channel is being serviced (eg by an overwriting channel).voidAssumes the event channel is being serviced (eg by an overwriting channel).voidAssumes the event channel is being serviced (eg by an overwriting channel).
-
Field Details
-
event
The channel down which action event notifications are sent.
-
-
Constructor Details
-
MouseEventHandler
constructs a new MouseEventHandler with the specified output channel- Parameters:
event- the Channel to which to send the event notification
-
-
Method Details
-
mouseClicked
Assumes the event channel is being serviced (eg by an overwriting channel).- Specified by:
mouseClickedin interfaceMouseListener- Parameters:
e- The parameters associated with this event
-
mousePressed
Assumes the event channel is being serviced (eg by an overwriting channel).- Specified by:
mousePressedin interfaceMouseListener- Parameters:
e- The parameters associated with this event
-
mouseReleased
Assumes the event channel is being serviced (eg by an overwriting channel).- Specified by:
mouseReleasedin interfaceMouseListener- Parameters:
e- The parameters associated with this event
-
mouseEntered
Assumes the event channel is being serviced (eg by an overwriting channel).- Specified by:
mouseEnteredin interfaceMouseListener- Parameters:
e- The parameters associated with this event
-
mouseExited
Assumes the event channel is being serviced (eg by an overwriting channel).- Specified by:
mouseExitedin interfaceMouseListener- Parameters:
e- The parameters associated with this event
-