public class RangeRefreshEvent extends RangeEvent
RowSetIterator to inform its listeners when a range of rows need to be redrawn.
When a single row is updated an UpdateEvent should be generated, rather than this event.
| Constructor and Description | 
|---|
RangeRefreshEvent(RowSetIterator source, int rangeStart, int rowCountInRange, Row[] rows)
Creates a range refresh event. 
 | 
RangeRefreshEvent(RowSetIterator source, int rangeStart, int rowCountInRange, Row[] rows, boolean isReset)  | 
RangeRefreshEvent(RowSetIterator source, int rangeStart, int rowCountInRange, Row[] rows, boolean isReset, Row[] masterRows)  | 
| Modifier and Type | Method and Description | 
|---|---|
Row[] | 
getAllRowsInRange()
Extracts the rows in the range. 
 | 
Row[] | 
getMasterRows()  | 
int | 
getRangeStart()
Gets the absolute index of the first row in the row set range. 
 | 
int | 
getRowCountInRange()
Counts the number of rows in the row set range. 
 | 
boolean | 
isNewCollection()  | 
boolean | 
isPosReset()  | 
boolean | 
isReset()  | 
void | 
setNewCollection(boolean b)  | 
void | 
setPosReset(boolean b)  | 
java.lang.String | 
toString()
Internal: For debugging only. 
 | 
toStringpublic RangeRefreshEvent(RowSetIterator source, int rangeStart, int rowCountInRange, Row[] rows)
source - the publisher of the event.rangeStart - the View Object index of the first row in the range.rowCountInRange - the number of rows in the range.rows - an array of row objects. The length of the array is given by rowCountInRange.public RangeRefreshEvent(RowSetIterator source, int rangeStart, int rowCountInRange, Row[] rows, boolean isReset)
public RangeRefreshEvent(RowSetIterator source, int rangeStart, int rowCountInRange, Row[] rows, boolean isReset, Row[] masterRows)
public Row[] getMasterRows()
public int getRangeStart()
getRangeStart in class RangeEventpublic int getRowCountInRange()
getRowCountInRange in class RangeEventpublic Row[] getAllRowsInRange()
getAllRowsInRange in class RangeEventpublic void setNewCollection(boolean b)
public boolean isNewCollection()
public boolean isReset()
public void setPosReset(boolean b)
public boolean isPosReset()
public java.lang.String toString()
toString in class java.util.EventObject