Package net.sourceforge.plantuml.project
Class GanttDiagram
java.lang.Object
net.sourceforge.plantuml.AbstractPSystem
net.sourceforge.plantuml.TitledDiagram
net.sourceforge.plantuml.project.GanttDiagram
- All Implemented Interfaces:
Annotated,Diagram,GanttStyle,ToTaskDraw,WithSprite
-
Field Summary
Fields inherited from class net.sourceforge.plantuml.TitledDiagram
FORCE_ELK, FORCE_SMETANA -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddContraint(GanttConstraint constraint) voidaddSeparator(String comment) voidbooleanaffectResource(Task result, String description) changeLanguage(String lang) voidcloseDayAsDate(Day day, String task) voidcloseDayOfWeek(DayOfWeek day, String task) voidvoidintdeleteTask(Task task) endGroup()protected ImageDataexportDiagramNow(OutputStream os, int index, FileFormatOption fileFormatOption) forceTaskOrder(Task task1, Task task2) final intgetDpi(FileFormatOption fileFormatOption) getIt()intgetLoadForResource(Resource res, Day i) getOrCreateTask(String codeOrShortName, String shortName, boolean linkedToPrevious) getResource(String resourceName) final Stylefinal StylegetTaskDraw(Task task) protected TextBlockgetTextMainBlock(FileFormatOption fileFormatOption) final ResourcegetThey()getToday()booleanvoidvoidopenDayAsDate(Day day, String task) voidopenDayOfWeek(DayOfWeek day, String task) voidsetFactorScale(double factorScale) voidvoidsetLabelStrategy(LabelStrategy strategy) voidsetPrintInterval(Day start, Day end) voidsetPrintScale(PrintScale printScale) voidsetProjectStartingDate(Day start) voidsetShowFootbox(boolean footbox) voidsetTaskDefaultCompletion(int defaultCompletion) final voidvoidsetTodayColors(CenterBorderColor colors) voidsetWeekNumberStrategy(DayOfWeek firstDayOfWeek, int minimalDaysInFirstWeek) voidsetWithCalendarDate(boolean withCalendarDate) Methods inherited from class net.sourceforge.plantuml.TitledDiagram
addSprite, calculateBackColor, createImageBuilder, exportDiagramGraphic, getCaption, getCurrentStyleBuilder, getFooter, getHeader, getLegend, getMainFrame, getPragma, getSkinParam, getTitle, getTitleDisplay, getUmlDiagramType, isUseElk, isUseSmetana, loadSkin, muteColorMapper, setCaption, setLegend, setMainFrame, setParam, setTitle, setUseElk, setUseSmetanaMethods inherited from class net.sourceforge.plantuml.AbstractPSystem
executeCommand, exportDiagram, getMetadata, getNamespaceSeparator, getNbImages, getScale, getSource, getSplitPagesHorizontal, getSplitPagesVertical, getWarningOrError, hasUrl, isOk, makeDiagramReady, seed, setNamespaceSeparator, setScale, setSplitPagesHorizontal, setSplitPagesVerticalMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.sourceforge.plantuml.core.Diagram
exportDiagram, exportDiagramGraphic, getMetadata, getNbImages, getSource, getSplitPagesHorizontal, getSplitPagesVertical, getTitleDisplay, getWarningOrError, hasUrlMethods inherited from interface net.sourceforge.plantuml.WithSprite
addSprite
-
Constructor Details
-
GanttDiagram
-
-
Method Details
-
changeLanguage
-
getDescription
- Specified by:
getDescriptionin interfaceDiagram
-
setWeekNumberStrategy
-
getDpi
-
exportDiagramNow
protected ImageData exportDiagramNow(OutputStream os, int index, FileFormatOption fileFormatOption) throws IOException - Specified by:
exportDiagramNowin classAbstractPSystem- Throws:
IOException
-
setPrintScale
-
setFactorScale
public void setFactorScale(double factorScale) -
checkFinalError
- Overrides:
checkFinalErrorin classAbstractPSystem
-
getTextMainBlock
- Specified by:
getTextMainBlockin classTitledDiagram
-
getStyle
- Specified by:
getStylein interfaceGanttStyle
-
getStyle
- Specified by:
getStylein interfaceGanttStyle
-
getDefaultStyleDefinitionArrow
-
closeDayOfWeek
-
openDayOfWeek
-
closeDayAsDate
-
openDayAsDate
-
getThenDate
-
getExistingTask
-
forceTaskOrder
-
getOrCreateTask
-
addSeparator
-
addGroup
-
endGroup
-
addContraint
-
getIHtmlColorSet
- Specified by:
getIHtmlColorSetin interfaceToTaskDraw
-
setProjectStartingDate
-
getStartingDate
-
getEndingDate
-
daysInWeek
public int daysInWeek() -
isOpen
-
affectResource
-
getResource
-
getLoadForResource
-
getExistingMoment
-
colorDay
-
colorDay
-
nameDay
-
getToday
-
setTodayColors
-
setToday
-
deleteTask
-
setPrintInterval
-
getTaskDraw
- Specified by:
getTaskDrawin interfaceToTaskDraw
-
addNote
-
getDefaultPlan
- Specified by:
getDefaultPlanin interfaceToTaskDraw
-
setShowFootbox
public void setShowFootbox(boolean footbox) -
getDefaultMargins
- Overrides:
getDefaultMarginsin classTitledDiagram
-
setLabelStrategy
-
setWithCalendarDate
public void setWithCalendarDate(boolean withCalendarDate) -
hideResourceName
-
hideResourceFootbox
-
addVerticalSeparatorBefore
-
setTaskDefaultCompletion
public void setTaskDefaultCompletion(int defaultCompletion) -
getAllTasksForResource
-
setIt
-
getIt
-
getThey
-
setThey
-