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
,ToTaskDraw
,WithSprite
public class GanttDiagram extends TitledDiagram implements ToTaskDraw, WithSprite
-
-
Field Summary
-
Fields inherited from class net.sourceforge.plantuml.TitledDiagram
FORCE_ELK, FORCE_SMETANA
-
-
Constructor Summary
Constructors Constructor Description GanttDiagram(ThemeStyle style, UmlSource source)
-
Method Summary
-
Methods inherited from class net.sourceforge.plantuml.TitledDiagram
addSprite, calculateBackColor, createImageBuilder, getAnimation, getCaption, getCurrentStyleBuilder, getFooter, getHeader, getLegend, getMainFrame, getPragma, getSkinParam, getTitle, getTitleDisplay, getUmlDiagramType, isUseElk, isUseSmetana, loadSkin, setAnimation, setCaption, setLegend, setMainFrame, setParam, setTitle, setUseElk, setUseSmetana
-
Methods inherited from class net.sourceforge.plantuml.AbstractPSystem
checkFinalError, executeCommand, exportDiagram, getMetadata, getNbImages, getScale, getSource, getSplitPagesHorizontal, getSplitPagesVertical, getWarningOrError, hasUrl, isOk, makeDiagramReady, seed, 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, getMetadata, getNbImages, getSource, getSplitPagesHorizontal, getSplitPagesVertical, getTitleDisplay, getWarningOrError, hasUrl
-
Methods inherited from interface net.sourceforge.plantuml.WithSprite
addSprite
-
-
-
-
Constructor Detail
-
GanttDiagram
public GanttDiagram(ThemeStyle style, UmlSource source)
-
-
Method Detail
-
changeLanguage
public CommandExecutionResult changeLanguage(String lang)
-
getDescription
public DiagramDescription getDescription()
- Specified by:
getDescription
in interfaceDiagram
-
setWeekNumberStrategy
public void setWeekNumberStrategy(DayOfWeek firstDayOfWeek, int minimalDaysInFirstWeek)
-
getDpi
public final int getDpi(FileFormatOption fileFormatOption)
-
exportDiagramNow
protected ImageData exportDiagramNow(OutputStream os, int index, FileFormatOption fileFormatOption) throws IOException
- Specified by:
exportDiagramNow
in classAbstractPSystem
- Throws:
IOException
-
setPrintScale
public void setPrintScale(PrintScale printScale)
-
setFactorScale
public void setFactorScale(double factorScale)
-
getDefaultStyleDefinitionArrow
public StyleSignatureBasic getDefaultStyleDefinitionArrow()
-
closeDayOfWeek
public void closeDayOfWeek(DayOfWeek day)
-
closeDayAsDate
public void closeDayAsDate(Day day)
-
openDayAsDate
public void openDayAsDate(Day day)
-
getThenDate
public Day getThenDate()
-
forceTaskOrder
public GanttConstraint forceTaskOrder(Task task1, Task task2)
-
getOrCreateTask
public Task getOrCreateTask(String codeOrShortName, String shortName, boolean linkedToPrevious)
-
addSeparator
public void addSeparator(String comment)
-
addContraint
public void addContraint(GanttConstraint constraint)
-
getIHtmlColorSet
public HColorSet getIHtmlColorSet()
-
setStartingDate
public void setStartingDate(Day start)
-
getStartingDate
public Day getStartingDate()
-
daysInWeek
public int daysInWeek()
-
isOpen
public boolean isOpen(Day day)
-
setTodayColors
public void setTodayColors(CenterBorderColor colors)
-
setToday
public CommandExecutionResult setToday(Day date)
-
deleteTask
public CommandExecutionResult deleteTask(Task task)
-
getTaskDraw
public TaskDraw getTaskDraw(Task task)
- Specified by:
getTaskDraw
in interfaceToTaskDraw
-
addNote
public CommandExecutionResult addNote(Display note)
-
getDefaultPlan
public LoadPlanable getDefaultPlan()
- Specified by:
getDefaultPlan
in interfaceToTaskDraw
-
setShowFootbox
public void setShowFootbox(boolean footbox)
-
getDefaultMargins
public ClockwiseTopRightBottomLeft getDefaultMargins()
- Overrides:
getDefaultMargins
in classTitledDiagram
-
setLabelStrategy
public void setLabelStrategy(LabelStrategy strategy)
-
setWithCalendarDate
public void setWithCalendarDate(boolean withCalendarDate)
-
hideRessourceName
public CommandExecutionResult hideRessourceName()
-
hideRessourceFootbox
public CommandExecutionResult hideRessourceFootbox()
-
-