Package org.jcsp.awt
Class TextEventHandler
java.lang.Object
org.jcsp.awt.TextEventHandler
- All Implemented Interfaces:
TextListener
,EventListener
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate ChannelOutput
The Channel TextEvent notifications are sent down. -
Constructor Summary
ConstructorsConstructorDescriptionTextEventHandler
(ChannelOutput event) constructs a new TextEventHandler with the specified event Channel. -
Method Summary
Modifier and TypeMethodDescriptionvoid
Invoked when an Text change occurs on the component the event handler is listening to.
-
Field Details
-
event
The Channel TextEvent notifications are sent down.
-
-
Constructor Details
-
TextEventHandler
constructs a new TextEventHandler with the specified event Channel.- Parameters:
event
- The Channel TextEvent notifications are sent down.
-
-
Method Details
-
textValueChanged
Invoked when an Text change occurs on the component the event handler is listening to. Notifies the event process that an TextEvent has occurred. Some notifications will be lost so there are no guarantees that all events generated will be processed.- Specified by:
textValueChanged
in interfaceTextListener
- Parameters:
e
- The parameters associated with this event
-