Method Summary |
|
public void | clearRows() |
public Object | getElement(String columnName, int rowNum) Returns a field value from a given row.
Parameters: columnName - The name of the field. Parameters: rowNum - The position of the row. |
public boolean | getErrorInSavingUserSettings() |
public GridModelRow | getRow(int rowNum) Returns a Row object based on the position or the row in the List.
Parameters: rowNum - The position of the row. |
public GridModelRow | getRowById(int rowId) Returns a Row object based on the rowId.
Parameters: rowId - The id of the row. |
public Collection | getRows() Returns a Collection of GridModelRow objects. |
public GridModelRow | newRow() Creates and returns a new GridModelRow. |
public GridModelRow | newRow(int rowNum) Create a new Row at the specfied position in the Grid.
rowNum can be from 0 to GridModel.size().
if rowNum = GridModel.size(), then this function is the same as newRow();
Parameters: rowNum - The position at which the row is to be added. |
public void | removeRow(GridModelRow row) Removes the row from the grid. |
public void | setErrorInSavingUserSettings(boolean value) |