Uses of Class
org.cesilko.rachota.core.Task
-
Packages that use Task Package Description org.cesilko.rachota.core org.cesilko.rachota.gui -
-
Uses of Task in org.cesilko.rachota.core
Subclasses of Task in org.cesilko.rachota.core Modifier and Type Class Description class
IdleTask
Task that repeats every day or once a week.class
RegularTask
Task that repeats every day or once a week.Methods in org.cesilko.rachota.core that return Task Modifier and Type Method Description Task
RegularTask. cloneTask()
Returns clone of itself with time set to 0 and state set to STATE_NEW.Task
Task. cloneTask()
Returns clone of itself with time set to 0, empty notes and state set to STATE_NEW.Task
Task. compare(Task task, int attribute, boolean ascendingOrder)
Compare attributes with given task and return the one which is greater/smaller according to sorting order.Task
Day. getIdleTask()
Returns idle task of the day.Task
Day. getTask(java.lang.String description)
Returns task with given description or null if such does not exist.Methods in org.cesilko.rachota.core with parameters of type Task Modifier and Type Method Description void
Day. addTask(Task task)
Adds new task to plan of day.Task
Task. compare(Task task, int attribute, boolean ascendingOrder)
Compare attributes with given task and return the one which is greater/smaller according to sorting order.void
Day. removeTask(Task task)
Removes given task from plan of day. -
Uses of Task in org.cesilko.rachota.gui
Methods in org.cesilko.rachota.gui that return Task Modifier and Type Method Description Task
FilteredTasksTableModel. getSimilarTask(int row)
Returns similar task to the one at given row.Task
DayTableModel. getTask(int row)
Returns task located at given row depending on whether finished tasks are displayed or not.Task
DayView. getTask()
Returns task that is currently selected.Task
TaskDialog. getTask()
Return task that was edited or created by this dialog.Methods in org.cesilko.rachota.gui with parameters of type Task Modifier and Type Method Description int
DayTableModel. getRow(Task task)
Returns number of row occupied by given task.void
DayView. selectTask(Task task)
Sets given task as selected and starts to work on it.void
DayPlanTable. setSelectedTask(Task selectedTask)
Sets given task as selected to render it properly.void
DayView. setTask(Task task, boolean startTask)
Set description of selected task and start it if required.Constructors in org.cesilko.rachota.gui with parameters of type Task Constructor Description AdjustTimeDialog(java.awt.Frame parent, java.lang.String title, Task task)
Creates new dialog for time selection and presets hours and minutesMoveTimeDialog(java.awt.Frame parent, Task task, Day day)
Creates new dialog for moving time between two tasks.TaskDialog(Task task, Day day, boolean readOnly)
Creates new dialog for editing of given task.
-