public class UpdateEvent extends RowEvent
RowSetIterator to inform its listeners
when a row is modified.| Constructor and Description |
|---|
UpdateEvent(RowSetIterator source,
Row row,
int rowIndex,
int[] attrIndices)
Creates an event when a row is modified.
|
| Modifier and Type | Method and Description |
|---|---|
protected java.util.List<java.lang.String> |
calcRefreshAccessorNames() |
java.util.List<java.lang.String> |
getAccessorsToRefresh() |
int[] |
getChangedAttrIndices()
Gets the indices of the changed attributes.
|
java.lang.String[] |
getChangedAttrNames()
Gets the names of the changed attributes.
|
boolean |
isHintsChanged() |
boolean |
isOwnUpdate() |
boolean |
isRowKeyUpdated() |
void |
setHintsChanged(boolean hintsChanged) |
void |
setOwnUpdate(boolean b) |
java.lang.String |
toString()
Internal: For debugging only.
|
getRow, getRowIndex, toStringpublic UpdateEvent(RowSetIterator source, Row row, int rowIndex, int[] attrIndices)
source - an accessor to a set of rows.row - the modified row.rowIndex - the row's index in the row set range.attrIndices - an array containing the indices of the attributes that have been modified.public int[] getChangedAttrIndices()
public java.lang.String[] getChangedAttrNames()
public java.lang.String toString()
toString in class java.util.EventObjectpublic void setOwnUpdate(boolean b)
public boolean isOwnUpdate()
public void setHintsChanged(boolean hintsChanged)
public boolean isHintsChanged()
protected java.util.List<java.lang.String> calcRefreshAccessorNames()
public java.util.List<java.lang.String> getAccessorsToRefresh()
public boolean isRowKeyUpdated()