public class JRTableModelDataSource extends Object implements JRRewindableDataSource
| Modifier and Type | Field and Description |
|---|---|
static String |
EXCEPTION_MESSAGE_KEY_UNKNOWN_COLUMN_NAME |
| Constructor and Description |
|---|
JRTableModelDataSource(TableModel model) |
| Modifier and Type | Method and Description |
|---|---|
Object |
getFieldValue(JRField jrField)
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.
|
public static final String EXCEPTION_MESSAGE_KEY_UNKNOWN_COLUMN_NAME
public JRTableModelDataSource(TableModel model)
public boolean next()
JRDataSourcenext in interface JRDataSourcepublic Object getFieldValue(JRField jrField) throws JRException
JRDataSourcegetFieldValue in interface JRDataSourceJRExceptionpublic void moveFirst()
JRRewindableDataSourcemoveFirst in interface JRRewindableDataSourceCopyright © 2017. All rights reserved.