DataBinder.addBinding

Overview | Methods | This Package | All Packages

DataBinder.addBinding

Adds a new binding to the bindings collection.

Syntax

public void addBinding( DataBinding newBinding )

public void addBinding( IComponent target, String propertyName, String fieldName )

Parameters

newBinding

The DataBinding object that represents the binding to add.

target

The component to bind.

propertyName

The name of the property on the target object to bind.

fieldName

The name of the field in the underlying recordset to bind.

Remarks

This binding will work in a read-only manner unless the target parameter supports property change notifications.  For more information, see Simple Data Binding.

See Also   removeBinding