Class TimeHeader
- java.lang.Object
-
- net.sourceforge.plantuml.project.draw.TimeHeader
-
- Direct Known Subclasses:
TimeHeaderCalendar
,TimeHeaderSimple
public abstract class TimeHeader extends Object
-
-
Constructor Summary
Constructors Constructor Description TimeHeader(Style timelineStyle, Style closedStyle, Day min, Day max, TimeScale timeScale, HColorSet colorSet, ThemeStyle themeStyle)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected HColor
closedBackgroundColor()
protected HColor
closedFontColor()
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 void
drawVbar(UGraphic ug, double x, double y1, double y2)
protected HColor
getBarColor()
protected FontConfiguration
getFontConfiguration(int size, boolean bold, HColor color)
abstract double
getFullHeaderHeight()
protected TextBlock
getTextBlock(String text, int size, boolean bold, HColor color)
abstract double
getTimeFooterHeight()
abstract double
getTimeHeaderHeight()
TimeScale
getTimeScale()
protected HColor
openFontColor()
protected void
printCentered(UGraphic ug, boolean hideIfTooBig, 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()
-
closedBackgroundColor
protected final HColor closedBackgroundColor()
-
closedFontColor
protected final HColor closedFontColor()
-
openFontColor
protected final HColor openFontColor()
-
getBarColor
protected final HColor getBarColor()
-
getTimeHeaderHeight
public 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)
-
drawVbar
protected final void drawVbar(UGraphic ug, double x, double y1, double y2)
-
getFontConfiguration
protected final FontConfiguration getFontConfiguration(int size, boolean bold, HColor color)
-
getTimeScale
public final TimeScale getTimeScale()
-
getTextBlock
protected final TextBlock getTextBlock(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, boolean hideIfTooBig, double start, double end, TextBlock... texts)
-
drawRectangle
protected final void drawRectangle(UGraphic ug, double height, double x1, double x2)
-
-