Caplin Trader 4.0.3

Class: module:caplin/presenter/property/DelayedNotificationProperty

module:caplin/presenter/property/DelayedNotificationProperty

Summary

DelayedNotificationProperty is a subclass of module: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

new module:caplin/presenter/property/DelayedNotificationProperty(vValue)

Constructs a new DelayedNotificationProperty instance.
Parameters:
Name Type Description
vValue Value The property to wrap.

Extends

Methods

notifyListenersIfUpdated()

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