JavaFX: Bringing Rich Experiences To All the Screens Of Your Life

Profile: desktop, common

Overview

A RecordSet is an ordered list of Records, much like a database table. It allows random or sequential access to Records.

Inherited Variables

Function Summary

public bound all() : java.lang.Object[]
Returns
Object[]
Record [] all records in this RecordSet
 
public close() : Void

Explicitly close the RecordSet and free all resources associated with it.

Explicitly close the RecordSet and free all resources associated with it. Consult documentation of the DataSource used if this call is neccessary.

 
public bound current() : Record
Returns
Record
Record Record currently under cursor
 
public bound currentField(name: java.lang.String) : java.lang.Object

Convenience method that returns a field of the current Record.

Convenience method that returns a field of the current Record.

Parameters
name
of the field
Returns
Object
a field in the current record or null if there is no such field
 
public bound currentString(name: java.lang.String) : java.lang.String

Convenience method that returns a String field of the current Record.

Convenience method that returns a String field of the current Record.

Parameters
name
of the String field
Returns
String
a field in the current record as String or null if there is no such field
 
protected abstract fetchAllRecords() : java.lang.Object[]
Returns
Object[]
 
public bound hasNext() : Boolean
Returns
Boolean
true if the cursor can be moved further by calling next() method, false otherwise
 
public bound hasPrev() : Boolean
Returns
Boolean
true if the cursor can be moved back by calling prev() method, false otherwise
 
public next() : Void

Move the cursor to the next Record.

Move the cursor to the next Record.

 
public prev() : Void

Move the cursor to the previous Record.

Move the cursor to the previous Record.

 
public setCurrentIndex(index: Integer) : Void

Move cursor to a new location.

Move cursor to a new location.

Parameters
index
new cusor idex
 
public toString() : java.lang.String
Returns
String
 

Inherited Functions