Index
All Classes|All Packages|Serialized Form
A
- addCategory(String, Color) - Method in class ntnu.team1.backend.MainRegister
-
Adds a category to the register
- addImageToButton(String, Button, int, int) - Static method in class ntnu.team1.application.helpers.StaticMethods
-
/** Adds the images to buttons
- addNewCategory() - Method in class ntnu.team1.application.category.CategoryListController
-
Method called for adding new category
- addNewCategory() - Static method in class ntnu.team1.application.helpers.RegisterModifiers
-
Creates a window for adding a new category
- addNewCategory() - Method in class ntnu.team1.application.main.MainApplicationController
-
Adds new category
- addNewTask() - Static method in class ntnu.team1.application.helpers.RegisterModifiers
-
Creates a window for adding a new task
- addNewTask() - Method in class ntnu.team1.application.main.MainApplicationController
-
Adds new task
- addTask(LocalDate, LocalDate, String, String, int, int) - Method in class ntnu.team1.backend.MainRegister
-
Method for adding a task to the register
- alertOnExit() - Static method in class ntnu.team1.application.main.App
-
Gets called whenever a request is made tro close the application Makes sure that was intended and saves the register
- App - Class in ntnu.team1.application.main
-
JavaFX App, this is the main class of the application.
- App() - Constructor for class ntnu.team1.application.main.App
C
- Category - Class in ntnu.team1.backend.objects
-
A class that represents a category Implements serializable to be able to store the data
- Category(int, Color, String) - Constructor for class ntnu.team1.backend.objects.Category
- CategoryDialog - Class in ntnu.team1.application.category
-
Class for constructing and showing the different category dialogs Extends Dialog
- CategoryDialog() - Constructor for class ntnu.team1.application.category.CategoryDialog
-
Constructor for the object
- CategoryDialog(Category, boolean) - Constructor for class ntnu.team1.application.category.CategoryDialog
-
Constructor for the object
- CategoryDialog.Mode - Enum Class in ntnu.team1.application.category
-
Enumarator for the class
- CategoryListController - Class in ntnu.team1.application.category
-
Class that is used for displaying the categories
- CategoryListController() - Constructor for class ntnu.team1.application.category.CategoryListController
- colorColumn - Variable in class ntnu.team1.application.category.CategoryListController
-
Column for color
D
- deleteAllTool - Variable in class ntnu.team1.application.task.ShowByCategoryController
-
Button for deleting all tasks in a category
- deleteButtonColumn - Variable in class ntnu.team1.application.category.CategoryListController
-
Column for delete button
E
- EDIT - Enum constant in enum class ntnu.team1.application.category.CategoryDialog.Mode
-
Indicates it should be edited
- EDIT - Enum constant in enum class ntnu.team1.application.task.TaskDialog.Mode
-
Indicates it should be edited
- editCategory() - Method in class ntnu.team1.application.category.CategoryListController
-
Method called for editing new category
- editCategory(Category) - Static method in class ntnu.team1.application.helpers.RegisterModifiers
-
Creates a window for editing a category
- editCategory(Category) - Method in class ntnu.team1.backend.MainRegister
-
Method for editing a category
- editTask(int, LocalDate, LocalDate, String, String, int, int) - Method in class ntnu.team1.backend.MainRegister
-
Method for editing a task
- editTask(Task) - Static method in class ntnu.team1.application.helpers.RegisterModifiers
-
Method for creating a window where you can edit an existing task
- equals(Object) - Method in class ntnu.team1.backend.objects.Category
-
The method checks similarity: two Category objects are equal if their name and color are identical Identical similarity - two references to the same object Content similarity - the content of two objects is compared by category name and color
- equals(Object) - Method in class ntnu.team1.backend.objects.Task
-
Equals method for the object
- exit() - Method in class ntnu.team1.application.main.MainApplicationController
-
Gets called on exit.
G
- generateCategoryList() - Method in class ntnu.team1.application.main.MainApplicationController
-
Method for generating the category list and displaying it Configures the view and adds neccesary information
- getAllTasks() - Method in class ntnu.team1.backend.MainRegister
-
Gets all tasks
- getCategories() - Method in class ntnu.team1.backend.MainRegister
-
Gets the categories
- getCategory(int) - Method in class ntnu.team1.backend.MainRegister
-
Returns a category according to the id
- getCategoryId() - Method in class ntnu.team1.backend.objects.Task
-
Gets the category ID
- getChosenCategory() - Static method in class ntnu.team1.application.main.App
-
Gets the chosen category
- getColor() - Method in class ntnu.team1.backend.objects.Category
-
Gets the category color
- getDescription() - Method in class ntnu.team1.backend.objects.Task
-
Gets description
- getEndDate() - Method in class ntnu.team1.backend.objects.Task
-
Gets end date
- getID() - Method in class ntnu.team1.backend.objects.Category
-
Gets the category id
- getID() - Method in class ntnu.team1.backend.objects.Task
-
Gets the ID
- getName() - Method in class ntnu.team1.backend.objects.Category
-
Gets the name
- getName() - Method in class ntnu.team1.backend.objects.Task
-
Gets name
- getPriority() - Method in class ntnu.team1.backend.objects.Task
-
Gets priority
- getRegister() - Static method in class ntnu.team1.application.main.App
-
Gets the register
- getStartDate() - Method in class ntnu.team1.backend.objects.Task
-
Gets start date
- getTask(int) - Method in class ntnu.team1.backend.MainRegister
-
Returns a task according to the id
H
- hasCategory() - Method in class ntnu.team1.backend.objects.Task
-
Checks if the task has a category
I
- INFO - Enum constant in enum class ntnu.team1.application.category.CategoryDialog.Mode
-
Indicates just show info
- initialize() - Method in class ntnu.team1.application.category.CategoryListController
-
Initalize method that is run when the class is loaded.
- initialize() - Method in class ntnu.team1.application.main.MainApplicationController
-
Method that gets called on load of class Sets up necessary layout and configures it Sets up a check and updates category list every 0.1 seconds
- initialize() - Method in class ntnu.team1.application.task.ShowByCategoryController
-
Initial method that is called at class loading Sets and creates tableview, creates buttons and configures all other elements
- initialize() - Method in class ntnu.team1.application.task.TaskListController
-
Initalize method that is run when the class is loaded.
- isDone() - Method in class ntnu.team1.backend.objects.Task
-
Checks if task is done
L
- Launcher - Class in ntnu.team1
-
Launcher class, its purpose is to launch the entire program
- Launcher() - Constructor for class ntnu.team1.Launcher
- logoImage - Variable in class ntnu.team1.application.main.MainApplicationController
-
Image for showing the product logo
M
- main(String[]) - Static method in class ntnu.team1.application.main.App
-
Main method
- main(String[]) - Static method in class ntnu.team1.Launcher
-
Main method for the Launcher class
- MainApplicationController - Class in ntnu.team1.application.main
-
Class that handles the main view of the application
- MainApplicationController() - Constructor for class ntnu.team1.application.main.MainApplicationController
- MainRegister - Class in ntnu.team1.backend
-
This is is the main register of the application It keeps track of all categories in a HashMap and tasks in an ArrayList The Mainregister also allows for adding tasks and adding categories to the register It also handles saving and reading from file, it also sorts the registers
- MainRegister() - Constructor for class ntnu.team1.backend.MainRegister
-
Constructor for MainRegister Instantiates categories and tasks
- menuEditAdd - Variable in class ntnu.team1.application.main.MainApplicationController
-
Menu item for adding tasks
N
- nameColumn - Variable in class ntnu.team1.application.category.CategoryListController
-
Column for name
- NEW - Enum constant in enum class ntnu.team1.application.category.CategoryDialog.Mode
-
Indicates it is a new category
- NEW - Enum constant in enum class ntnu.team1.application.task.TaskDialog.Mode
-
Indicates it is a new category
- ntnu.team1 - package ntnu.team1
-
Package that contains all files for the project
- ntnu.team1.application - package ntnu.team1.application
-
Contains all files relevant to the front end
- ntnu.team1.application.category - package ntnu.team1.application.category
-
Contains all files used for creating, editing, removing and viewing category
- ntnu.team1.application.helpers - package ntnu.team1.application.helpers
-
Contains helpers used for various things
- ntnu.team1.application.main - package ntnu.team1.application.main
-
Contains the main App class aswell as the main controller
- ntnu.team1.application.task - package ntnu.team1.application.task
-
Contains all files used for creating, editing, removing and viewing tasks
- ntnu.team1.backend - package ntnu.team1.backend
-
Contains all classes relevant to the backend of the application
- ntnu.team1.backend.exceptions - package ntnu.team1.backend.exceptions
-
Contains exceptions
- ntnu.team1.backend.objects - package ntnu.team1.backend.objects
-
Contains the objects task and category
- ntnu.team1.backend.persistence - package ntnu.team1.backend.persistence
-
Conatins all files used for reading and writing serialized files
P
- pane - Variable in class ntnu.team1.application.main.MainApplicationController
-
Main anchor pane of the windows
- Pane - Variable in class ntnu.team1.application.task.ShowByCategoryController
-
Pane used as the upper element
- Pane - Variable in class ntnu.team1.application.task.TaskListController
-
Pane used as the upper element
R
- Read - Class in ntnu.team1.backend.persistence
-
Class used to read the register from a file
- Read(String) - Constructor for class ntnu.team1.backend.persistence.Read
-
Constructor for class, sets the path for the register
- readRegister() - Method in class ntnu.team1.backend.persistence.Read
-
Method for reading register from a file
- RegisterModifiers - Class in ntnu.team1.application.helpers
-
Class used for modifying the register
- RegisterModifiers() - Constructor for class ntnu.team1.application.helpers.RegisterModifiers
- removeAllTasksInCategory(int) - Static method in class ntnu.team1.application.helpers.RegisterModifiers
-
Creates a confirmation for deleting a category, also deletes all tasks associated with the category
- removeCategory(int) - Method in class ntnu.team1.backend.MainRegister
-
Removes a category
- removeCategory(Category) - Static method in class ntnu.team1.application.helpers.RegisterModifiers
-
Removes the selected category
- RemoveException - Exception in ntnu.team1.backend.exceptions
-
Exception class, called when something cant be removed
- RemoveException(String) - Constructor for exception ntnu.team1.backend.exceptions.RemoveException
-
Gets thrown if it cant be removed
- removeTask(int) - Method in class ntnu.team1.backend.MainRegister
-
Removes a task from the register
- removeTask(Task) - Static method in class ntnu.team1.application.helpers.RegisterModifiers
-
Creates a confiramtion dialog for removing a task
S
- setCategories(HashMap<Integer, Category>) - Method in class ntnu.team1.backend.MainRegister
-
Sets the category list
- setCategoryId(int) - Method in class ntnu.team1.backend.objects.Task
-
Updates the category ID
- setChosenCategory(int) - Static method in class ntnu.team1.application.main.App
-
Sets the chosen category
- setColor(Color) - Method in class ntnu.team1.backend.objects.Category
-
Update the color of the category, sets it to int values.
- setDescription(String) - Method in class ntnu.team1.backend.objects.Task
-
Sets description
- setDone(boolean) - Method in class ntnu.team1.backend.objects.Task
-
Sets task as done
- setEndDate(LocalDate) - Method in class ntnu.team1.backend.objects.Task
-
Sets end date
- setName(String) - Method in class ntnu.team1.backend.objects.Category
-
updates the name of the category
- setName(String) - Method in class ntnu.team1.backend.objects.Task
-
Sets name
- setPriority(int) - Method in class ntnu.team1.backend.objects.Task
-
Sets priority
- setRegister(MainRegister) - Static method in class ntnu.team1.application.main.App
-
Sets the register
- setStartDate(LocalDate) - Method in class ntnu.team1.backend.objects.Task
-
Sets start date
- setTasks(ArrayList<Task>) - Method in class ntnu.team1.backend.MainRegister
-
Sets the task list
- showByCategory(int) - Method in class ntnu.team1.application.main.MainApplicationController
-
Changes the pane to category view
- ShowByCategoryController - Class in ntnu.team1.application.task
-
Class used for displaying tasks by catgeory
- ShowByCategoryController() - Constructor for class ntnu.team1.application.task.ShowByCategoryController
- start(Stage) - Method in class ntnu.team1.application.main.App
-
Runs on the start of the application.
- StaticMethods - Class in ntnu.team1.application.helpers
-
Class for a lot of static methods used multiple times
- StaticMethods() - Constructor for class ntnu.team1.application.helpers.StaticMethods
- switchToCategory() - Method in class ntnu.team1.application.main.MainApplicationController
-
Switches the view to categories
- switchToTasks() - Method in class ntnu.team1.application.main.MainApplicationController
-
Switches the view to tasks
T
- Task - Class in ntnu.team1.backend.objects
-
A class that represents a main task Inherits from the abstract super class Task
- Task(int, String, String, LocalDate, LocalDate, int, int) - Constructor for class ntnu.team1.backend.objects.Task
-
Constructor of the objects
- TaskDialog - Class in ntnu.team1.application.task
-
Class used for creating dialogs for adding or editing Tasks
- TaskDialog() - Constructor for class ntnu.team1.application.task.TaskDialog
-
Constructor for TaskDialog
- TaskDialog(Task, boolean) - Constructor for class ntnu.team1.application.task.TaskDialog
-
Constructor for TaskDialog
- TaskDialog.Mode - Enum Class in ntnu.team1.application.task
-
Enumarator for class
- TaskListController - Class in ntnu.team1.application.task
-
Class used for displaying the tasks througfh a tableView
- TaskListController() - Constructor for class ntnu.team1.application.task.TaskListController
- taskNumberColumn - Variable in class ntnu.team1.application.category.CategoryListController
-
Column for number of tasks in category
- toString() - Method in class ntnu.team1.backend.MainRegister
-
To-String for the object
- toString() - Method in class ntnu.team1.backend.objects.Category
-
To string for object
- toString() - Method in class ntnu.team1.backend.objects.Task
-
ToString for the object
V
- valueOf(String) - Static method in enum class ntnu.team1.application.category.CategoryDialog.Mode
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class ntnu.team1.application.task.TaskDialog.Mode
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class ntnu.team1.application.category.CategoryDialog.Mode
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class ntnu.team1.application.task.TaskDialog.Mode
-
Returns an array containing the constants of this enum class, in the order they are declared.
W
- Write - Class in ntnu.team1.backend.persistence
-
Class for writing the register to a file
- Write(MainRegister) - Constructor for class ntnu.team1.backend.persistence.Write
-
Constructor for class, sets the register
- writeRegister() - Method in class ntnu.team1.backend.persistence.Write
-
Method for writing the register to a file
All Classes|All Packages|Serialized Form