com::declarativa::interprolog::gui::PrologEventBroker Class Reference


Public Member Functions

 PrologEventBroker (PrologEngine e, String g)
 PrologEventBroker (PrologEngine e, Object g)
 PrologEventBroker (PrologEngine e)
void actionPerformed (ActionEvent e)

Package Functions

void maySetTooltipText (String defaultTip)

Package Attributes

PrologEngine engine
String goal
JComponent component

Detailed Description

A PrologEventBroker can listen to ActionEvents, and calls a Prolog goal to handle them. If a goal is not specified, Event(ID) goals will be called instead, where ID is the reference of the event source object in the engine's knownObjects table. If a JComponent is specified, its tooltip text will be set; if not, the first JComponent sending an event will have its tooltip text set

Definition at line 19 of file PrologEventBroker.java.


The documentation for this class was generated from the following file:
Generated on Wed Jul 26 13:30:53 2006 for XSB by  doxygen 1.4.5