Package overit.geocall.basic.ui.report
Class PdfBarcodeBox
java.lang.Object
overit.geocall.platform.ui.UINode
overit.geocall.basic.ui.report.PdfComponent
overit.geocall.basic.ui.report.PdfBox
overit.geocall.basic.ui.report.PdfBarcodeBox
- All Implemented Interfaces:
Serializable,overit.geocall.marks.MethodExposer,overit.geocall.marks.NameExposer,Identified
This class extends
PdfBox and implements the specific barcode box inside a pdf report.- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected floatprotected Stringprotected Colorprotected floatprotected Stringprotected floatstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final StringFields inherited from class overit.geocall.basic.ui.report.PdfBox
_bc, _bkg, _bs, _bw, _h, _px, _py, _sx, _sy, _w, _xx, _yyFields inherited from class overit.geocall.basic.ui.report.PdfComponent
_identity, _name, _visible -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddrawInsideFront(Report r, float x, float y, float w, float h) Draw the effctive barcode barsvoidSets the height of the bars.voidSets the code.voidSets the font color.voidSets the size of the text.voidSets the box's height.voidSets the code type.voidSets the box's width.voidSets the bar width.Methods inherited from class overit.geocall.basic.ui.report.PdfBox
absX, absY, drawInsideBack, getBC, getBC, getBKG, getBS, getBS, getBW, getBW, getH, getPX, getPY, getSX, getSY, getW, setBC, setBC, setBKG, setBS, setBS, setBW, setBW, setPX, setPX, setPY, setPY, setSX, setSX, setSY, setSYMethods inherited from class overit.geocall.basic.ui.report.PdfComponent
drawInside, getBoolean, getColor, getColor, getfloat, getfloat, getFont, getIdentity, getint, getint, getNAME, getString, setIdentity, setNAME, setV
-
Field Details
-
_code
-
_type
-
_size
protected float _size -
_x
protected float _x -
_barheight
protected float _barheight -
_fc
-
TYPE_128
- See Also:
-
TYPE_128_RAW
- See Also:
-
TYPE_128_UCC
- See Also:
-
TYPE_39
- See Also:
-
TYPE_EAN_8
- See Also:
-
TYPE_EAN_13
- See Also:
-
TYPE_EAN_UPCA
- See Also:
-
TYPE_EAN_UPCE
- See Also:
-
TYPE_POSTNET
- See Also:
-
TYPE_PLANET
- See Also:
-
TYPE_INTER_25
- See Also:
-
-
Constructor Details
-
PdfBarcodeBox
public PdfBarcodeBox()
-
-
Method Details
-
setBH
Sets the height of the bars.- Parameters:
s- The height to set.
-
setX
Sets the bar width.- Parameters:
s- The width to set.
-
setFS
Sets the size of the text.- Parameters:
s- The size to ser.
-
setTYPE
Sets the code type.- Parameters:
type- The code type to set.
-
setCODE
Sets the code.- Parameters:
code- The code to set.
-
setFC
Sets the font color.- Parameters:
s- the font color to set.
-
setW
Description copied from class:PdfBoxSets the box's width. -
setH
Description copied from class:PdfBoxSets the box's height. -
drawInsideFront
Draw the effctive barcode bars- Overrides:
drawInsideFrontin classPdfBox- Parameters:
r- The report where draw barsx- The x coordinate from which start draw.y- The y coordinate from which start draw.w- The width of the box.h- The height of the box.
-