Package org.jcsp.awt

Class TextEventHandler

java.lang.Object
org.jcsp.awt.TextEventHandler
All Implemented Interfaces:
TextListener, EventListener

class TextEventHandler extends Object implements TextListener
  • Field Details

    • event

      private ChannelOutput event
      The Channel TextEvent notifications are sent down.
  • Constructor Details

    • TextEventHandler

      public TextEventHandler(ChannelOutput event)
      constructs a new TextEventHandler with the specified event Channel.
      Parameters:
      event - The Channel TextEvent notifications are sent down.
  • Method Details

    • textValueChanged

      public void textValueChanged(TextEvent e)
      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 interface TextListener
      Parameters:
      e - The parameters associated with this event