public interface Calculation<N>
Calculation which is updated as the
contents of the EventList change and in turn broadcast PropertyChangeEvents
to registered listeners describing a change in the calculated value.
In this way, Calculation object represent a continuation of data transformation from the domain of Lists to the domain of simple Number objects calculated from the elements of those Lists.
| Modifier and Type | Method and Description |
|---|---|
void |
addPropertyChangeListener(java.beans.PropertyChangeListener pcl) |
void |
dispose()
Cease the updating of this Calculation from its data sources and free
them for garbage collection.
|
java.lang.String |
getName() |
N |
getValue() |
void |
removePropertyChangeListener(java.beans.PropertyChangeListener pcl) |
void |
setName(java.lang.String name)
Adjusts the Calculation to have the new
name; |
void addPropertyChangeListener(java.beans.PropertyChangeListener pcl)
pcl - a PropertyChangeListener to notify any time the
value changesvoid removePropertyChangeListener(java.beans.PropertyChangeListener pcl)
pcl - a PropertyChangeListener which should no longer be notified
of value changesjava.lang.String getName()
void setName(java.lang.String name)
name;name - the new human-readable name of this CalculationN getValue()
void dispose()
Glazed Lists, Copyright © 2003 publicobject.com, O'Dell Engineering.
Documentation build by mockbuild at 2017-07-26 15:03