|
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.barcoding.StackedGS1DataBar
public class StackedGS1DataBar
This class can be used to place a StackedGS1DataBar barcode on a page.
Licensing:
This class is a DynamicPDF Generator Enterprise Edition
feature. One of the following licenses is required for non-evaluation usage:
Constructor Summary | |
---|---|
StackedGS1DataBar(java.lang.String value,
float x,
float y,
float rowHeight,
StackedGS1DataBarType gs1type)
Creates a new instance of StackedGS1DataBar . |
|
StackedGS1DataBar(java.lang.String value,
float x,
float y,
float rowHeight,
StackedGS1DataBarType gs1type,
boolean showText)
Creates a new instance of StackedGS1DataBar . |
|
StackedGS1DataBar(java.lang.String value,
float x,
float y,
float rowHeight,
StackedGS1DataBarType gs1type,
float xDimension)
Creates a new instance of StackedGS1DataBar . |
|
StackedGS1DataBar(java.lang.String value,
float x,
float y,
float rowHeight,
StackedGS1DataBarType gs1type,
float xDimension,
boolean showText)
Creates a new instance of StackedGS1DataBar . |
|
StackedGS1DataBar(java.lang.String value,
float x,
float y,
float rowHeight,
StackedGS1DataBarType gs1type,
float xDimension,
Font font,
float fontSize)
Creates a new instance of StackedGS1DataBar . |
|
StackedGS1DataBar(java.lang.String value,
float x,
float y,
float rowHeight,
StackedGS1DataBarType gs1type,
Font font,
float fontSize)
Creates a new instance of StackedGS1DataBar . |
Method Summary | |
---|---|
void |
draw(PageWriter writer)
Draws the StackedGS1DataBar barcode to the given PageWriter object. |
float |
getAngle()
Gets the angle of the barcode. |
Color |
getColor()
Gets the color for the barcode. |
int |
getExpandedStackedSegmentCount()
Gets the segment count of the Expanded Stacked barcode. |
Font |
getFont()
Gets the font to use when displaying the text. |
float |
getFontSize()
Gets the font size to use when displaying the text. |
int |
getPixelsPerXDimension()
Gets the number of Pixels to write per xDimension. |
int |
getRowCount()
Gets the row count. |
float |
getRowHeight()
Gets the row height of the Barcode. |
boolean |
getShowText()
Gets a boolean indicating whether the text to be displayed. |
float |
getSymbolHeight()
Returns the height required to display the full barcode. |
float |
getSymbolWidth()
Returns the width required to display the full bar code. |
Align |
getTextAlign()
Gets the alignment to use when displaying the text. |
Color |
getTextColor()
Gets the color of the text. |
float |
getX()
Gets the X coordinate of the barcode. |
float |
getXDimension()
Gets the xDimension of the barcode. |
float |
getY()
Gets the Y coordinate of the barcode. |
void |
setAngle(float value)
Sets the angle of the barcode. |
void |
setColor(Color value)
Sets the color for the barcode. |
void |
setExpandedStackedSegmentCount(int value)
Sets the segment count of the Expanded Stacked barcode. |
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 |
setPixelsPerXDimension(int value)
Sets the number of Pixels to write per xDimension. |
void |
setRowHeight(float value)
Sets the row height of the Barcode. |
void |
setShowText(boolean value)
Sets a boolean indicating whether the text to be displayed. |
void |
setTextAlign(Align value)
Sets the alignment to use when displaying the text. |
void |
setTextColor(Color value)
Sets the color of the text. |
void |
setX(float value)
Sets the X coordinate of the barcode. |
void |
setXDimension(float value)
Sets the xDimension of the barcode. |
void |
setY(float value)
Sets the Y coordinate of the barcode. |
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 |
Constructor Detail |
---|
public StackedGS1DataBar(java.lang.String value, float x, float y, float rowHeight, StackedGS1DataBarType gs1type)
StackedGS1DataBar
.
value
- The value of the barcode.x
- The X coordinate of the barcode.y
- The Y coordinate of the barcode.rowHeight
- The height of the barcode.gs1type
- The GS1DataBarType of the barcode.public StackedGS1DataBar(java.lang.String value, float x, float y, float rowHeight, StackedGS1DataBarType gs1type, boolean showText)
StackedGS1DataBar
.
value
- The value of the barcode.x
- The X coordinate of the barcode.y
- The Y coordinate of the barcode.rowHeight
- The height of the barcode.gs1type
- The GS1DataBarType of the barcode.showText
- true to display value of barcode as text.
Otherwise, display barcode only.public StackedGS1DataBar(java.lang.String value, float x, float y, float rowHeight, StackedGS1DataBarType gs1type, Font font, float fontSize)
StackedGS1DataBar
.
value
- The value of the barcode.x
- The X coordinate of the barcode.y
- The Y coordinate of the barcode.rowHeight
- The height of the barcode.gs1type
- The GS1DataBarType of the barcode.font
- The font to use when displaying text.fontSize
- The font size to use when displaying text.public StackedGS1DataBar(java.lang.String value, float x, float y, float rowHeight, StackedGS1DataBarType gs1type, float xDimension)
StackedGS1DataBar
.
value
- The value of the barcode.x
- The X coordinate of the barcode.y
- The Y coordinate of the barcode.rowHeight
- The height of the barcode.gs1type
- The GS1DataBarType of the barcode.xDimension
- The XDimension of the barcode.public StackedGS1DataBar(java.lang.String value, float x, float y, float rowHeight, StackedGS1DataBarType gs1type, float xDimension, boolean showText)
StackedGS1DataBar
.
value
- The value of the barcode.x
- The X coordinate of the barcode.y
- The Y coordinate of the barcode.rowHeight
- The height of the barcode.gs1type
- The GS1DataBarType of the barcode.xDimension
- The XDimension of the barcode.showText
- true to display value of barcode as text.
Otherwise, display barcode only.public StackedGS1DataBar(java.lang.String value, float x, float y, float rowHeight, StackedGS1DataBarType gs1type, float xDimension, Font font, float fontSize)
StackedGS1DataBar
.
value
- The value of the barcode.x
- The X coordinate of the barcode.y
- The Y coordinate of the barcode.rowHeight
- The height of the barcode.gs1type
- The GS1DataBarType of the barcode.xDimension
- The XDimension of the barcode.font
- The font to use when displaying text.fontSize
- The font size to use when displaying text.Method Detail |
---|
public int getPixelsPerXDimension()
public void setPixelsPerXDimension(int value)
value
- the number of Pixels to write per xDimension.public float getX()
getX
in interface ICoordinate
public void setX(float value)
setX
in interface ICoordinate
value
- the X coordinate of the barcode.public float getY()
getY
in interface ICoordinate
public void setY(float value)
setY
in interface ICoordinate
value
- the Y coordinate of the barcode.public float getAngle()
public void setAngle(float value)
value
- the angle of the barcode.public float getXDimension()
public void setXDimension(float value)
value
- the xDimension of the barcode.public int getExpandedStackedSegmentCount()
public void setExpandedStackedSegmentCount(int value)
value
- the segment count of the Expanded Stacked barcode.public int getRowCount()
public float getRowHeight()
public void setRowHeight(float value)
value
- the row height of the Barcode.public boolean getShowText()
public void setShowText(boolean value)
value
- a boolean indicating whether the text to be displayed.public Color getTextColor()
public void setTextColor(Color value)
value
- the color of the text.public Color getColor()
public void setColor(Color value)
value
- the color for the barcode.public Font getFont()
public void setFont(Font value)
value
- the font to use when displaying the text.public Align getTextAlign()
public void setTextAlign(Align value)
value
- the alignment to use when displaying the text.public float getFontSize()
public void setFontSize(float value)
value
- the font size to use when displaying the text.public float getSymbolWidth()
public float getSymbolHeight()
public void draw(PageWriter writer)
PageWriter
object.
draw
in class TaggablePageElement
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 |