org.jfree.report.filter
Class AnchorFilter

java.lang.Object
  |
  +--org.jfree.report.filter.AnchorFilter

public class AnchorFilter
extends java.lang.Object
implements DataFilter

The AnchorFilter converts arbitary objects into Anchors.

Author:
Thomas Morgner
See Also:
Anchor, Serialized Form

Constructor Summary
AnchorFilter()
          DefaultConstructor.
 
Method Summary
 java.lang.Object clone()
          Clones this DataSource.
 DataSource getDataSource()
          Returns the assigned DataSource for this Target.
 java.lang.Object getValue()
          Returns the current value for the data source.
 void setDataSource(DataSource ds)
          Assigns a DataSource for this Target.
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AnchorFilter

public AnchorFilter()
DefaultConstructor.
Method Detail

clone

public java.lang.Object clone()
                       throws java.lang.CloneNotSupportedException
Clones this DataSource.
Overrides:
clone in class java.lang.Object
Returns:
the clone.
Throws:
java.lang.CloneNotSupportedException - this should never happen.

getValue

public java.lang.Object getValue()
Returns the current value for the data source.
Returns:
the value.

getDataSource

public DataSource getDataSource()
Returns the assigned DataSource for this Target.
Returns:
The datasource.

setDataSource

public void setDataSource(DataSource ds)
Assigns a DataSource for this Target.
Parameters:
ds - The data source.