java.lang.Object
no.ntnu.idatt.controller.TaskController
no.ntnu.idatt.controller.ExtendedTaskController
The controller for
extendedTask.fxml
.-
Field Summary
Fields inherited from class no.ntnu.idatt.controller.TaskController
checkButton, dueDate, label, mainController, task, taskRoot
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
collapseAccordion(javafx.scene.input.MouseEvent mouseEvent)
Closes the extended viewvoid
deleteTask(javafx.event.ActionEvent actionEvent)
The method is called then clicking the delete task button and removes the task from the currently selected listvoid
editTask(javafx.event.ActionEvent actionEvent)
The method is called then clicking the edit task button, and opens the menu for editing the selected taskvoid
initialize(Task task)
Fills information into the extended viewMethods inherited from class no.ntnu.idatt.controller.TaskController
completed, handleCheckButtonAction, setDueDate, setLabel, setMainController, setTask, showTaskExtendedLayer
-
Constructor Details
-
ExtendedTaskController
public ExtendedTaskController()
-
-
Method Details
-
initialize
Fills information into the extended view- Overrides:
initialize
in classTaskController
- Parameters:
task
- the view represents
-
collapseAccordion
public void collapseAccordion(javafx.scene.input.MouseEvent mouseEvent)Closes the extended view- Parameters:
mouseEvent
-
-
editTask
public void editTask(javafx.event.ActionEvent actionEvent)The method is called then clicking the edit task button, and opens the menu for editing the selected task- Parameters:
actionEvent
-
-
deleteTask
The method is called then clicking the delete task button and removes the task from the currently selected list- Parameters:
actionEvent
-- Throws:
RemoveException
-