|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.jasperreports.data.cache.ColumnValuesDataSource
public class ColumnValuesDataSource
| Constructor Summary | |
|---|---|
ColumnValuesDataSource(String[] fieldNames,
int size,
ColumnValues[] values)
|
|
| Method Summary | |
|---|---|
Object |
getFieldValue(JRField field)
Gets the field value for the current position. |
int |
getRecordIndex()
Returns the index of the current record in the data source. |
void |
moveFirst()
Moves back to the first element in the data source. |
boolean |
next()
Tries to position the cursor on the next element in the data source. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ColumnValuesDataSource(String[] fieldNames,
int size,
ColumnValues[] values)
| Method Detail |
|---|
public boolean next()
throws JRException
JRDataSource
next in interface JRDataSourceJRException - if any error occurs while trying to move to the next element
public Object getFieldValue(JRField field)
throws DataSnapshotException
JRDataSource
getFieldValue in interface JRDataSourceDataSnapshotExceptionpublic void moveFirst()
JRRewindableDataSource
moveFirst in interface JRRewindableDataSourcepublic int getRecordIndex()
IndexedDataSource
getRecordIndex in interface IndexedDataSource
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||