public class TaskDrawDiamond extends AbstractTaskDraw
note, prettyDisplay, start, timeScale, url
Constructor and Description |
---|
TaskDrawDiamond(TimeScale timeScale,
Real y,
java.lang.String prettyDisplay,
Day start,
Task task,
ToTaskDraw toTaskDraw,
StyleBuilder styleBuilder) |
Modifier and Type | Method and Description |
---|---|
void |
drawTitle(UGraphic ug,
LabelStrategy labelStrategy,
double colTitles,
double colBars) |
void |
drawU(UGraphic ug) |
FingerPrint |
getFingerPrint(StringBounder stringBounder) |
FingerPrint |
getFingerPrintNote(StringBounder stringBounder) |
double |
getHeightMax(StringBounder stringBounder) |
protected double |
getShapeHeight(StringBounder stringBounder) |
protected TextBlock |
getTitle() |
double |
getX1(TaskAttribute taskAttribute) |
double |
getX2(TaskAttribute taskAttribute) |
getBackgroundColor, getColors, getColorSet, getCompletion, getFontConfiguration, getFullHeightTask, getLineColor, getStyle, getStyleBuilder, getTask, getTitleWidth, getTrueRow, getY, getY, setColorsAndCompletion, toString
public TaskDrawDiamond(TimeScale timeScale, Real y, java.lang.String prettyDisplay, Day start, Task task, ToTaskDraw toTaskDraw, StyleBuilder styleBuilder)
public double getHeightMax(StringBounder stringBounder)
protected double getShapeHeight(StringBounder stringBounder)
getShapeHeight
in class AbstractTaskDraw
public final void drawTitle(UGraphic ug, LabelStrategy labelStrategy, double colTitles, double colBars)
protected TextBlock getTitle()
getTitle
in class AbstractTaskDraw
public void drawU(UGraphic ug)
public FingerPrint getFingerPrintNote(StringBounder stringBounder)
public FingerPrint getFingerPrint(StringBounder stringBounder)
public double getX1(TaskAttribute taskAttribute)
public double getX2(TaskAttribute taskAttribute)