public interface IEventFactory
Modifier and Type | Method and Description |
---|---|
GanttEvent |
createGanttEvent(GanttChart parent,
GanttSection gs,
java.lang.String name,
java.util.Calendar start,
java.util.Calendar end)
Creates a new GanttEvent and adds it to the given GanttChart.
|
GanttEvent createGanttEvent(GanttChart parent, GanttSection gs, java.lang.String name, java.util.Calendar start, java.util.Calendar end)
parent
- The GanttChart to add the GanttEvent to.gs
- The GanttSection to add the GanttEvent to.
Can be null
.name
- The name that should be set to the GanttEvent.start
- The start date of the GanttEvent.end
- The end date of the GanttEvent.