com.jrefinery.report.ext.barcode.filter
Class BarcodeFilter

java.lang.Object
  extended bycom.jrefinery.report.ext.barcode.filter.BarcodeFilter
All Implemented Interfaces:
java.lang.Cloneable, com.jrefinery.report.filter.DataFilter, com.jrefinery.report.filter.DataSource, com.jrefinery.report.filter.DataTarget, java.io.Serializable

public class BarcodeFilter
extends java.lang.Object
implements com.jrefinery.report.filter.DataFilter

See Also:
Serialized Form

Constructor Summary
BarcodeFilter()
           
 
Method Summary
 java.lang.Object clone()
          Clones this DataSource.
 Barcode getBarcode()
           
 java.awt.Color getBarColor()
           
 com.jrefinery.report.filter.DataSource getDataSource()
          Returns the assigned DataSource for this Target.
 java.awt.Color getTextColor()
           
 java.lang.Object getValue()
          Returns the current value for the data source.
 void setBarcode(Barcode barcode)
           
 void setBarColor(java.awt.Color barColor)
           
 void setDataSource(com.jrefinery.report.filter.DataSource ds)
          Assigns a DataSource for this Target.
 void setTextColor(java.awt.Color textColor)
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BarcodeFilter

public BarcodeFilter()
Method Detail

getBarColor

public java.awt.Color getBarColor()

getTextColor

public java.awt.Color getTextColor()

setBarColor

public void setBarColor(java.awt.Color barColor)

setTextColor

public void setTextColor(java.awt.Color textColor)

getBarcode

public Barcode getBarcode()

setBarcode

public void setBarcode(Barcode barcode)

getValue

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

Specified by:
getValue in interface com.jrefinery.report.filter.DataSource
Returns:
the value.

clone

public java.lang.Object clone()
                       throws java.lang.CloneNotSupportedException
Clones this DataSource.

Specified by:
clone in interface com.jrefinery.report.filter.DataSource
Returns:
the clone.
Throws:
java.lang.CloneNotSupportedException - this should never happen.

getDataSource

public com.jrefinery.report.filter.DataSource getDataSource()
Returns the assigned DataSource for this Target.

Specified by:
getDataSource in interface com.jrefinery.report.filter.DataTarget
Returns:
The datasource.

setDataSource

public void setDataSource(com.jrefinery.report.filter.DataSource ds)
Assigns a DataSource for this Target.

Specified by:
setDataSource in interface com.jrefinery.report.filter.DataTarget
Parameters:
ds - The data source.