Package overit.geocall.basic.ui.report
Class PdfImageBox
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.PdfImageBox
- All Implemented Interfaces:
Serializable,overit.geocall.marks.MethodExposer,overit.geocall.marks.NameExposer,Identified
This class extends
PdfBox and implements the management of an image box inside a pdf report.- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Imageprotected com.lowagie.text.Imageprotected static HashMapprotected floatprotected floatprotected Stringprotected 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 image insede the box.protected static com.lowagie.text.Imagecom.lowagie.text.ImagegetIMAGE()Gets theImageto draw.protected voidvoidsetFILEIMAGE(String res) Sets the image file with fi type.voidsetFILEWMF(String res) Sets the image file with rw type.voidSets the box's height.voidSets the awtjava.awt.imagetype.voidSets the image file with ri type.voidSets the box's width.voidSets the image file with fw type.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
-
_res
-
_type
-
_requestedH
protected float _requestedH -
_requestedW
protected float _requestedW -
_image
protected com.lowagie.text.Image _image -
_awtImage
-
_imageCache
-
-
Constructor Details
-
PdfImageBox
public PdfImageBox()
-
-
Method Details
-
getImage
-
setW
Description copied from class:PdfBoxSets the box's width. -
setH
Description copied from class:PdfBoxSets the box's height. -
loadImage
protected void loadImage() -
drawInsideFront
Draw the image insede the box.- Overrides:
drawInsideFrontin classPdfBox- Parameters:
r- The report where draw the image box.x- 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.
-
setWMF
Sets the image file with fw type.- Parameters:
res- The resource image to set.
-
setFILEWMF
Sets the image file with rw type.- Parameters:
res- The resource image to set.
-
setIMAGE
Sets the image file with ri type.- Parameters:
res- The resource image to set.
-
setFILEIMAGE
Sets the image file with fi type.- Parameters:
res- The resource image to set.
-
getIMAGE
public com.lowagie.text.Image getIMAGE()Gets theImageto draw.- Returns:
- The
Imageto draw.
-
setImage
Sets the awtjava.awt.imagetype.- Parameters:
name- The image's name.image- The image to set.
-