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 CenterBorderColor
colors
protected int
completion
protected double
margin
protected Display
note
protected java.lang.String
prettyDisplay
protected ISkinParam
skinParam
protected Day
start
protected TimeScale
timeScale
protected Url
url
-
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 HColor
getBackgroundColor()
protected FontConfiguration
getFontConfiguration()
double
getHeightTask()
protected HColor
getLineColor()
protected double
getShapeHeight()
protected abstract Style
getStyle()
Task
getTask()
TaskDraw
getTrueRow()
double
getY()
double
getY(Direction direction)
void
pushMe(double deltaY)
void
setColorsAndCompletion(CenterBorderColor colors, int completion, Url url, Display note)
java.lang.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
-
-
-
-
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:
toString
in classjava.lang.Object
-
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 abstract Style getStyle()
-
getShapeHeight
protected final double getShapeHeight()
-
getHeightTask
public final double getHeightTask()
- Specified by:
getHeightTask
in interfaceTaskDraw
-
getTrueRow
public TaskDraw getTrueRow()
- Specified by:
getTrueRow
in interfaceTaskDraw
-
-