Class ExtendedTaskController

java.lang.Object
no.ntnu.idatt.controller.TaskController
no.ntnu.idatt.controller.ExtendedTaskController

public class ExtendedTaskController extends TaskController
The controller for extendedTask.fxml.
  • Constructor Details

    • ExtendedTaskController

      public ExtendedTaskController()
  • Method Details

    • initialize

      public void initialize(Task task)
      Fills information into the extended view
      Overrides:
      initialize in class TaskController
      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

      public void deleteTask(javafx.event.ActionEvent actionEvent) throws RemoveException
      The method is called then clicking the delete task button and removes the task from the currently selected list
      Parameters:
      actionEvent -
      Throws:
      RemoveException