Class VerticalTextCellDrawer
java.lang.Object
org.vandeseer.easytable.drawing.cell.AbstractCellDrawer<VerticalTextCell>
org.vandeseer.easytable.drawing.cell.VerticalTextCellDrawer
- All Implemented Interfaces:
Drawer
Allows vertical text drawing. Note that this class is still not fully
developed, e.g. there is no support for text alignment settings yet.
-
Field Summary
Fields inherited from class org.vandeseer.easytable.drawing.cell.AbstractCellDrawer
cell -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected floatvoiddrawContent(DrawingContext drawingContext) Does not yet support the settings of alignments.protected voiddrawText(String text, org.apache.pdfbox.pdmodel.font.PDFont font, int fontSize, Color color, float x, float y, org.apache.pdfbox.pdmodel.PDPageContentStream contentStream) Methods inherited from class org.vandeseer.easytable.drawing.cell.AbstractCellDrawer
calculateOuterHeight, drawBackground, drawBorders, getAdaptionForVerticalAlignment, getRowSpanAdaption, rowHeightIsBiggerThanOrEqualToCellHeight, withCell
-
Constructor Details
-
VerticalTextCellDrawer
-
-
Method Details
-
drawContent
Does not yet support the settings of alignments.- Specified by:
drawContentin interfaceDrawer- Specified by:
drawContentin classAbstractCellDrawer<VerticalTextCell>- Parameters:
drawingContext-
-
calculateInnerHeight
protected float calculateInnerHeight()- Specified by:
calculateInnerHeightin classAbstractCellDrawer<VerticalTextCell>
-
drawText
protected void drawText(String text, org.apache.pdfbox.pdmodel.font.PDFont font, int fontSize, Color color, float x, float y, org.apache.pdfbox.pdmodel.PDPageContentStream contentStream) throws IOException - Throws:
IOException
-