public abstract class AbstractTaskDraw extends java.lang.Object implements TaskDraw
Modifier and Type | Field and Description |
---|---|
protected Display |
note |
protected java.lang.String |
prettyDisplay |
protected Day |
start |
protected TimeScale |
timeScale |
protected Url |
url |
Constructor and Description |
---|
AbstractTaskDraw(TimeScale timeScale,
Real y,
java.lang.String prettyDisplay,
Day start,
Task task,
ToTaskDraw toTaskDraw,
StyleBuilder styleBuilder) |
Modifier and Type | Method and Description |
---|---|
protected HColor |
getBackgroundColor() |
protected CenterBorderColor |
getColors() |
protected HColorSet |
getColorSet() |
protected int |
getCompletion() |
protected FontConfiguration |
getFontConfiguration() |
double |
getFullHeightTask(StringBounder stringBounder) |
protected HColor |
getLineColor() |
protected abstract double |
getShapeHeight(StringBounder stringBounder) |
protected Style |
getStyle() |
protected StyleBuilder |
getStyleBuilder() |
Task |
getTask() |
protected abstract TextBlock |
getTitle() |
double |
getTitleWidth(StringBounder stringBounder) |
TaskDraw |
getTrueRow() |
Real |
getY(StringBounder stringBounder) |
double |
getY(StringBounder stringBounder,
Direction direction) |
void |
setColorsAndCompletion(CenterBorderColor colors,
int completion,
Url url,
Display note) |
java.lang.String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
drawTitle, getFingerPrint, getFingerPrintNote, getHeightMax, getX1, getX2
protected Url url
protected Display note
protected final TimeScale timeScale
protected final java.lang.String prettyDisplay
protected final Day start
public AbstractTaskDraw(TimeScale timeScale, Real y, java.lang.String prettyDisplay, Day start, Task task, ToTaskDraw toTaskDraw, StyleBuilder styleBuilder)
public final java.lang.String toString()
toString
in class java.lang.Object
public final void setColorsAndCompletion(CenterBorderColor colors, int completion, Url url, Display note)
setColorsAndCompletion
in interface TaskDraw
protected final HColor getLineColor()
protected final HColor getBackgroundColor()
protected final FontConfiguration getFontConfiguration()
protected final Style getStyle()
public final double getTitleWidth(StringBounder stringBounder)
getTitleWidth
in interface TaskDraw
protected abstract TextBlock getTitle()
protected abstract double getShapeHeight(StringBounder stringBounder)
public final double getFullHeightTask(StringBounder stringBounder)
getFullHeightTask
in interface TaskDraw
public final TaskDraw getTrueRow()
getTrueRow
in interface TaskDraw
public final Real getY(StringBounder stringBounder)
public final double getY(StringBounder stringBounder, Direction direction)
protected final StyleBuilder getStyleBuilder()
protected final HColorSet getColorSet()
protected CenterBorderColor getColors()
protected int getCompletion()