public abstract class TimeHeader
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected TimeHeaderParameters |
thParam |
Constructor and Description |
---|
TimeHeader(TimeHeaderParameters thParam,
TimeScale timeScale) |
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 |
drawVline(UGraphic ug,
double x,
double y1,
double y2) |
protected FontConfiguration |
getFontConfiguration(UFont font,
boolean bold,
HColor color) |
abstract double |
getFullHeaderHeight(StringBounder stringBounder) |
protected HColor |
getLineColor() |
protected Day |
getMax() |
protected Day |
getMin() |
protected TextBlock |
getTextBlock(SName param,
java.lang.String text,
boolean bold,
HColor color) |
abstract double |
getTimeFooterHeight(StringBounder stringBounder) |
abstract double |
getTimeHeaderHeight(StringBounder stringBounder) |
TimeScale |
getTimeScale() |
protected boolean |
isBold2(Day wink) |
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 void |
printVerticalSeparators(UGraphic ug,
double totalHeightWithoutFooter) |
protected final TimeHeaderParameters thParam
public TimeHeader(TimeHeaderParameters thParam, TimeScale timeScale)
protected final boolean isBold2(Day wink)
protected final Day getMin()
protected final Day getMax()
protected final HColor closedBackgroundColor()
protected final HColor closedFontColor()
protected final HColor openFontColor()
protected final HColor getLineColor()
public abstract double getTimeHeaderHeight(StringBounder stringBounder)
public abstract double getTimeFooterHeight(StringBounder stringBounder)
public abstract double getFullHeaderHeight(StringBounder stringBounder)
public abstract void drawTimeHeader(UGraphic ug, double totalHeightWithoutFooter)
public abstract void drawTimeFooter(UGraphic ug)
public final TimeScale getTimeScale()
protected final void drawHline(UGraphic ug, double y)
protected final void drawVline(UGraphic ug, double x, double y1, double y2)
protected final FontConfiguration getFontConfiguration(UFont font, boolean bold, HColor color)
protected final TextBlock getTextBlock(SName param, java.lang.String text, 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)
protected void printVerticalSeparators(UGraphic ug, double totalHeightWithoutFooter)