Class AbstractTaskDraw
- java.lang.Object
-
- net.sourceforge.plantuml.project.draw.AbstractTaskDraw
-
- Direct Known Subclasses:
TaskDrawDiamond,TaskDrawGroup,TaskDrawRegular
public abstract class AbstractTaskDraw extends java.lang.Object implements TaskDraw
-
-
Field Summary
Fields Modifier and Type Field Description protected Displaynoteprotected StereotypenoteStereotypeprotected java.lang.StringprettyDisplayprotected Daystartprotected TimeScaletimeScaleprotected Urlurl
-
Constructor Summary
Constructors Constructor Description AbstractTaskDraw(TimeScale timeScale, Real y, java.lang.String prettyDisplay, Day start, Task task, ToTaskDraw toTaskDraw, StyleBuilder styleBuilder)
-
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 PragmagetPragma()protected abstract doublegetShapeHeight(StringBounder stringBounder)protected StylegetStyle()protected StyleBuildergetStyleBuilder()TaskgetTask()protected abstract TextBlockgetTitle()doublegetTitleWidth(StringBounder stringBounder)TaskDrawgetTrueRow()RealgetY(StringBounder stringBounder)doublegetY(StringBounder stringBounder, GSide side)voidsetColorsAndCompletion(CenterBorderColor colors, int completion, Url url, Display note, Stereotype noteStereotype)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, getX
-
-
-
-
Field Detail
-
url
protected Url url
-
note
protected Display note
-
noteStereotype
protected Stereotype noteStereotype
-
timeScale
protected final TimeScale timeScale
-
prettyDisplay
protected final java.lang.String prettyDisplay
-
start
protected final Day start
-
-
Constructor Detail
-
AbstractTaskDraw
public AbstractTaskDraw(TimeScale timeScale, Real y, java.lang.String prettyDisplay, Day start, Task task, ToTaskDraw toTaskDraw, StyleBuilder styleBuilder)
-
-
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, Stereotype noteStereotype)
- 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 final TaskDraw getTrueRow()
- Specified by:
getTrueRowin interfaceTaskDraw
-
getY
public final Real getY(StringBounder stringBounder)
-
getY
public double getY(StringBounder stringBounder, GSide side)
-
getStyleBuilder
protected final StyleBuilder getStyleBuilder()
-
getColorSet
protected final HColorSet getColorSet()
-
getColors
protected CenterBorderColor getColors()
-
getCompletion
protected int getCompletion()
-
getPragma
protected Pragma getPragma()
-
-