|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Task | |
---|---|
org.swiftgantt | |
org.swiftgantt.event | |
org.swiftgantt.model |
Uses of Task in org.swiftgantt |
---|
Methods in org.swiftgantt with parameters of type Task | |
---|---|
void |
GanttChart.fireSelectionChange(java.lang.Object source,
Task selection)
|
void |
GanttChart.setSelectedTasks(Task... tasks)
Set selected tasks. |
Method parameters in org.swiftgantt with type arguments of type Task | |
---|---|
void |
GanttChart.setSelectedTasks(java.util.List<Task> tasks)
Set selected tasks. |
Uses of Task in org.swiftgantt.event |
---|
Methods in org.swiftgantt.event that return Task | |
---|---|
Task |
SelectionChangeEvent.getSelection()
|
Constructors in org.swiftgantt.event with parameters of type Task | |
---|---|
SelectionChangeEvent(java.lang.Object source,
Task selection)
|
Uses of Task in org.swiftgantt.model |
---|
Methods in org.swiftgantt.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 |
GanttModel.getTask(int id)
Get task by task ID. |
Task |
TaskTreeModel.getTask(int id)
Get Task by ID from given task node includes his sub-trees. |
Methods in org.swiftgantt.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> |
GanttModel.getTasksByBFS()
Get all tasks by Breadth-First-Search principle. |
java.util.List<Task> |
TaskTreeModel.getTasksByBFS()
Get all tasks by Breadth-First-Search principle. |
java.util.List<Task> |
GanttModel.getTasksByDFS()
Get all tasks by Depth-First-Search principle. |
java.util.List<Task> |
TaskTreeModel.getTasksByDFS()
Get all tasks from this model by Depth-First-Search principle. |
Methods in org.swiftgantt.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 org.swiftgantt.model with type arguments of type Task | |
---|---|
Task(java.lang.String name,
java.lang.String description,
org.swiftgantt.common.Time startTime,
org.swiftgantt.common.Time endTime,
int progress,
java.util.List<Task> predecessors)
|
|
Task(java.lang.String name,
org.swiftgantt.common.Time startTime,
org.swiftgantt.common.Time endTime,
java.util.List<Task> predecessors)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |