jess.awt
Class TextListener

java.lang.Object
  extended byjess.awt.JessAWTListener
      extended byjess.awt.TextListener
All Implemented Interfaces:
java.util.EventListener, java.awt.event.TextListener

Deprecated. Since Jess 7.0, superceded by the implement and lambda functions in Jess.

public class TextListener
extends jess.awt.JessAWTListener
implements java.awt.event.TextListener

An AWT Event Adapter for Jess.

(C) 2005 Sandia National Laboratories


Constructor Summary
TextListener(java.lang.String uf, Rete engine)
          Deprecated. Connect the Jess function specified by name to this event handler object.
 
Method Summary
 void textValueChanged(java.awt.event.TextEvent e)
          Deprecated. An event-handler method.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TextListener

public TextListener(java.lang.String uf,
                    Rete engine)
             throws JessException
Deprecated. 
Connect the Jess function specified by name to this event handler object. When this handler receives an AWT event, the named function will be invoked in the given engine.

Parameters:
uf - The name of a Jess function
engine - The Jess engine to execute the function in
Throws:
JessException - If anything goes wrong.
Method Detail

textValueChanged

public void textValueChanged(java.awt.event.TextEvent e)
Deprecated. 
An event-handler method. Invokes the function passed to the constructor with the received event as the argument.

Specified by:
textValueChanged in interface java.awt.event.TextListener
Parameters:
e - The event

© 2006 Sandia Corporation