All Packages Class Hierarchy This Package Previous Next Index
XYProducer is an interface which must be implemented by
any class which needs to act as a producer of XY data. An
XYProducer must be able to register and remove consumers,
and tell the consumers the range of values it might produce. It will
then send the XY data to its consumers using their notify
methods.
Source Code is available.
getLimits(lower,upper) is used by consumers to find out
what range of values they can expect to receive.
registerXYConsumer(consumer) is used to add a new
consumer.
removeXYConsumer is used to remove a consumer.
public abstract void registerXYConsumer(XYConsumer consumer)
registerXYConsumer(consumer) is used to add a new
consumer.
public abstract void removeXYConsumer(XYConsumer consumer)
removeXYConsumer is used to remove a consumer.
public abstract void getLimits(XYPair lower,
XYPair upper)
getLimits(lower,upper) is used by consumers to find out
what range of values they can expect to receive. The values are
returned in the parameters lower and upper.
All Packages Class Hierarchy This Package Previous Next Index