Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

## Uses of Class
com.yuxingwang.gantt.model.Task

Packages that use Task
com.yuxingwang.gantt.model |

Uses of Task in com.yuxingwang.gantt.model

Methods in com.yuxingwang.gantt.model that return Task
`Task` | `Task.getEarliestSubTask()` Get the sub-task, who has the earliest end time, in the sub-task tree.
`Task` | `Task.getEarliestTask()` Get the sub-task, who has the earliest end time, in the sub-task tree include myself.
`Task` | `Task.getLatestSubTask()` Get the last task, who has the latest end time, in the sub task tree.
`Task` | `Task.getLatestTask()` Get the last task, who has the latest end time, in the sub task tree include myself.
`Task` | `TaskTreeModel.getLatestTask()` Get the latest task by task end time.
`Task` | `TaskTreeModel.getTask(int id)` Get Task by ID from given task node includes his sub-trees.

Methods in com.yuxingwang.gantt.model that return types with arguments of type Task
`java.util.List<Task>` | `BaseTask.getChildren()` Get children tasks.
`java.util.List<Task>` | `TaskTreeModel.getChildren()` Get all 1st level tasks.
`java.util.List<Task>` | `TaskTreeModel.getTasksByDFS()` Get all tasks from this model by Depth-First-Search principle.

Methods in com.yuxingwang.gantt.model with parameters of type Task
`void` | `TaskTreeModel.add(Task newTask)` Add new task to the root node of the `TaskTreeModel`.
`void` | `GanttModel.addTask(Task task)` Add Task to the root node of TaskTreeModel inside the GanttModel.
`void` | `GanttModel.addTask(Task[] tasks)` Add Tasks to the root node of TaskTreeModel inside the GanttModel.
`void` | `TaskTreeModel.addTo(Task parent, Task newTask)` Add new task to specified task as sub-task in the `TaskTreeModel`.
`void` | `Task.copy(Task sourceTask)` Copy content from given source task
`void` | `GanttModel.removeTask(Task task)` Remove task from the Gantt chart model.
`void` | `TaskTreeModel.removeTask(Task task)` Remove Task from root node of the `TaskTreeModel`.

Constructor parameters in com.yuxingwang.gantt.model with type arguments of type Task
`Task(java.lang.String name, java.util.Calendar startTime, java.util.Calendar endTime, java.util.List<Task> predecessors)`
`Task(java.lang.String name, java.lang.String description, java.util.Calendar startTime, java.util.Calendar endTime, int progress, java.util.List<Task> predecessors)`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES