BrightSide Workbench Full Report + Source Code
org.turro.web.gantt.GanttItems Class Reference
Inheritance diagram for org.turro.web.gantt.GanttItems:
Collaboration diagram for org.turro.web.gantt.GanttItems:

Public Member Functions

void addItem (String id, String name, List< String > dependencies, Date start, Date end, int progress)
 
void addItem (String id, String name, String dependencies, Date start, Date end, int progress)
 
void addItem (String id, String name, List< String > dependencies, Date start, Date end, int progress, String cssClass)
 
void addItem (String id, String name, String dependencies, Date start, Date end, int progress, String cssClass)
 
String toJson ()
 

Detailed Description

Author
Lluis TurrĂ³ Cutiller lluis.nosp@m.@tur.nosp@m.ro.or.nosp@m.g

Definition at line 31 of file GanttItems.java.

Member Function Documentation

◆ addItem() [1/4]

void org.turro.web.gantt.GanttItems.addItem ( String  id,
String  name,
List< String >  dependencies,
Date  start,
Date  end,
int  progress 
)

Definition at line 33 of file GanttItems.java.

33  {
34  add(new GanttItem(id, name, Strings.listToCvs(dependencies), start, end, progress));
35  }

◆ addItem() [2/4]

void org.turro.web.gantt.GanttItems.addItem ( String  id,
String  name,
List< String >  dependencies,
Date  start,
Date  end,
int  progress,
String  cssClass 
)

Definition at line 41 of file GanttItems.java.

41  {
42  add(new GanttItem(id, name, Strings.listToCvs(dependencies), start, end, progress, cssClass));
43  }

◆ addItem() [3/4]

void org.turro.web.gantt.GanttItems.addItem ( String  id,
String  name,
String  dependencies,
Date  start,
Date  end,
int  progress 
)

Definition at line 37 of file GanttItems.java.

37  {
38  add(new GanttItem(id, name, dependencies, start, end, progress));
39  }

◆ addItem() [4/4]

void org.turro.web.gantt.GanttItems.addItem ( String  id,
String  name,
String  dependencies,
Date  start,
Date  end,
int  progress,
String  cssClass 
)

Definition at line 45 of file GanttItems.java.

45  {
46  add(new GanttItem(id, name, dependencies, start, end, progress, cssClass));
47  }

◆ toJson()

String org.turro.web.gantt.GanttItems.toJson ( )

Definition at line 49 of file GanttItems.java.

49  {
50  Jsons jsons = Jsons.array();
51  for(GanttItem item : this) {
52  jsons.add(item.toJsonValue());
53  }
54  return jsons.build();
55  }
Here is the call graph for this function:
Here is the caller graph for this function:

The documentation for this class was generated from the following file: