ColumnLayout.getColumns

Number of columns in each row of the layout.

Further documentation.

returns int