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 classIdleTaskTask that repeats every day or once a week.classRegularTaskTask that repeats every day or once a week.Methods in org.cesilko.rachota.core that return Task Modifier and Type Method Description TaskRegularTask. cloneTask()Returns clone of itself with time set to 0 and state set to STATE_NEW.TaskTask. cloneTask()Returns clone of itself with time set to 0, empty notes and state set to STATE_NEW.TaskTask. compare(Task task, int attribute, boolean ascendingOrder)Compare attributes with given task and return the one which is greater/smaller according to sorting order.TaskDay. getIdleTask()Returns idle task of the day.TaskDay. 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 voidDay. addTask(Task task)Adds new task to plan of day.TaskTask. compare(Task task, int attribute, boolean ascendingOrder)Compare attributes with given task and return the one which is greater/smaller according to sorting order.voidDay. 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 TaskFilteredTasksTableModel. getSimilarTask(int row)Returns similar task to the one at given row.TaskDayTableModel. getTask(int row)Returns task located at given row depending on whether finished tasks are displayed or not.TaskDayView. getTask()Returns task that is currently selected.TaskTaskDialog. 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 intDayTableModel. getRow(Task task)Returns number of row occupied by given task.voidDayView. selectTask(Task task)Sets given task as selected and starts to work on it.voidDayPlanTable. setSelectedTask(Task selectedTask)Sets given task as selected to render it properly.voidDayView. 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.
-