Package org.jcsp.awt
Class AdjustmentEventHandler
java.lang.Object
org.jcsp.awt.AdjustmentEventHandler
- All Implemented Interfaces:
AdjustmentListener
,EventListener
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate ChannelOutputInt
The Channel AdjustmentEvent notifications are sent down. -
Constructor Summary
ConstructorsConstructorDescriptionConstructs a new AdjustmentEventHandler with the specified event Channel. -
Method Summary
Modifier and TypeMethodDescriptionvoid
Invoked when an adjustment occurs on the component the event handler is listening to.
-
Field Details
-
event
The Channel AdjustmentEvent notifications are sent down.
-
-
Constructor Details
-
AdjustmentEventHandler
Constructs a new AdjustmentEventHandler with the specified event Channel.- Parameters:
event
- The Channel AdjustmentEvent notifications are sent down.
-
-
Method Details
-
adjustmentValueChanged
Invoked when an adjustment occurs on the component the event handler is listening to. Notifies the event process that an AdjustmentEvent has occurred. Some notifications will be lost so there are no guarantees that all events generated will be processed. Sets the value to the current value of the component.- Specified by:
adjustmentValueChanged
in interfaceAdjustmentListener
- Parameters:
e
- The parameters associated with this event
-