Class TimeHeader
- java.lang.Object
-
- net.sourceforge.plantuml.project.draw.TimeHeader
-
- Direct Known Subclasses:
TimeHeaderDaily
,TimeHeaderMonthly
,TimeHeaderSimple
,TimeHeaderWeekly
public abstract class TimeHeader extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description TimeHeader(Day min, Day max, TimeScale timeScale)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected void
drawHline(UGraphic ug, double y)
protected void
drawRectangle(UGraphic ug, double height, double x1, double x2)
abstract void
drawTimeFooter(UGraphic ug)
abstract void
drawTimeHeader(UGraphic ug, double totalHeightWithoutFooter)
protected FontConfiguration
getFontConfiguration(int size, boolean bold, HColor color)
abstract double
getFullHeaderHeight()
protected TextBlock
getTextBlock(java.lang.String text, int size, boolean bold, HColor color)
abstract double
getTimeFooterHeight()
protected abstract double
getTimeHeaderHeight()
TimeScale
getTimeScale()
protected void
printCentered(UGraphic ug, double start, double end, TextBlock... texts)
protected void
printCentered(UGraphic ug, TextBlock text, double start, double end)
protected double
Y_POS_ROW16()
protected double
Y_POS_ROW28()
-
-
-
Method Detail
-
Y_POS_ROW16
protected final double Y_POS_ROW16()
-
Y_POS_ROW28
protected final double Y_POS_ROW28()
-
getTimeHeaderHeight
protected abstract double getTimeHeaderHeight()
-
getTimeFooterHeight
public abstract double getTimeFooterHeight()
-
drawTimeHeader
public abstract void drawTimeHeader(UGraphic ug, double totalHeightWithoutFooter)
-
drawTimeFooter
public abstract void drawTimeFooter(UGraphic ug)
-
getFullHeaderHeight
public abstract double getFullHeaderHeight()
-
drawHline
protected final void drawHline(UGraphic ug, double y)
-
getFontConfiguration
protected final FontConfiguration getFontConfiguration(int size, boolean bold, HColor color)
-
getTimeScale
public final TimeScale getTimeScale()
-
getTextBlock
protected final TextBlock getTextBlock(java.lang.String text, int size, boolean bold, HColor color)
-
printCentered
protected final void printCentered(UGraphic ug, TextBlock text, double start, double end)
-
printCentered
protected final void printCentered(UGraphic ug, double start, double end, TextBlock... texts)
-
drawRectangle
protected final void drawRectangle(UGraphic ug, double height, double x1, double x2)
-
-