- All Superinterfaces:
- EventListener
public interface CommandListener
extends EventListener
The listener interface for receiving command events.
The class that is interested in receiving commands implements
this interface, and the
object that is created from that class registers itself to
command events
generating sources. Registering and deregistering uses the standard
convention names, addCommandListener and
removeCommandListener. When a command is fired
the command of all registered command listeners is invoked.