Top Description Methods
javax.sql

public Interface RowSetListener

extends EventListener

An interface that must be implemented by a component that wants to be notified when a significant event happens in the life of a RowSet object. A component becomes a listener by being registered with a RowSet object via the method RowSet.addRowSetListener. How a registered component implements this interface determines what it does when it is notified of an event.
Since
1.4

Method Summary

Modifier and TypeMethod and Description
public void
cursorMoved(RowSetEvent
a RowSetEvent object that contains the RowSet object that is the source of the event
event
)

Notifies registered listeners that a RowSet object's cursor has moved.

public void
rowChanged(RowSetEvent
a RowSetEvent object that contains the RowSet object that is the source of the event
event
)

Notifies registered listeners that a RowSet object has had a change in one of its rows.

public void
rowSetChanged(RowSetEvent
a RowSetEvent object that contains the RowSet object that is the source of the event
event
)

Notifies registered listeners that a RowSet object in the given RowSetEvent object has changed its entire contents.

Method Detail

cursorMovedback to summary
public void cursorMoved(RowSetEvent event)

Notifies registered listeners that a RowSet object's cursor has moved.

The source of the event can be retrieved with the method event.getSource.

Parameters
event:RowSetEvent

a RowSetEvent object that contains the RowSet object that is the source of the event

rowChangedback to summary
public void rowChanged(RowSetEvent event)

Notifies registered listeners that a RowSet object has had a change in one of its rows.

The source of the event can be retrieved with the method event.getSource.

Parameters
event:RowSetEvent

a RowSetEvent object that contains the RowSet object that is the source of the event

rowSetChangedback to summary
public void rowSetChanged(RowSetEvent event)

Notifies registered listeners that a RowSet object in the given RowSetEvent object has changed its entire contents.

The source of the event can be retrieved with the method event.getSource.

Parameters
event:RowSetEvent

a RowSetEvent object that contains the RowSet object that is the source of the event