Class TaskDetailsDialog

java.lang.Object
javafx.scene.control.Dialog<TodoTask>
edu.ntnu.idata1002.prosjekt2021.ui.TaskDetailsDialog
All Implemented Interfaces:
javafx.event.EventTarget

public class TaskDetailsDialog
extends javafx.scene.control.Dialog<TodoTask>
Opens a dialog window for user input to create or edit tasks.
  • Property Summary

    Properties inherited from class javafx.scene.control.Dialog

    contentText, dialogPane, graphic, headerText, height, onCloseRequest, onHidden, onHiding, onShowing, onShown, resizable, resultConverter, result, showing, title, width, x, y
  • Nested Class Summary

    Nested Classes
    Modifier and Type Class Description
    static class  TaskDetailsDialog.Mode
    Modes of dialogpane.
  • Constructor Summary

    Constructors
    Constructor Description
    TaskDetailsDialog()
    Opens dialog window for adding a new task.
    TaskDetailsDialog​(TodoTask task)
    Opens dialog window to edit existing task.
  • Method Summary

    Methods inherited from class javafx.scene.control.Dialog

    buildEventDispatchChain, close, contentTextProperty, dialogPaneProperty, getContentText, getDialogPane, getGraphic, getHeaderText, getHeight, getModality, getOnCloseRequest, getOnHidden, getOnHiding, getOnShowing, getOnShown, getOwner, getResult, getResultConverter, getTitle, getWidth, getX, getY, graphicProperty, headerTextProperty, heightProperty, hide, initModality, initOwner, initStyle, isResizable, isShowing, onCloseRequestProperty, onHiddenProperty, onHidingProperty, onShowingProperty, onShownProperty, resizableProperty, resultConverterProperty, resultProperty, setContentText, setDialogPane, setGraphic, setHeaderText, setHeight, setOnCloseRequest, setOnHidden, setOnHiding, setOnShowing, setOnShown, setResizable, setResult, setResultConverter, setTitle, setWidth, setX, setY, show, showAndWait, showingProperty, titleProperty, widthProperty, xProperty, yProperty

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • TaskDetailsDialog

      public TaskDetailsDialog()
      Opens dialog window for adding a new task.
    • TaskDetailsDialog

      public TaskDetailsDialog​(TodoTask task)
      Opens dialog window to edit existing task.
      Parameters:
      task - the task to be edited.