Class
caplin.presenter.property

WritableProperty

WritableProperty is identical to caplin.presenter.property.Property, except that it adds the ability to update the value stored within the property.

Constructor Summary

Attributes Name and Description
caplin.presenter.property.WritableProperty(Object vValue)

Constructs a new WritableProperty instance.

Method Summary

Attributes Name and Description
caplin.presenter.property.WritableProperty setValue(Variant vValue)

Sets the unformatted value for this property and notifies listeners of the change.

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

Constructor Detail

caplin.presenter.property.WritableProperty(Object vValue)

Constructs a new WritableProperty instance.

Parameters
Object vValue (optional) The default value for this property.

Method Detail

caplin.presenter.property.WritableProperty setValue(Variant vValue)

Sets the unformatted value for this property and notifies listeners of the change.

This method is called from the presentation model only, and does not allow user editable controls to be bound from the view.

Parameters
Variant vValue The new value for this property.