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

expand all

Profile: desktop, common

Overview

Record set that is static, entirely present in memory as sequence of records.

Variable Summary

accessnametypeCan ReadCan InitCan WriteDefault Valuedescription
public-init protectedrecordsRecord[]subclass

Inherited Variables

org.netbeans.javafx.datasrc.RecordSet

accessnametypeCan ReadCan InitCan WriteDefault Valuedescription
public-readcurrentIndexInteger

Function Summary

protected fetchAllRecords() : Record[]
Returns
Record[]
 

Inherited Functions

org.netbeans.javafx.datasrc.RecordSet

public bound all() : Record[]
Returns
Record[]
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
 
public dump() : Void
 
public eval(expression: java.lang.String) : java.lang.String

Directly evaluates the given expression and returns a string value.

Directly evaluates the given expression and returns a string value.

Parameters
expression
Returns
String
 
protected abstract fetchAllRecords() : Record[]
Returns
Record[]
 
public filter(expression: java.lang.String) : RecordSet

Filters the data by a simplified XPath expression.

Filters the data by a simplified XPath expression.

Parameters
expression
Returns
RecordSet
 
public filter(f: Filter) : RecordSet

Filters the data with the given Filter.

Filters the data with the given Filter.

Parameters
f
Returns
RecordSet
 
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