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, waitdrawTitle, getFingerPrint, getFingerPrintNote, getHeightMax, getX1, getX2protected 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.Objectpublic final void setColorsAndCompletion(CenterBorderColor colors, int completion, Url url, Display note)
setColorsAndCompletion in interface TaskDrawprotected final HColor getLineColor()
protected final HColor getBackgroundColor()
protected final FontConfiguration getFontConfiguration()
protected final Style getStyle()
public final double getTitleWidth(StringBounder stringBounder)
getTitleWidth in interface TaskDrawprotected abstract TextBlock getTitle()
protected abstract double getShapeHeight(StringBounder stringBounder)
public final double getFullHeightTask(StringBounder stringBounder)
getFullHeightTask in interface TaskDrawpublic final TaskDraw getTrueRow()
getTrueRow in interface TaskDrawpublic 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()