jess.awt
Class MouseListener

java.lang.Object
  extended by jess.awt.MouseListener
All Implemented Interfaces:
java.awt.event.MouseListener, java.util.EventListener

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

public class MouseListener
extends java.lang.Object
implements java.awt.event.MouseListener

An AWT Event Adapter for Jess.

(C) 2013 Sandia Corporation


Constructor Summary
MouseListener(java.lang.String uf, Rete engine)
          Deprecated. Connect the Jess function specified by name to this event handler object.
 
Method Summary
 void mouseClicked(java.awt.event.MouseEvent e)
          Deprecated. An event-handler method.
 void mouseEntered(java.awt.event.MouseEvent e)
          Deprecated. An event-handler method.
 void mouseExited(java.awt.event.MouseEvent e)
          Deprecated. An event-handler method.
 void mousePressed(java.awt.event.MouseEvent e)
          Deprecated. An event-handler method.
 void mouseReleased(java.awt.event.MouseEvent 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

MouseListener

public MouseListener(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

mouseClicked

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

Specified by:
mouseClicked in interface java.awt.event.MouseListener
Parameters:
e - The event

mouseEntered

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

Specified by:
mouseEntered in interface java.awt.event.MouseListener
Parameters:
e - The event

mouseExited

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

Specified by:
mouseExited in interface java.awt.event.MouseListener
Parameters:
e - The event

mousePressed

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

Specified by:
mousePressed in interface java.awt.event.MouseListener
Parameters:
e - The event

mouseReleased

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

Specified by:
mouseReleased in interface java.awt.event.MouseListener
Parameters:
e - The event

© 2013 Sandia Corporation