public class Timesheet.GanttNode
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
java.util.Vector<Timesheet.GanttBlock> |
blocks |
java.util.Vector<Timesheet.GanttNode> |
children |
java.lang.String |
fk |
java.lang.String |
id |
java.lang.String |
label |
ObjectDB |
object |
Timesheet.GanttNode |
parent |
int |
type |
Constructor and Description |
---|
GanttNode(ObjectDB object,
java.lang.String id,
java.lang.String label,
int type,
java.lang.String fk) |
Modifier and Type | Method and Description |
---|---|
void |
addBlock(Timesheet.GanttBlock block) |
void |
addChild(Timesheet.GanttNode child) |
Timesheet.GanttNode |
findChild(java.lang.String object,
java.lang.String id,
boolean recur) |
void |
setMainBlock(Timesheet.GanttBlock block) |
void |
storeFilter() |
java.lang.String |
toJson() |
java.lang.String |
toString() |
java.util.Vector<java.lang.String> |
update(double offset,
double size)
Resize and move all sub-blocks
|
public int type
public ObjectDB object
public java.lang.String id
public java.lang.String label
public java.lang.String fk
public Timesheet.GanttNode parent
public java.util.Vector<Timesheet.GanttNode> children
public java.util.Vector<Timesheet.GanttBlock> blocks
public GanttNode(ObjectDB object, java.lang.String id, java.lang.String label, int type, java.lang.String fk)
public void addChild(Timesheet.GanttNode child)
public Timesheet.GanttNode findChild(java.lang.String object, java.lang.String id, boolean recur)
public void storeFilter()
public void setMainBlock(Timesheet.GanttBlock block)
public void addBlock(Timesheet.GanttBlock block)
public java.util.Vector<java.lang.String> update(double offset, double size)
offset
- Distance from the first day of current periodsize
- New size of main blockpublic java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String toJson()
Copyright (c)2006-2014 Simplicite Software. All Rights Reserved.