Class VerticalTextCellDrawer
- java.lang.Object
-
- org.vandeseer.easytable.drawing.cell.AbstractCellDrawer<VerticalTextCell>
-
- org.vandeseer.easytable.drawing.cell.VerticalTextCellDrawer
-
- All Implemented Interfaces:
Drawer
public class VerticalTextCellDrawer extends AbstractCellDrawer<VerticalTextCell>
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 Constructor Description VerticalTextCellDrawer(VerticalTextCell cell)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected floatcalculateInnerHeight()voiddrawContent(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 Detail
-
VerticalTextCellDrawer
public VerticalTextCellDrawer(VerticalTextCell cell)
-
-
Method Detail
-
drawContent
public void drawContent(DrawingContext drawingContext)
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
-
-