gishur.core
Interface SweepListener
- All Superinterfaces:
- java.util.EventListener
- All Known Implementing Classes:
- Sweep
- public interface SweepListener
- extends java.util.EventListener
The implementation of the SweepListener
-interface is an alternative
to overriding the Sweep.processEvent(gishur.core.SweepEvent)
-method in an own Sweep
-class. A class implementing SweepListener
could create a
Sweep
-object, register itself to this Sweep
as the
SweepListener
and call the Sweep.execute()
-method.
It itself will by this be responsible for the procession of
SweepEvents
, because its processEvent(gishur.core.SweepEvent)
-method
will be called if an event occurs.
- Version:
- 1.0
- Author:
- Thomas Wolf
- See Also:
Sweep
,
SweepEvent
processEvent
public void processEvent(SweepEvent e)
- Processes the
SweepEvent
e
.
- Parameters:
e
- SweepEvent