| java.lang.Object org.glasser.sql.ResultSetBufferEvent
Method Summary | |
public Class | getListenerClass() Returns the Class for the interface that receives this type of event; in this
particular case is is ResultSetBufferListener.class. | public int | getType() Returns an int indicating the type of ResultSetBufferEvent this is, either
MORE_ROWS_READ or END_OF_RESULTS_REACHED. | public void | notifyListener(EventListener listener) This method, specified by the org.glasser.util.SmartEventListener interface,
is passed a reference to one of the listeners registered to receive this
event. |
BUFFER_SORTED | final public static int BUFFER_SORTED(Code) | | |
END_OF_RESULTS_REACHED | final public static int END_OF_RESULTS_REACHED(Code) | | |
MORE_ROWS_READ | final public static int MORE_ROWS_READ(Code) | | |
ResultSetBufferEvent | public ResultSetBufferEvent(ResultSetBuffer source, int type)(Code) | | Constructs a ResultSetBufferEvent objects.
Parameters: source - the ResultSetBuffer which originated this event. Parameters: type - an it indicating what type of ResultSetBufferEvent thisis, either MORE_ROWS_READ or END_OF_RESULTS_REACHED. |
getListenerClass | public Class getListenerClass()(Code) | | Returns the Class for the interface that receives this type of event; in this
particular case is is ResultSetBufferListener.class.
|
getType | public int getType()(Code) | | Returns an int indicating the type of ResultSetBufferEvent this is, either
MORE_ROWS_READ or END_OF_RESULTS_REACHED.
|
notifyListener | public void notifyListener(EventListener listener)(Code) | | This method, specified by the org.glasser.util.SmartEventListener interface,
is passed a reference to one of the listeners registered to receive this
event. It then calls the appropriate method on the listener interface,
notifying the object of the event.
|
|
|