set_n_columns


Description:

public void set_n_columns (int cols)

Sets the number of columns for rows inserted in this model.

cols must be greated than or equal to 0.

Also clears this's contents.

Parameters:

this

the DataModelArray.

cols

number of columns for rows this data model should use.