Class TextCellDrawer<T extends AbstractTextCell>
java.lang.Object
org.vandeseer.easytable.drawing.cell.AbstractCellDrawer<AbstractTextCell>
org.vandeseer.easytable.drawing.cell.TextCellDrawer<T>
- All Implemented Interfaces:
Drawer
public class TextCellDrawer<T extends AbstractTextCell>
extends AbstractCellDrawer<AbstractTextCell>
-
Field Summary
Fields inherited from class org.vandeseer.easytable.drawing.cell.AbstractCellDrawer
cell -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncalculateAndGetLines(org.apache.pdfbox.pdmodel.font.PDFont currentFont, int currentFontSize, float maxWidth) protected floatprotected floatvoiddrawContent(DrawingContext drawingContext) protected voiddrawText(DrawingContext drawingContext, PositionedStyledText positionedStyledText) Methods inherited from class org.vandeseer.easytable.drawing.cell.AbstractCellDrawer
calculateOuterHeight, drawBackground, drawBorders, getAdaptionForVerticalAlignment, getRowSpanAdaption, rowHeightIsBiggerThanOrEqualToCellHeight, withCell
-
Constructor Details
-
TextCellDrawer
-
-
Method Details
-
drawContent
- Specified by:
drawContentin interfaceDrawer- Specified by:
drawContentin classAbstractCellDrawer<AbstractTextCell>
-
calculateInnerHeight
protected float calculateInnerHeight()- Specified by:
calculateInnerHeightin classAbstractCellDrawer<AbstractTextCell>
-
calculateCharSpacingFor
-
calculateAndGetLines
-
drawText
protected void drawText(DrawingContext drawingContext, PositionedStyledText positionedStyledText) throws IOException - Throws:
IOException
-