|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jrefinery.report.filter.DrawableFilter
A filter that converts an Drawable to an DrawableContainer. The DataSource is expected to
contain a com.jrefinery.ui.Drawable
, the image is then wrapped into a Drawable
container and this DrawableContainer is returned to the caller.
Drawable
,
Serialized FormConstructor Summary | |
DrawableFilter()
Default constructor. |
Method Summary | |
java.lang.Object |
clone()
Clones the filter. |
DataSource |
getDataSource()
Returns the data source 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 DrawableFilter()
Method Detail |
public DataSource getDataSource()
getDataSource
in interface DataTarget
public void setDataSource(DataSource dataSource)
setDataSource
in interface DataTarget
dataSource
- The data source.public java.lang.Object getValue()
The returned object, unless it is null, will be an instance of ImageReference.
getValue
in interface DataSource
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
in interface DataSource
java.lang.CloneNotSupportedException
- this should never happen.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |