| 
 | DynamicPDF by ceTe Software | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.cete.dynamicpdf.PageElement
com.cete.dynamicpdf.pageelements.TaggablePageElement
com.cete.dynamicpdf.pageelements.RotatingPageElement
com.cete.dynamicpdf.pageelements.barcoding.BarCode
com.cete.dynamicpdf.pageelements.barcoding.TextBarCode
public abstract class TextBarCode
Class provides base class from which bar code page elements that display text are derived.
 Licensing:
This class is a DynamicPDF Generator Enterprise Edition
 feature. One of the following licenses is required for non-evaluation usage:
 
| Constructor Summary | |
|---|---|
| protected  | TextBarCode(java.lang.String value,
            float x,
            float y,
            float height,
            float xDimension)Creates a new instance of TextBarCode. | 
| protected  | TextBarCode(java.lang.String value,
            float x,
            float y,
            float height,
            float xDimension,
            boolean showText)Creates a new instance of TextBarCode. | 
| protected  | TextBarCode(java.lang.String value,
            float x,
            float y,
            float height,
            float xDimension,
            boolean showText,
            Font font,
            float fontSize)Creates a new instance of TextBarCode. | 
| Method Summary | |
|---|---|
|  Font | getFont()Gets the font to use when displaying the text. | 
|  float | getFontSize()Gets the font size to use when displaying the text. | 
|  boolean | getShowText()Gets a value indicating if the value should be placed as text below the barcode. | 
|  Align | getTextAlign()Gets the alignment of the text. | 
|  Color | getTextColor()Gets the color of the text. | 
|  void | setFont(Font value)Sets the font to use when displaying the text. | 
|  void | setFontSize(float value)Sets the font size to use when displaying the text. | 
|  void | setShowText(boolean value)Sets a value indicating if the value should be placed as text below the barcode. | 
|  void | setTextAlign(Align value)Sets the alignment of the text. | 
|  void | setTextColor(Color value)Sets the color of the text. | 
| Methods inherited from class com.cete.dynamicpdf.pageelements.barcoding.BarCode | 
|---|
| drawBarCode, drawRotated, getColor, getPixelsPerXDimension, getSymbolWidth, getValue, getXDimension, getXDimensionMilliMeters, getXDimensionMils, getXDimensionsPerCentiMeter, getXDimensionsPerInch, setColor, setPixelsPerXDimension, setValue, setXDimension, setXDimensionMilliMeters, setXDimensionMils, setXDimensionsPerCentiMeter, setXDimensionsPerInch | 
| Methods inherited from class com.cete.dynamicpdf.pageelements.RotatingPageElement | 
|---|
| draw, getAngle, getHeight, getX, getY, setAngle, setHeight, setX, setY | 
| Methods inherited from class com.cete.dynamicpdf.pageelements.TaggablePageElement | 
|---|
| getTag, getTagOrder, setTag, setTagOrder | 
| Methods inherited from class com.cete.dynamicpdf.PageElement | 
|---|
| getIgnoreMargins, getRelativeTo, getStrID, setIgnoreMargins, setRelativeTo, setRequiredLicenseLevel, setStrID | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Methods inherited from interface com.cete.dynamicpdf.pageelements.ICoordinate | 
|---|
| getX, getY, setX, setY | 
| Constructor Detail | 
|---|
protected TextBarCode(java.lang.String value,
                      float x,
                      float y,
                      float height,
                      float xDimension)
TextBarCode.
value - The value of the barcode.x - The X coordinate of the barcode.y - The Y coordinate of the barcode.height - The height of the barcode.xDimension - The XDimension of the barcode.
protected TextBarCode(java.lang.String value,
                      float x,
                      float y,
                      float height,
                      float xDimension,
                      boolean showText)
TextBarCode.
value - The value of the barcode.x - The X coordinate of the barcode.y - The Y coordinate of the barcode.height - The height of the barcode.xDimension - The XDimension of the barcode.showText - true, to display value of barcode as text. Otherwise,
 display barcode only.
protected TextBarCode(java.lang.String value,
                      float x,
                      float y,
                      float height,
                      float xDimension,
                      boolean showText,
                      Font font,
                      float fontSize)
TextBarCode.
value - The value of the barcode.x - The X coordinate of the barcode.y - The Y coordinate of the barcode.height - The height of the barcode.xDimension - The XDimension of the barcode.showText - true, to display value of barcode as text. Otherwise,
 display barcode only.font - The Font to use when displaying text.fontSize - The font size to use when displaying text.| Method Detail | 
|---|
public boolean getShowText()
public void setShowText(boolean value)
value - the text visible status.public Color getTextColor()
public void setTextColor(Color value)
value - the color of the text.public Font getFont()
public void setFont(Font value)
value - the font of the text.public float getFontSize()
public void setFontSize(float value)
value - the font size of the text.public Align getTextAlign()
public void setTextAlign(Align value)
value - the alignment of the text.| 
 | DynamicPDF by ceTe Software | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||