set_source_model


Description:

public bool set_source_model (DataModel model, int col) throws Error

Sets an hint that this's values should be restricted among the values contained in the col column of the model data model.

Note that this is just a hint, meaning this policy is not enforced by this's implementation.

If model is null, then the effect is to cancel ant previous call to set_source_model where model was not null.

Parameters:

this

a Holder object

model

a DataModel object or null

col

the reference column in model

Returns:

TRUE if no error occurred