|
DataFaucet 1.0 Beta | ||||
| FRAMES | |||||
WEB-INF.cftags.component
datafaucet.system.iterator
public class iterator
| Constructor Summary | |
|---|---|
init(query query, any record)
|
|
| Method Summary | |
|---|---|
numeric |
back()
moves to and loads the previous record - stops at zero - returns the index |
numeric |
first()
moves to the first record |
numeric |
getIndex()
returns the current index of the iterator |
query |
getQuery()
returns the query loaded into the iterator |
any |
getRecord()
returns the active record object loaded into the iterator |
numeric |
last()
moves to the last record in the query |
numeric |
length()
returns the size of the loaded query |
private any |
loadRecord()
loads the active record object with the current query record |
boolean |
more()
indicates if the query contains more records after the current record |
void |
moveTo(numeric index)
moves to and loads a specified record in the query |
boolean |
next()
moves to and loads the next record - returns true if there are more records |
| Methods inherited from class WEB-INF.cftags.component |
|---|
|
| Constructor Detail |
|---|
public init(query query, any record)
query - a query from which the record object is loaded with datarecord - an active record object to load when the index changes| Method Detail |
|---|
public numeric back()
public numeric first()
public numeric getIndex()
public query getQuery()
public any getRecord()
public numeric last()
public numeric length()
private any loadRecord()
public boolean more()
public void moveTo(numeric index)
indexpublic boolean next()
|
DataFaucet 1.0 Beta | ||||
| FRAMES | |||||