|
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.TaggablePageElement com.cete.dynamicpdf.pageelements.RotatingPageElement com.cete.dynamicpdf.pageelements.barcoding.BarCode
public abstract class 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. |
int |
getPixelsPerXDimension()
Gets the pixels per XDimension |
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 |
setPixelsPerXDimension(int value)
Sets the pixels per XDimension |
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.pageelements.TaggablePageElement |
---|
getTag, getTagOrder, setTag, setTagOrder |
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 int getPixelsPerXDimension()
public void setPixelsPerXDimension(int value)
value
- the pixels per XDimensionpublic java.lang.String getValue()
public void setValue(java.lang.String value)
value
- Gets the value of the barcode.public float getXDimension()
public void setXDimension(float value)
value
- the XDimension of the barcode.public float getXDimensionsPerInch()
public void setXDimensionsPerInch(float value)
value
- the XDimensionsPerInch of the barcode.public float getXDimensionsPerCentiMeter()
public void setXDimensionsPerCentiMeter(float value)
value
- the XDimensionsPerCentiMeter of the barcode.public float getXDimensionMils()
public void setXDimensionMils(float value)
value
- the XDimensionMils of the barcode.public float getXDimensionMilliMeters()
public void setXDimensionMilliMeters(float value)
value
- the XDimensionMilliMeters of the barcode.public Color getColor()
Color
of the barcode.
public void setColor(Color value)
Color
of the barcode.
value
- the color of the barcode.public abstract float getSymbolWidth()
protected abstract void drawBarCode(PageWriter writer)
PageWriter
object.
writer
- PageWriter object to receive the page element's output.PageWriter
protected void drawRotated(PageWriter writer)
PageWriter
object.
drawRotated
in class RotatingPageElement
writer
- 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 |