| javax.sql.RowSetListener
RowSetListener | public interface RowSetListener extends EventListener(Code) | | An interface used to send notification of events occurring in a RowSet. To
receive the notification events, an object must implement the RowSetListener
interface and then register itself with the RowSet of interest using the
RowSet.addRowSetListener method.
|
Method Summary | |
public void | cursorMoved(RowSetEvent theEvent) Notifies the listener that one of the RowSet's rows has changed.
Parameters: theEvent - a RowSetEvent that contains information about the RowSetinvolved. | public void | rowChanged(RowSetEvent theEvent) Notifies the listener that the RowSet's cursor has moved.
Parameters: theEvent - theEvent a RowSetEvent that contains information about theRowSet involved. | public void | rowSetChanged(RowSetEvent theEvent) Notifies the listener that the RowSet's entire contents have been updated
(an example is the execution of a command which retrieves new data from
the database).
Parameters: theEvent - theEvent a RowSetEvent that contains information about theRowSet involved. |
cursorMoved | public void cursorMoved(RowSetEvent theEvent)(Code) | | Notifies the listener that one of the RowSet's rows has changed.
Parameters: theEvent - a RowSetEvent that contains information about the RowSetinvolved. This information can be used to retrieve informationabout the change, such as the new cursor position. |
rowChanged | public void rowChanged(RowSetEvent theEvent)(Code) | | Notifies the listener that the RowSet's cursor has moved.
Parameters: theEvent - theEvent a RowSetEvent that contains information about theRowSet involved. This information can be used to retrieveinformation about the change, such as the updated data values. |
rowSetChanged | public void rowSetChanged(RowSetEvent theEvent)(Code) | | Notifies the listener that the RowSet's entire contents have been updated
(an example is the execution of a command which retrieves new data from
the database).
Parameters: theEvent - theEvent a RowSetEvent that contains information about theRowSet involved. This information can be used to retrieveinformation about the change, such as the updated rows ofdata. |
|
|