|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.jaffa.presentation.portlet.widgets.model.WidgetModel
org.jaffa.presentation.portlet.widgets.model.GridModel
Model for the Grid widget.
| Constructor Summary | |
GridModel()
|
|
| Method Summary | |
void |
clearRows()
Empty out all the rows in the Grid |
Object |
getElement(String columnName,
int rowNum)
Returns a field value from a given row. |
boolean |
getErrorInSavingUserSettings()
getter for the attribute errorInSavingUserSettings |
GridModelRow |
getRow(int rowNum)
Returns a Row object based on the position or the row in the List. |
GridModelRow |
getRowById(int rowId)
Returns a Row object based on the rowId. |
Collection |
getRows()
Returns a Collection of GridModelRow objects. |
GridModelRow |
newRow()
Creates and returns a new GridModelRow. |
GridModelRow |
newRow(int rowNum)
Create a new Row at the specfied position in the Grid. |
void |
removeRow(GridModelRow row)
Removes the row from the grid. |
void |
setErrorInSavingUserSettings(boolean value)
setter for the attribute |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public GridModel()
| Method Detail |
public GridModelRow newRow()
public GridModelRow newRow(int rowNum)
rowNum - The position at which the row is to be added.
public void clearRows()
public void removeRow(GridModelRow row)
row - The row to be removed.public Collection getRows()
public GridModelRow getRow(int rowNum)
rowNum - The position of the row.
public GridModelRow getRowById(int rowId)
rowId - The id of the row.
public Object getElement(String columnName,
int rowNum)
columnName - The name of the field.rowNum - The position of the row.
public boolean getErrorInSavingUserSettings()
public void setErrorInSavingUserSettings(boolean value)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||