public abstract class TimeHeader
extends java.lang.Object
Constructor and Description |
---|
TimeHeader(Style timelineStyle,
Style closedStyle,
Day min,
Day max,
TimeScale timeScale,
HColorSet colorSet,
ThemeStyle themeStyle) |
Modifier and Type | Method and 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(java.lang.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() |
protected final double Y_POS_ROW16()
protected final double Y_POS_ROW28()
protected final HColor closedBackgroundColor()
protected final HColor closedFontColor()
protected final HColor openFontColor()
protected final HColor getBarColor()
public abstract double getTimeHeaderHeight()
public abstract double getTimeFooterHeight()
public abstract void drawTimeHeader(UGraphic ug, double totalHeightWithoutFooter)
public abstract void drawTimeFooter(UGraphic ug)
public abstract double getFullHeaderHeight()
protected final void drawHline(UGraphic ug, double y)
protected final void drawVbar(UGraphic ug, double x, double y1, double y2)
protected final FontConfiguration getFontConfiguration(int size, boolean bold, HColor color)
public final TimeScale getTimeScale()
protected final TextBlock getTextBlock(java.lang.String text, int size, boolean bold, HColor color)
protected final void printCentered(UGraphic ug, TextBlock text, double start, double end)
protected final void printCentered(UGraphic ug, boolean hideIfTooBig, double start, double end, TextBlock... texts)
protected final void drawRectangle(UGraphic ug, double height, double x1, double x2)