|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.jasperreports.engine.JREmptyDataSource
public class JREmptyDataSource
A simple data source implementation that simulates a data source with a given number of virtual records inside. It is called empty data source because even though it has one or more records inside, all the report fields are null for all the virtual records of the data source.
Constructor Summary | |
---|---|
JREmptyDataSource()
|
|
JREmptyDataSource(int count)
|
Method Summary | |
---|---|
java.lang.Object |
getFieldValue(JRField field)
Gets the field value for the current position. |
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 JREmptyDataSource()
public JREmptyDataSource(int count)
Method Detail |
---|
public boolean next()
JRDataSource
next
in interface JRDataSource
public java.lang.Object getFieldValue(JRField field)
JRDataSource
getFieldValue
in interface JRDataSource
public void moveFirst()
JRRewindableDataSource
moveFirst
in interface JRRewindableDataSource
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |