|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.jasperreports.data.cache.ColumnValuesDataSource
public class ColumnValuesDataSource
Constructor Summary | |
---|---|
ColumnValuesDataSource(java.lang.String[] fieldNames,
int size,
ColumnValues[] values)
|
Method Summary | |
---|---|
java.lang.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(java.lang.String[] fieldNames, int size, ColumnValues[] values)
Method Detail |
---|
public boolean next() throws JRException
JRDataSource
next
in interface JRDataSource
JRException
- if any error occurs while trying to move to the next elementpublic java.lang.Object getFieldValue(JRField field) throws DataSnapshotException
JRDataSource
getFieldValue
in interface JRDataSource
DataSnapshotException
public void moveFirst()
JRRewindableDataSource
moveFirst
in interface JRRewindableDataSource
public int getRecordIndex()
IndexedDataSource
getRecordIndex
in interface IndexedDataSource
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |