public class TaskGrouping extends Object
Constructor and Description |
---|
TaskGrouping(int affiliation)
Creates a group with a specified affiliation.
|
Modifier and Type | Method and Description |
---|---|
boolean |
containsTask(Task t)
Returns whether a task is in this grouping.
|
Task.TaskKey |
getNextTaskInGroup(Task t)
Returns the key of the next task in the group.
|
Task.TaskKey |
getPrevTaskInGroup(Task t)
Returns the key of the previous task in the group.
|
int |
getTaskCount()
Returns the number of tasks in this group.
|
int |
indexOf(Task t)
Finds the index of a given task in a group.
|
boolean |
isFrontMostTask(Task t)
Gets the front task
|
boolean |
isTaskAboveTask(Task t,
Task below)
Returns whether one task is above another in the group.
|
public TaskGrouping(int affiliation)
public Task.TaskKey getNextTaskInGroup(Task t)
public Task.TaskKey getPrevTaskInGroup(Task t)
public boolean isFrontMostTask(Task t)
public int indexOf(Task t)
public boolean containsTask(Task t)
public boolean isTaskAboveTask(Task t, Task below)
public int getTaskCount()