Author: abelevich
Date: 2007-05-29 13:29:21 -0400 (Tue, 29 May 2007)
New Revision: 940
Modified:
trunk/sandbox/scrollable-grid/src/main/java/org/richfaces/component/UIScrollableGrid.java
Log:
Modified:
trunk/sandbox/scrollable-grid/src/main/java/org/richfaces/component/UIScrollableGrid.java
===================================================================
---
trunk/sandbox/scrollable-grid/src/main/java/org/richfaces/component/UIScrollableGrid.java 2007-05-29
17:29:10 UTC (rev 939)
+++
trunk/sandbox/scrollable-grid/src/main/java/org/richfaces/component/UIScrollableGrid.java 2007-05-29
17:29:21 UTC (rev 940)
@@ -41,7 +41,7 @@
public abstract class UIScrollableGrid extends UIRepeat implements AjaxComponent,
Sortable{
- private Integer _row_count = new Integer(0) ;
+ private Integer _requestedRows = new Integer(0) ;
private Integer _dataIndex = new Integer(0);
@@ -154,12 +154,12 @@
this._dataIndex = dataIndex;
}
- public Integer getRow_count() {
- return _row_count;
+ public Integer getRequestedRows() {
+ return _requestedRows;
}
- public void setRow_count(Integer row_count) {
- this._row_count = row_count;
+ public void setRequestedRows(Integer row_count) {
+ this._requestedRows = row_count;
}
public Integer getStartRow() {
@@ -174,7 +174,7 @@
Object values[] = new Object[4];
values[0] = super.saveState(context);
- values[1] = _row_count;
+ values[1] = _requestedRows;
values[2] = _startRow;
values[3] = _dataIndex;
@@ -186,7 +186,7 @@
Object values[] = (Object[])state;
super.restoreState(context, values[0]);
- _row_count = (Integer)values[1];
+ _requestedRows = (Integer)values[1];
_startRow = (Integer)values[2];
_dataIndex = (Integer)values[3];
Show replies by date