|
DynamicPDF by ceTe Software | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--com.cete.dynamicpdf.PageElement
|
+--com.cete.dynamicpdf.pageelements.RotatingPageElement
|
+--com.cete.dynamicpdf.pageelements.barcoding.BarCode
Class provides the base class from which bar code page elements 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 |
BarCode(java.lang.String value,
float x,
float y,
float height,
float xDimension)
Creates a new instance of BarCode. |
| Method Summary | |
protected abstract void |
drawBarCode(PageWriter writer)
Draws the barcode to the given PageWriter object. |
protected void |
drawRotated(PageWriter writer)
Draws the rotated page element to the given PageWriter object. |
Color |
getColor()
Gets the Color of the barcode. |
abstract float |
getRequiredWidth()
Deprecated. As of DynamicPDF v4.0.0, Use the BarCode.getSymbolWidth() method instead. |
abstract float |
getSymbolWidth()
Returns the width required to display the full bar code. |
java.lang.String |
getValue()
Gets the value of the barcode. |
float |
getXDimension()
Gets the XDimension of the barcode. |
float |
getXDimensionMilliMeters()
Gets the XDimensionMilliMeters of the barcode. |
float |
getXDimensionMils()
Gets the XDimensionMils of the barcode. |
float |
getXDimensionsPerCentiMeter()
Gets the XDimensionsPerCentiMeter of the barcode. |
float |
getXDimensionsPerInch()
Gets the XDimensionsPerInch of the barcode. |
void |
setColor(Color value)
Sets the Color of the barcode. |
void |
setValue(java.lang.String value)
Sets the value of the barcode. |
void |
setXDimension(float value)
Sets the XDimension of the barcode. |
void |
setXDimensionMilliMeters(float value)
Sets the XDimensionMilliMeters of the barcode. |
void |
setXDimensionMils(float value)
Sets the XDimensionMils of the barcode. |
void |
setXDimensionsPerCentiMeter(float value)
Sets the XDimensionsPerCentiMeter of the barcode. |
void |
setXDimensionsPerInch(float value)
Sets the XDimensionsPerInch of the barcode. |
| 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.PageElement |
getRequiredLicenseLevel, getStrID, 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 BarCode(java.lang.String value,
float x,
float y,
float height,
float xDimension)
BarCode.
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.| Method Detail |
public java.lang.String getValue()
public void setValue(java.lang.String value)
public float getXDimension()
public void setXDimension(float value)
public float getXDimensionsPerInch()
public void setXDimensionsPerInch(float value)
public float getXDimensionsPerCentiMeter()
public void setXDimensionsPerCentiMeter(float value)
public float getXDimensionMils()
public void setXDimensionMils(float value)
public float getXDimensionMilliMeters()
public void setXDimensionMilliMeters(float value)
public Color getColor()
Color of the barcode.
public void setColor(Color value)
Color of the barcode.
public abstract float getSymbolWidth()
public abstract float getRequiredWidth()
BarCode.getSymbolWidth() method instead.
protected abstract void drawBarCode(PageWriter writer)
PageWriter object.
writer - PageWriter object to receive the page element's output.PageWriterprotected void drawRotated(PageWriter writer)
PageWriter object.
drawRotated in class RotatingPageElementwriter - PageWriter object to receive the page element's output.PageWriter
|
DynamicPDF by ceTe Software | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||