Class
caplin.presenter.property

DelayedNotificationProperty

DelayedNotificationProperty is a subclass of caplin.presenter.property.Property that will allow you to decide when to notify observers about a value change instead of having this automatically done whenever the internal value changes. In order to do this you should call the method notifyListenersIfUpdated.

Constructor Summary

Attributes Name and Description
caplin.presenter.property.DelayedNotificationProperty(Value vValue)

Constructs a new DelayedNotificationProperty instance.

Method Summary

Attributes Name and Description
void notifyListenersIfUpdated()

Notifies observers only if an update has been received (even if the value has not changed).

Methods inherited from class caplin.presenter.property.Property:
addChangeListener, addFormatter, addListener, addUpdateListener, getFormattedValue, getPath, getRenderedValue, getValue, removeAllListeners, removeListener

Constructor Detail

caplin.presenter.property.DelayedNotificationProperty(Value vValue)

Constructs a new DelayedNotificationProperty instance.

Parameters
Value vValue The property to wrap.

Method Detail

void notifyListenersIfUpdated()

Notifies observers only if an update has been received (even if the value has not changed).