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 HColorgetBackgroundColor()protected CenterBorderColorgetColors()protected HColorSetgetColorSet()protected intgetCompletion()protected FontConfigurationgetFontConfiguration()doublegetFullHeightTask(StringBounder stringBounder)protected HColorgetLineColor()protected abstract doublegetShapeHeight(StringBounder stringBounder)protected StylegetStyle()protected StyleBuildergetStyleBuilder()TaskgetTask()protected abstract TextBlockgetTitle()doublegetTitleWidth(StringBounder stringBounder)TaskDrawgetTrueRow()RealgetY(StringBounder stringBounder)doublegetY(StringBounder stringBounder, Direction direction)voidsetColorsAndCompletion(CenterBorderColor colors, int completion, Url url, Display note)StringtoString()-
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:
setColorsAndCompletionin 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:
getTitleWidthin interfaceTaskDraw
-
getTitle
protected abstract TextBlock getTitle()
-
getShapeHeight
protected abstract double getShapeHeight(StringBounder stringBounder)
-
getFullHeightTask
public final double getFullHeightTask(StringBounder stringBounder)
- Specified by:
getFullHeightTaskin interfaceTaskDraw
-
getTrueRow
public TaskDraw getTrueRow()
- Specified by:
getTrueRowin 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()
-
-