@groovy.transform.CompileStatic final class GanttEntry extends java.lang.Object
Low level class to draw read-only Gantt diagrams (WiP)
Modifiers | Name | Description |
---|---|---|
static enum |
GanttEntry.Color |
|
static enum |
GanttEntry.Relation |
|
static enum |
GanttEntry.Temporality |
HAPPEN: The end date is the previous Gantt entry end date LASTS_DAYS: The end date is start + lastInDays SEPARATOR: Draw an horizontal line |
Type | Name and description |
---|---|
GanttEntry.Color |
color |
java.lang.Integer |
lastsDays |
java.lang.String |
name |
java.lang.String |
note |
java.lang.Long |
objectId |
java.util.List<grails.util.Pair<Relation, GanttEntry>> |
relations |
java.util.Date |
start |
GanttEntry.Temporality |
temporality |
java.lang.Integer |
week |
Constructor and description |
---|
GanttEntry
(java.lang.Long objectId, java.lang.String name, GanttEntry.Temporality temporality, java.util.Date start, java.lang.Integer lastsDays, GanttEntry.Color color) Constructor |
Type Params | Return Type | Name and description |
---|---|---|
|
java.lang.String |
toString() |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Constructor
objectId
- The object ID represented by this entryname
- The label printedtemporality
- Way duration of the Gantt Entry is defined (SEPARATOR: No duration, HAPPEN: relative duration)start
- Start datelastsDays
- Number of days the Gantt last is temporality parameter is LASTS_DAYScolor
- Gant entry colorGroovy Documentation