Class AbstractTaskDraw
- java.lang.Object
-
- net.sourceforge.plantuml.project.draw.AbstractTaskDraw
-
- Direct Known Subclasses:
TaskDrawDiamond
,TaskDrawRegular
public abstract class AbstractTaskDraw extends Object implements TaskDraw
-
-
Constructor Summary
Constructors Constructor Description AbstractTaskDraw(TimeScale timeScale, Real y, String prettyDisplay, Day start, ISkinParam skinParam, Task task, ToTaskDraw toTaskDraw, StyleBuilder styleBuilder, HColorSet colorSet)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method 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)
String
toString()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface net.sourceforge.plantuml.project.draw.TaskDraw
drawTitle, getFingerPrint, getFingerPrintNote, getHeightMax, getX1, getX2
-
-
-
-
Constructor Detail
-
AbstractTaskDraw
public AbstractTaskDraw(TimeScale timeScale, Real y, String prettyDisplay, Day start, ISkinParam skinParam, Task task, ToTaskDraw toTaskDraw, StyleBuilder styleBuilder, HColorSet colorSet)
-
-
Method Detail
-
setColorsAndCompletion
public final void setColorsAndCompletion(CenterBorderColor colors, int completion, Url url, Display note)
- Specified by:
setColorsAndCompletion
in interfaceTaskDraw
-
getLineColor
protected final HColor getLineColor()
-
getBackgroundColor
protected final HColor getBackgroundColor()
-
getFontConfiguration
protected final FontConfiguration getFontConfiguration()
-
getStyle
protected final Style getStyle()
-
getTitleWidth
public final double getTitleWidth(StringBounder stringBounder)
- Specified by:
getTitleWidth
in interfaceTaskDraw
-
getTitle
protected abstract TextBlock getTitle()
-
getShapeHeight
protected abstract double getShapeHeight(StringBounder stringBounder)
-
getFullHeightTask
public final double getFullHeightTask(StringBounder stringBounder)
- Specified by:
getFullHeightTask
in interfaceTaskDraw
-
getTrueRow
public TaskDraw getTrueRow()
- Specified by:
getTrueRow
in interfaceTaskDraw
-
getY
public final Real getY(StringBounder stringBounder)
-
getY
public final double getY(StringBounder stringBounder, Direction direction)
-
getStyleBuilder
protected final StyleBuilder getStyleBuilder()
-
getColorSet
protected final HColorSet getColorSet()
-
getColors
protected CenterBorderColor getColors()
-
getCompletion
protected int getCompletion()
-
-