|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jrefinery.report.filter.templates.AbstractTemplate
com.jrefinery.report.ext.barcode.filter.templates.BarcodeFieldTemplate
Constructor Summary | |
BarcodeFieldTemplate()
|
Method Summary | |
java.lang.Object |
clone()
Clones this DataSource . |
void |
connectDataRow(com.jrefinery.report.DataRow row)
Connects the DataRow to the data source. |
protected abstract Barcode |
createBarcode()
|
void |
disconnectDataRow(com.jrefinery.report.DataRow row)
Releases the connection to the data row. |
protected BarcodeFilter |
getBarcodeFilter()
|
java.awt.Color |
getBarColor()
|
float |
getBarHeight()
|
float |
getBaseline()
|
java.lang.String |
getField()
|
com.jrefinery.report.targets.FontDefinition |
getFont()
|
float |
getMinWidth()
|
com.jrefinery.report.ElementAlignment |
getTextAlignment()
|
java.awt.Color |
getTextColor()
|
java.lang.Object |
getValue()
Returns the current value for the data source. |
boolean |
isDisplayChecksumInText()
|
boolean |
isGenerateChecksum()
|
void |
setBarColor(java.awt.Color barColor)
|
void |
setBarHeight(float barHeight)
|
void |
setBaseline(float baseline)
|
void |
setDisplayChecksumInText(boolean displayChecksumInText)
|
void |
setField(java.lang.String field)
|
void |
setFont(com.jrefinery.report.targets.FontDefinition font)
|
void |
setGenerateChecksum(boolean generateChecksum)
|
void |
setMinWidth(float minWidth)
|
void |
setTextAlignment(com.jrefinery.report.ElementAlignment textAlignment)
|
void |
setTextColor(java.awt.Color textColor)
|
Methods inherited from class com.jrefinery.report.filter.templates.AbstractTemplate |
getInstance, getName, setName |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public BarcodeFieldTemplate()
Method Detail |
protected abstract Barcode createBarcode()
protected BarcodeFilter getBarcodeFilter()
public java.awt.Color getTextColor()
public void setTextColor(java.awt.Color textColor)
public java.awt.Color getBarColor()
public void setBarColor(java.awt.Color barColor)
public java.lang.String getField()
public void setField(java.lang.String field)
public float getMinWidth()
public void setMinWidth(float minWidth)
public com.jrefinery.report.targets.FontDefinition getFont()
public void setFont(com.jrefinery.report.targets.FontDefinition font)
public float getBaseline()
public void setBaseline(float baseline)
public float getBarHeight()
public void setBarHeight(float barHeight)
public com.jrefinery.report.ElementAlignment getTextAlignment()
public void setTextAlignment(com.jrefinery.report.ElementAlignment textAlignment)
public boolean isGenerateChecksum()
public void setGenerateChecksum(boolean generateChecksum)
public boolean isDisplayChecksumInText()
public void setDisplayChecksumInText(boolean displayChecksumInText)
public java.lang.Object getValue()
getValue
in interface com.jrefinery.report.filter.DataSource
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
DataSource
.
clone
in interface com.jrefinery.report.filter.DataSource
java.lang.CloneNotSupportedException
- this should never happen.public void connectDataRow(com.jrefinery.report.DataRow row) throws java.lang.IllegalStateException
connectDataRow
in interface com.jrefinery.report.filter.DataRowConnectable
row
- the data row.
java.lang.IllegalStateException
- if there is already a data row connected.public void disconnectDataRow(com.jrefinery.report.DataRow row) throws java.lang.IllegalStateException
If no data row is connected, an IllegalStateException
is thrown to indicate the
programming error.
disconnectDataRow
in interface com.jrefinery.report.filter.DataRowConnectable
row
- the data row.
java.lang.IllegalStateException
- if there is already a data row connected.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |