}
}
- /**
- * @deprecated use setColumns instead.
- */
- public void setWidth(int columns) {
- setColumns(columns);
- }
-
- /**
- * @deprecated use getColumns instead.
- */
- public int getWidth() {
- return getColumns();
- }
-
/**
* Sets the number of columns in the grid. The column count can not be
* reduced if there are any areas that would be outside of the shrunk grid.
return cols;
}
- /**
- * @deprecated use setRows() instead.
- */
- public void setHeight(int rows) {
- setRows(rows);
- }
-
- /**
- * @deprecated use getRows() instead.
- */
- public int getHeight() {
- return getRows();
- }
-
/**
* Sets the number of rows in the grid. The number of rows can not be
* reduced if there are any areas that would be outside of the shrunk grid.