GridLayout.setColumns
Class Overview | Class Members |
This Package |
All Packages
public void setColumns( int cols )
Parameters
- cols
- the number of columns in this layout.
Description
Sets the number of columns in this layout to the specified value.
Exceptions
IllegalArgumentException
if the value of both
rows and cols is set to zero.