Class Task

java.lang.Object
org.daypilot.data.Task

public class Task extends Object
  • Field Details

    • ROOT

      public static final Task ROOT
  • Constructor Details

  • Method Details

    • toJSON

      public JSONObject toJSON()
    • toJSONIncludeChildren

      public JSONObject toJSONIncludeChildren()
    • fromJSON

      public static Task fromJSON(JSONObject input)
    • getChildren

      public TaskCollection getChildren()
    • isExpanded

      public boolean isExpanded()
    • setExpanded

      public void setExpanded(boolean expanded)
    • getId

      public String getId()
    • setId

      public void setId(String id)
    • getText

      public String getText()
    • setText

      public void setText(String text)
    • getStart

      public DateTime getStart()
    • setStart

      public void setStart(DateTime start)
    • getEnd

      public DateTime getEnd()
    • setEnd

      public void setEnd(DateTime end)
    • getType

      public TaskType getType()
    • setType

      public void setType(TaskType type)
    • getTags

      public TaskTagMap getTags()
    • getComplete

      public int getComplete()
    • setComplete

      public void setComplete(int complete)
    • isDynamicChildren

      public boolean isDynamicChildren()
    • setDynamicChildren

      public void setDynamicChildren(boolean dynamicChildren)
    • setChildren

      public void setChildren(TaskCollection children)
    • getDataItem

      public Object getDataItem()
    • setDataItem

      public void setDataItem(Object dataItem)
    • getChildrenStartEnd

      public Task.StartEnd getChildrenStartEnd()