jess.awt
Class WindowListener

java.lang.Object
  |
  +--jess.awt.JessAWTListener
        |
        +--jess.awt.WindowListener
All Implemented Interfaces:
java.util.EventListener, java.awt.event.WindowListener

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

WindowListener An AWT Event Adapter for Jess.

(C) 1997 Ernest J. Friedman-Hill and Sandia National Laboratories

Author:
Ernest J. Friedman-Hill

Constructor Summary
WindowListener(java.lang.String uf, Rete engine)
          Connect the Jess function specified by name to this event handler object.
 
Method Summary
 void windowActivated(java.awt.event.WindowEvent e)
          An event-handler method.
 void windowClosed(java.awt.event.WindowEvent e)
          An event-handler method.
 void windowClosing(java.awt.event.WindowEvent e)
          An event-handler method.
 void windowDeactivated(java.awt.event.WindowEvent e)
          An event-handler method.
 void windowDeiconified(java.awt.event.WindowEvent e)
          An event-handler method.
 void windowIconified(java.awt.event.WindowEvent e)
          An event-handler method.
 void windowOpened(java.awt.event.WindowEvent e)
          An event-handler method.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WindowListener

public WindowListener(java.lang.String uf,
                      Rete engine)
               throws JessException
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

windowActivated

public void windowActivated(java.awt.event.WindowEvent e)
An event-handler method. Invokes the function passed to the constructor with the received event as the argument.
Specified by:
windowActivated in interface java.awt.event.WindowListener
Parameters:
e - The event

windowDeactivated

public void windowDeactivated(java.awt.event.WindowEvent e)
An event-handler method. Invokes the function passed to the constructor with the received event as the argument.
Specified by:
windowDeactivated in interface java.awt.event.WindowListener
Parameters:
e - The event

windowDeiconified

public void windowDeiconified(java.awt.event.WindowEvent e)
An event-handler method. Invokes the function passed to the constructor with the received event as the argument.
Specified by:
windowDeiconified in interface java.awt.event.WindowListener
Parameters:
e - The event

windowIconified

public void windowIconified(java.awt.event.WindowEvent e)
An event-handler method. Invokes the function passed to the constructor with the received event as the argument.
Specified by:
windowIconified in interface java.awt.event.WindowListener
Parameters:
e - The event

windowOpened

public void windowOpened(java.awt.event.WindowEvent e)
An event-handler method. Invokes the function passed to the constructor with the received event as the argument.
Specified by:
windowOpened in interface java.awt.event.WindowListener
Parameters:
e - The event

windowClosed

public void windowClosed(java.awt.event.WindowEvent e)
An event-handler method. Invokes the function passed to the constructor with the received event as the argument.
Specified by:
windowClosed in interface java.awt.event.WindowListener
Parameters:
e - The event

windowClosing

public void windowClosing(java.awt.event.WindowEvent e)
An event-handler method. Invokes the function passed to the constructor with the received event as the argument.
Specified by:
windowClosing in interface java.awt.event.WindowListener
Parameters:
e - The event

© 1997 E.J. Friedman-Hill and Sandia Corporation