- Author
- Lluis TurrĂ³ Cutiller lluis.nosp@m.@tur.nosp@m.ro.or.nosp@m.g
Definition at line 27 of file GanttData.java.
◆ addGanttItem()
GanttItem org.turro.zkoss.svg.GanttData.addGanttItem |
( |
long |
reference, |
|
|
String |
uniqueId, |
|
|
String |
name, |
|
|
double |
hours, |
|
|
double |
done |
|
) |
| |
Definition at line 33 of file GanttData.java.
34 GanttItem gi =
new GanttItem(reference, uniqueId, name, hours, done);
◆ getItem()
GanttItem org.turro.zkoss.svg.GanttData.getItem |
( |
String |
index | ) |
|
Definition at line 56 of file GanttData.java.
57 for(GanttItem gi :
this) {
58 if(Objects.equals(gi.getUniqueId(), index)) {
◆ getMaxHoursLenght()
double org.turro.zkoss.svg.GanttData.getMaxHoursLenght |
( |
| ) |
|
Definition at line 48 of file GanttData.java.
49 double maxLenght = 0.0;
50 for(GanttItem gi :
this) {
51 maxLenght = Math.max(gi.getStart() + gi.getMaxHours(), maxLenght);
◆ getMaxNameLenght()
int org.turro.zkoss.svg.GanttData.getMaxNameLenght |
( |
| ) |
|
Definition at line 40 of file GanttData.java.
42 for(GanttItem gi :
this) {
43 maxLenght = Math.max(gi.getName().length(), maxLenght);
static final int MAX_NAME_LENGTH
◆ initData()
void org.turro.zkoss.svg.GanttData.initData |
( |
| ) |
|
Definition at line 65 of file GanttData.java.
66 for(GanttItem dummy :
this) {
68 for(GanttItem gi :
this) {
72 for(GanttItem gi :
this) {
◆ MAX_NAME_LENGTH
final int org.turro.zkoss.svg.GanttData.MAX_NAME_LENGTH = 60 |
|
static |
The documentation for this class was generated from the following file: