Share via


GridLayout.setRows

Class Overview | Class Members | This Package | All Packages

Syntax

public void setRows( int rows )

Parameters
  • rows
    the number of rows in this layout.
Description

Sets the number of rows in this layout to the specified value.

Exceptions

IllegalArgumentException if the value of both rows and cols is set to zero.