Class AbstractCellDrawer<T extends AbstractCell>
java.lang.Object
org.vandeseer.easytable.drawing.cell.AbstractCellDrawer<T>
- All Implemented Interfaces:
Drawer
- Direct Known Subclasses:
ImageCellDrawer,TextCellDrawer,VerticalTextCellDrawer
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract floatprotected floatvoiddrawBackground(DrawingContext drawingContext) voiddrawBorders(DrawingContext drawingContext) abstract voiddrawContent(DrawingContext drawingContext) protected floatprotected floatprotected boolean
-
Field Details
-
cell
-
-
Constructor Details
-
AbstractCellDrawer
public AbstractCellDrawer()
-
-
Method Details
-
withCell
-
drawBackground
- Specified by:
drawBackgroundin interfaceDrawer
-
drawContent
- Specified by:
drawContentin interfaceDrawer
-
drawBorders
- Specified by:
drawBordersin interfaceDrawer
-
rowHeightIsBiggerThanOrEqualToCellHeight
protected boolean rowHeightIsBiggerThanOrEqualToCellHeight() -
getRowSpanAdaption
protected float getRowSpanAdaption() -
calculateOuterHeight
protected float calculateOuterHeight() -
getAdaptionForVerticalAlignment
protected float getAdaptionForVerticalAlignment() -
calculateInnerHeight
protected abstract float calculateInnerHeight()
-