|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.jrefinery.report.filter.ImageRefFilter
A filter that converts an Image to an ImageReference. The DataSource is expected to contain an java.awt.Image, the image is then wrapped into an ImageReference and this ImageReference is returned to the caller.
| Constructor Summary | |
ImageRefFilter()
Default constructor. |
|
| Method Summary | |
java.lang.Object |
clone()
Clones the filter. |
DataSource |
getDataSource()
Returns the data source for the filter. |
java.lang.Class |
getDataType()
Returns the data type for the filter. |
java.lang.Object |
getValue()
Returns the current value for the data source. |
void |
setDataSource(DataSource dataSource)
Sets the data source for the filter. |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ImageRefFilter()
| Method Detail |
public DataSource getDataSource()
getDataSource in interface DataTargetpublic void setDataSource(DataSource dataSource)
setDataSource in interface DataTargetdataSource - The data source.public java.lang.Object getValue()
The returned object, unless it is null, will be an instance of ImageReference.
getValue in interface DataSourcepublic java.lang.Class getDataType()
The type is ImageReference.
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
clone in interface DataSourcejava.lang.CloneNotSupportedException - this should never happen.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||