|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcom.aspose.barcode.jr.BarCodeAttributesFactory
public class BarCodeAttributesFactory
A simple factory to produce BarCodeAttributes bean, you can implement your own facotry class if need.
<image hAlign="Center">
<reportElement x="0" y="100" width="500" height="250" />
<imageExpression class="net.sf.jasperreports.engine.JRRenderable">
<![CDATA[new com.aspose.barcode.jr.BarCodeRenderer(com.aspose.barcode.jr.BarCodeAttributesFactory.Create("abcdefg","DataMatrix",java.awt.Color.RED))]]>
</imageExpression>
</image>
| Constructor Summary | |
|---|---|
BarCodeAttributesFactory()
|
|
| Method Summary | |
|---|---|
static BarCodeAttributes |
Create(java.lang.String text,
java.lang.String symbology)
Using the given text and symbology to create a BarCodeAttributes bean |
static BarCodeAttributes |
Create(java.lang.String text,
java.lang.String symbology,
java.awt.Color foreColor)
Using the given text,symbology and color to create a BarCodeAttributes bean |
static BarCodeAttributes |
CreateCode128(java.lang.String text,
int codeSet)
Using the given text and codeset to create a BarCodeAttributes bean for rendering Code128 barcode |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BarCodeAttributesFactory()
| Method Detail |
|---|
public static BarCodeAttributes Create(java.lang.String text,
java.lang.String symbology)
text - the CodeTextsymbology - The Symbology
public static BarCodeAttributes Create(java.lang.String text,
java.lang.String symbology,
java.awt.Color foreColor)
text - the CodeTextsymbology - The SymbologyforeColor - the forecolor of the barcode image
public static BarCodeAttributes CreateCode128(java.lang.String text,
int codeSet)
text - the CodeTextcodeSet - int value represents Code128Codeset
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||