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 HColorclosedBackgroundColor()protected HColorclosedFontColor()protected voiddrawHline(UGraphic ug, double y)protected voiddrawRectangle(UGraphic ug, double height, double x1, double x2)abstract voiddrawTimeFooter(UGraphic ug)abstract voiddrawTimeHeader(UGraphic ug, double totalHeightWithoutFooter)protected voiddrawVbar(UGraphic ug, double x, double y1, double y2)protected HColorgetBarColor()protected FontConfigurationgetFontConfiguration(int size, boolean bold, HColor color)abstract doublegetFullHeaderHeight()protected TextBlockgetTextBlock(String text, int size, boolean bold, HColor color)abstract doublegetTimeFooterHeight()abstract doublegetTimeHeaderHeight()TimeScalegetTimeScale()protected HColoropenFontColor()protected voidprintCentered(UGraphic ug, boolean hideIfTooBig, double start, double end, TextBlock... texts)protected voidprintCentered(UGraphic ug, TextBlock text, double start, double end)protected doubleY_POS_ROW16()protected doubleY_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)
-
-