- All Implemented Interfaces:
- ActionListener, EventListener
public class PrologEventBroker
extends Object
implements ActionListener
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