public abstract class AbstractCellDrawer<T extends AbstractCell> extends Object implements Drawer
| Constructor and Description |
|---|
AbstractCellDrawer() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract float |
calculateInnerHeight() |
protected float |
calculateOuterHeight() |
void |
drawBackground(DrawingContext drawingContext) |
void |
drawBorders(DrawingContext drawingContext) |
abstract void |
drawContent(DrawingContext drawingContext) |
protected float |
getAdaptionForVerticalAlignment() |
protected float |
getRowSpanAdaption() |
protected boolean |
rowHeightIsBiggerThanOrEqualToCellHeight() |
AbstractCellDrawer<T> |
withCell(T cell) |
protected T extends AbstractCell cell
public AbstractCellDrawer<T> withCell(T cell)
public void drawBackground(DrawingContext drawingContext)
drawBackground in interface Drawerpublic abstract void drawContent(DrawingContext drawingContext)
drawContent in interface Drawerpublic void drawBorders(DrawingContext drawingContext)
drawBorders in interface Drawerprotected boolean rowHeightIsBiggerThanOrEqualToCellHeight()
protected float getRowSpanAdaption()
protected float calculateOuterHeight()
protected float getAdaptionForVerticalAlignment()
protected abstract float calculateInnerHeight()
Copyright © 2022. All rights reserved.