Class AbstractTaskDraw
- java.lang.Object
-
- net.sourceforge.plantuml.project.draw.AbstractTaskDraw
-
- Direct Known Subclasses:
TaskDrawDiamond,TaskDrawRegular
public abstract class AbstractTaskDraw extends java.lang.Object implements TaskDraw
-
-
Field Summary
Fields Modifier and Type Field Description protected CenterBorderColorcolorsprotected intcompletionprotected doublemarginprotected Displaynoteprotected java.lang.StringprettyDisplayprotected ISkinParamskinParamprotected Daystartprotected TimeScaletimeScaleprotected Urlurl
-
Constructor Summary
Constructors Constructor Description AbstractTaskDraw(TimeScale timeScale, double y, java.lang.String prettyDisplay, Day start, ISkinParam skinParam, Task task, ToTaskDraw toTaskDraw)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected HColorgetBackgroundColor()protected FontConfigurationgetFontConfiguration()doublegetHeightTask()protected HColorgetLineColor()protected doublegetShapeHeight()protected abstract StylegetStyle()TaskgetTask()TaskDrawgetTrueRow()doublegetY()doublegetY(Direction direction)voidpushMe(double deltaY)voidsetColorsAndCompletion(CenterBorderColor colors, int completion, Url url, Display note)java.lang.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
-
-
-
-
Field Detail
-
colors
protected CenterBorderColor colors
-
completion
protected int completion
-
url
protected Url url
-
note
protected Display note
-
timeScale
protected final TimeScale timeScale
-
prettyDisplay
protected final java.lang.String prettyDisplay
-
start
protected final Day start
-
skinParam
protected final ISkinParam skinParam
-
margin
protected final double margin
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
AbstractTaskDraw
public AbstractTaskDraw(TimeScale timeScale, double y, java.lang.String prettyDisplay, Day start, ISkinParam skinParam, Task task, ToTaskDraw toTaskDraw)
-
-
Method Detail
-
toString
public final java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
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 abstract Style getStyle()
-
getShapeHeight
protected final double getShapeHeight()
-
getHeightTask
public final double getHeightTask()
- Specified by:
getHeightTaskin interfaceTaskDraw
-
getTrueRow
public TaskDraw getTrueRow()
- Specified by:
getTrueRowin interfaceTaskDraw
-
-