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 TypeMethodDescriptionvoid
addContraint
(GanttConstraint constraint) void
addSeparator
(String comment) void
boolean
affectResource
(Task result, String description) changeLanguage
(String lang) void
closeDayAsDate
(Day day, String task) void
closeDayOfWeek
(DayOfWeek day, String task) void
void
int
deleteTask
(Task task) endGroup()
protected ImageData
exportDiagramNow
(OutputStream os, int index, FileFormatOption fileFormatOption) forceTaskOrder
(Task task1, Task task2) final int
getDpi
(FileFormatOption fileFormatOption) getIt()
int
getLoadForResource
(Resource res, Day i) getOrCreateTask
(String codeOrShortName, String shortName, boolean linkedToPrevious) getResource
(String resourceName) final Style
final Style
getTaskDraw
(Task task) protected TextBlock
getTextMainBlock
(FileFormatOption fileFormatOption) final Resource
getThey()
getToday()
boolean
void
void
openDayAsDate
(Day day, String task) void
openDayOfWeek
(DayOfWeek day, String task) void
setFactorScale
(double factorScale) void
void
setLabelStrategy
(LabelStrategy strategy) void
setPrintInterval
(Day start, Day end) void
setPrintScale
(PrintScale printScale) void
setProjectStartingDate
(Day start) void
setShowFootbox
(boolean footbox) void
setTaskDefaultCompletion
(int defaultCompletion) final void
void
setTodayColors
(CenterBorderColor colors) void
setWeekNumberStrategy
(DayOfWeek firstDayOfWeek, int minimalDaysInFirstWeek) void
setWithCalendarDate
(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, setUseSmetana
Methods inherited from class net.sourceforge.plantuml.AbstractPSystem
executeCommand, exportDiagram, getMetadata, getNamespaceSeparator, getNbImages, getScale, getSource, getSplitPagesHorizontal, getSplitPagesVertical, getWarningOrError, hasUrl, isOk, makeDiagramReady, seed, setNamespaceSeparator, setScale, setSplitPagesHorizontal, setSplitPagesVertical
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.sourceforge.plantuml.core.Diagram
exportDiagram, exportDiagramGraphic, getMetadata, getNbImages, getSource, getSplitPagesHorizontal, getSplitPagesVertical, getTitleDisplay, getWarningOrError, hasUrl
Methods inherited from interface net.sourceforge.plantuml.WithSprite
addSprite
-
Constructor Details
-
GanttDiagram
-
-
Method Details
-
changeLanguage
-
getDescription
- Specified by:
getDescription
in interfaceDiagram
-
setWeekNumberStrategy
-
getDpi
-
exportDiagramNow
protected ImageData exportDiagramNow(OutputStream os, int index, FileFormatOption fileFormatOption) throws IOException - Specified by:
exportDiagramNow
in classAbstractPSystem
- Throws:
IOException
-
setPrintScale
-
setFactorScale
public void setFactorScale(double factorScale) -
checkFinalError
- Overrides:
checkFinalError
in classAbstractPSystem
-
getTextMainBlock
- Specified by:
getTextMainBlock
in classTitledDiagram
-
getStyle
- Specified by:
getStyle
in interfaceGanttStyle
-
getStyle
- Specified by:
getStyle
in interfaceGanttStyle
-
getDefaultStyleDefinitionArrow
-
closeDayOfWeek
-
openDayOfWeek
-
closeDayAsDate
-
openDayAsDate
-
getThenDate
-
getExistingTask
-
forceTaskOrder
-
getOrCreateTask
-
addSeparator
-
addGroup
-
endGroup
-
addContraint
-
getIHtmlColorSet
- Specified by:
getIHtmlColorSet
in interfaceToTaskDraw
-
setProjectStartingDate
-
getStartingDate
-
getEndingDate
-
daysInWeek
public int daysInWeek() -
isOpen
-
affectResource
-
getResource
-
getLoadForResource
-
getExistingMoment
-
colorDay
-
colorDay
-
nameDay
-
getToday
-
setTodayColors
-
setToday
-
deleteTask
-
setPrintInterval
-
getTaskDraw
- Specified by:
getTaskDraw
in interfaceToTaskDraw
-
addNote
-
getDefaultPlan
- Specified by:
getDefaultPlan
in interfaceToTaskDraw
-
setShowFootbox
public void setShowFootbox(boolean footbox) -
getDefaultMargins
- Overrides:
getDefaultMargins
in classTitledDiagram
-
setLabelStrategy
-
setWithCalendarDate
public void setWithCalendarDate(boolean withCalendarDate) -
hideResourceName
-
hideResourceFootbox
-
addVerticalSeparatorBefore
-
setTaskDefaultCompletion
public void setTaskDefaultCompletion(int defaultCompletion) -
getAllTasksForResource
-
setIt
-
getIt
-
getThey
-
setThey
-