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(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(UmlSource source)
-
-
Method Detail
-
changeLanguage
public CommandExecutionResult changeLanguage(java.lang.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(java.io.OutputStream os, int index, FileFormatOption fileFormatOption) throws java.io.IOException
- Specified by:
exportDiagramNow
in classAbstractPSystem
- Throws:
java.io.IOException
-
setPrintScale
public void setPrintScale(PrintScale printScale)
-
setFactorScale
public void setFactorScale(double factorScale)
-
getDefaultStyleDefinitionArrow
public StyleSignature getDefaultStyleDefinitionArrow()
-
closeDayOfWeek
public void closeDayOfWeek(DayOfWeek day)
-
closeDayAsDate
public void closeDayAsDate(Day day)
-
openDayAsDate
public void openDayAsDate(Day day)
-
getThenDate
public Day getThenDate()
-
getExistingTask
public Task getExistingTask(java.lang.String id)
-
forceTaskOrder
public GanttConstraint forceTaskOrder(Task task1, Task task2)
-
getOrCreateTask
public Task getOrCreateTask(java.lang.String codeOrShortName, java.lang.String shortName, boolean linkedToPrevious)
-
addSeparator
public void addSeparator(java.lang.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)
-
affectResource
public boolean affectResource(Task result, java.lang.String description)
-
getResource
public Resource getResource(java.lang.String resourceName)
-
getExistingMoment
public Moment getExistingMoment(java.lang.String id)
-
nameDay
public void nameDay(Day day, java.lang.String name)
-
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)
-
-