set_types


Description:

public void set_types (Type[] types)

Sets the types of the columns inside a Model.

Note:

Use ListModel instead

This function is meant primarily for Objects that inherit from Model, and should only be used when contructing a Model. It will not work after the initial creation of the Model.

Parameters:

this

a Model

types

an array of Type types

n_columns

number of columns for the model