Class Timesheet.GanttNode

  • All Implemented Interfaces:
    java.io.Serializable
    Enclosing class:
    Timesheet

    public class Timesheet.GanttNode
    extends java.lang.Object
    implements java.io.Serializable
    Node of resource with blocks
    See Also:
    Serialized Form
    • Constructor Detail

      • GanttNode

        public GanttNode​(ObjectDB object,
                         java.lang.String id,
                         java.lang.String label,
                         int type,
                         java.lang.String fk)
    • Method Detail

      • findChild

        public Timesheet.GanttNode findChild​(java.lang.String object,
                                             java.lang.String id,
                                             boolean recur)
      • storeFilter

        public void storeFilter()
      • update

        public java.util.List<java.lang.String> update​(double offset,
                                                       double size)
        Resize and move all sub-blocks
        Parameters:
        offset - Distance from the first day of current period
        size - New size of main block
        Returns:
        Messages or null
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • toJSON

        public java.lang.String toJSON()