public class Observee
extends java.lang.Object
Constructor and Description |
---|
Observee(int numberEventsToBeDispatchedPerSecond,
java.awt.event.ActionListener theObserver)
Instantiates an object that dispatches events and that can be observed
(an observee).
|
public Observee(int numberEventsToBeDispatchedPerSecond, java.awt.event.ActionListener theObserver)
numberEventsToBeDispatchedPerSecond
- an int that is strictly greater than zero, representing the
number of events to be dispatched per secondtheObserver
- the object that will be listening for the events dispatched by
this object