|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.jrefinery.report.filter.ReportDataSource
A data source that returns the value of a field in the report's TableModel.
The field is identified by the column name.
Constructor Summary | |
ReportDataSource()
Deprecated. Default constructor. |
|
ReportDataSource(java.lang.String field)
Deprecated. Constructs a new report data source. |
Method Summary | |
java.lang.Object |
clone()
Deprecated. Clones the data source. |
void |
connectDataRow(DataRow row)
Deprecated. Connects the DataRowBackend with the named DataSource or DataFilter. |
void |
disconnectDataRow(DataRow row)
Deprecated. Releases the connection to the datarow. |
protected DataRow |
getDataRow()
Deprecated. Returns the data row. |
java.lang.String |
getField()
Deprecated. Returns the field name. |
java.lang.Object |
getValue()
Deprecated. Returns the value of the data source. |
void |
setField(java.lang.String field)
Deprecated. Sets the field name. |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ReportDataSource()
public ReportDataSource(java.lang.String field)
field
- The field name.Method Detail |
public void setField(java.lang.String field)
The field name should correspond to the name of one of the columns in the report's TableModel.
field
- The field name.public java.lang.String getField()
public java.lang.Object getValue()
getValue
in interface DataSource
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
in interface DataSource
clone
in class java.lang.Object
java.lang.CloneNotSupportedException
- this should never happen.public void connectDataRow(DataRow row) throws java.lang.IllegalStateException
connectDataRow
in interface DataRowConnectable
row
- the data row.
java.lang.IllegalStateException
- if there is already a data row connected.public void disconnectDataRow(DataRow row) throws java.lang.IllegalStateException
disconnectDataRow
in interface DataRowConnectable
row
- the data row.
java.lang.IllegalStateException
- if no datarow is connected.protected DataRow getDataRow()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |