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()
JRDataSource
next
in interface JRDataSource
public Object getFieldValue(JRField jrField) throws JRException
JRDataSource
getFieldValue
in interface JRDataSource
JRException
public void moveFirst()
JRRewindableDataSource
moveFirst
in interface JRRewindableDataSource
Copyright © 2017. All rights reserved.