Package org.jcsp.awt
Class ComponentEventHandler
java.lang.Object
org.jcsp.awt.ComponentEventHandler
- All Implemented Interfaces:
ComponentListener
,EventListener
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate ChannelOutput
The Channel action event notifications are sent down. -
Constructor Summary
ConstructorsConstructorDescriptionconstructs a new ComponentEventHandler with the specified event output Channel. -
Method Summary
Modifier and TypeMethodDescriptionvoid
Invoked when the component the event handler is listening to is hidden.void
Invoked when the component the event handler is listening to is moved.void
Invoked when the component the event handler is listening to is resized.void
Invoked when the component the event handler is listening to is shown.
-
Field Details
-
event
The Channel action event notifications are sent down.
-
-
Constructor Details
-
ComponentEventHandler
constructs a new ComponentEventHandler with the specified event output Channel.- Parameters:
event
- The Channel to send the event notification down
-
-
Method Details
-
componentResized
Invoked when the component the event handler is listening to is resized. Notifies the event process that an ComponentEvent has occurred by sending the ComponentEvent Object. Some notifications will be lost so there are no guarantees that all events generated will be processed.- Specified by:
componentResized
in interfaceComponentListener
- Parameters:
e
- The parameters associated with this event
-
componentMoved
Invoked when the component the event handler is listening to is moved. Notifies the event process that an ComponentEvent has occurred by sending the ComponentEvent Object. Some notifications will be lost so there are no guarantees that all events generated will be processed.- Specified by:
componentMoved
in interfaceComponentListener
- Parameters:
e
- The parameters associated with this event
-
componentShown
Invoked when the component the event handler is listening to is shown. Notifies the event process that an ComponentEvent has occurred by sending the ComponentEvent Object. Some notifications will be lost so there are no guarantees that all events generated will be processed.- Specified by:
componentShown
in interfaceComponentListener
- Parameters:
e
- The parameters associated with this event
-
componentHidden
Invoked when the component the event handler is listening to is hidden. Notifies the event process that an ComponentEvent has occurred by sending the ComponentEvent Object. Some notifications will be lost so there are no guarantees that all events generated will be processed.- Specified by:
componentHidden
in interfaceComponentListener
- Parameters:
e
- The parameters associated with this event
-