Class FieldRenderer
- java.lang.Object
-
- com.netgrif.application.engine.pdf.generator.service.renderer.Renderer
-
- com.netgrif.application.engine.pdf.generator.service.renderer.FieldRenderer
-
- Direct Known Subclasses:
BooleanFieldRenderer,DataGroupFieldRenderer,I18nDividerFieldRenderer,SelectionFieldRenderer,TextFieldRenderer
public abstract class FieldRenderer extends Renderer
-
-
Constructor Summary
Constructors Constructor Description FieldRenderer()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected intgetMaxValueLineSize(int fieldWidth)protected intrenderBottomY(PdfField field)protected intrenderHeight(PdfField field, int linesOnPage)protected intrenderLabel(PdfField field, org.apache.pdfbox.pdmodel.font.PDType0Font font, int fontSize, java.awt.Color colorLabel)protected intrenderLinePosY(PdfField field, int linesOnPage)protected intrenderPageBrake(PdfField field, int linesOnPage, int y)protected intrenderPageBrake(PdfField field, int linesOnPage, int strokeLineCounter, int y)abstract voidrenderValue(PdfField field, int lineCounter)-
Methods inherited from class com.netgrif.application.engine.pdf.generator.service.renderer.Renderer
getMaxLabelLineSize, getTextWidth, isCharEncodable, removeUnsupportedChars, renderLabel, setupRenderer
-
-
-
-
Method Detail
-
renderValue
public abstract void renderValue(PdfField field, int lineCounter) throws java.io.IOException
- Throws:
java.io.IOException
-
renderLabel
protected int renderLabel(PdfField field, org.apache.pdfbox.pdmodel.font.PDType0Font font, int fontSize, java.awt.Color colorLabel) throws java.io.IOException
- Throws:
java.io.IOException
-
renderPageBrake
protected int renderPageBrake(PdfField field, int linesOnPage, int y) throws java.io.IOException
- Throws:
java.io.IOException
-
renderPageBrake
protected int renderPageBrake(PdfField field, int linesOnPage, int strokeLineCounter, int y) throws java.io.IOException
- Throws:
java.io.IOException
-
renderLinePosY
protected int renderLinePosY(PdfField field, int linesOnPage)
-
renderBottomY
protected int renderBottomY(PdfField field)
-
renderHeight
protected int renderHeight(PdfField field, int linesOnPage)
-
getMaxValueLineSize
protected int getMaxValueLineSize(int fieldWidth)
-
-