public class JRTableModelDataSource extends java.lang.Object implements JRRewindableDataSource
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
EXCEPTION_MESSAGE_KEY_UNKNOWN_COLUMN_NAME |
| Constructor and Description |
|---|
JRTableModelDataSource(javax.swing.table.TableModel model) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.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 java.lang.String EXCEPTION_MESSAGE_KEY_UNKNOWN_COLUMN_NAME
public JRTableModelDataSource(javax.swing.table.TableModel model)
public boolean next()
JRDataSourcenext in interface JRDataSourcepublic java.lang.Object getFieldValue(JRField jrField) throws JRException
JRDataSourcegetFieldValue in interface JRDataSourceJRExceptionpublic void moveFirst()
JRRewindableDataSourcemoveFirst in interface JRRewindableDataSource© 2001-2014 TIBCO Software Inc. www.jaspersoft.com