Index

A B C D G H I L M N O R S T U W 
All Classes and Interfaces|All Packages|Constant Field Values

A

add(HydrationEntry) - Method in class com.wellnessapp.model.hydration.HydrationManager
 
addMoodEntry(MoodEntry) - Method in class com.wellnessapp.model.mood.MoodManager
 
areRemindersEnabled() - Method in class com.wellnessapp.controller.ReminderService
 
authenticateUser(User) - Method in class com.wellnessapp.model.UserDAO
 

B

BaseController - Class in com.wellnessapp.controller
The base controller used to abstract common logic from higher level controller classes.
BaseController() - Constructor for class com.wellnessapp.controller.BaseController
Called on initialisation of any controller inheriting from BaseController.
build() - Method in interface com.wellnessapp.model.notice.NoticeBO.TextSetter
 
builder() - Static method in class com.wellnessapp.model.notice.NoticeBO
 

C

close() - Method in class com.wellnessapp.model.UserDAO
 
com.wellnessapp - module com.wellnessapp
 
com.wellnessapp - package com.wellnessapp
 
com.wellnessapp.controller - package com.wellnessapp.controller
 
com.wellnessapp.model - package com.wellnessapp.model
 
com.wellnessapp.model.hydration - package com.wellnessapp.model.hydration
 
com.wellnessapp.model.mood - package com.wellnessapp.model.mood
 
com.wellnessapp.model.notice - package com.wellnessapp.model.notice
 
connection - Variable in class com.wellnessapp.model.hydration.HydrationDAO
 
connection - Variable in class com.wellnessapp.model.mood.MoodDAO
 
connection - Variable in class com.wellnessapp.model.ReminderDAO
 
Create(MoodEntry) - Method in interface com.wellnessapp.model.mood.IMoodDAO
 
Create(MoodEntry) - Method in class com.wellnessapp.model.mood.MoodDAO
Inserts a new MoodEntry into the database.
Create(ReminderEntry) - Method in interface com.wellnessapp.model.IReminderDAO
 
Create(ReminderEntry) - Method in class com.wellnessapp.model.ReminderDAO
 
CreateDefaultReminders(ReminderEntry, String) - Method in interface com.wellnessapp.model.IReminderDAO
 
CreateDefaultReminders(ReminderEntry, String) - Method in class com.wellnessapp.model.ReminderDAO
 

D

DatabaseConnection - Class in com.wellnessapp.model
The SQLite database connection.
delete() - Method in class com.wellnessapp.model.hydration.HydrationDAO
 
delete() - Method in interface com.wellnessapp.model.hydration.IHydrationDAO
 
delete(MoodEntry) - Method in class com.wellnessapp.model.mood.MoodManager
 
delete(User) - Method in interface com.wellnessapp.model.IUserDAO
Deletes a user from the database.
delete(User) - Method in class com.wellnessapp.model.UserDAO
 
Delete(MoodEntry) - Method in interface com.wellnessapp.model.mood.IMoodDAO
 
Delete(MoodEntry) - Method in class com.wellnessapp.model.mood.MoodDAO
Deletes a mood entry from the database.
deleteReminder(ReminderEntry) - Method in interface com.wellnessapp.model.IReminderDAO
 
deleteReminder(ReminderEntry) - Method in class com.wellnessapp.model.ReminderDAO
 

G

get() - Method in class com.wellnessapp.model.hydration.HydrationDAO
 
get() - Method in interface com.wellnessapp.model.hydration.IHydrationDAO
 
getAll() - Method in class com.wellnessapp.model.hydration.HydrationDAO
 
getAll() - Method in interface com.wellnessapp.model.hydration.IHydrationDAO
 
getAll() - Method in interface com.wellnessapp.model.IUserDAO
Retrieves all users from the database.
getAll() - Method in class com.wellnessapp.model.UserDAO
 
getAllEntries() - Method in interface com.wellnessapp.model.IReminderDAO
 
getAllEntries() - Method in class com.wellnessapp.model.mood.MoodManager
 
getAllEntries() - Method in class com.wellnessapp.model.ReminderDAO
 
getAllEntries(boolean) - Method in interface com.wellnessapp.model.mood.IMoodDAO
 
getAllEntries(boolean) - Method in class com.wellnessapp.model.mood.MoodDAO
Retrieves all mood entries from the database.
getAllEntries(Boolean) - Method in class com.wellnessapp.model.mood.MoodManager
 
getComment() - Method in interface com.wellnessapp.model.mood.IMoodEntry
 
getComment() - Method in class com.wellnessapp.model.mood.MoodEntry
 
getComments() - Method in class com.wellnessapp.model.ReminderEntry
 
getDate() - Method in class com.wellnessapp.model.ReminderEntry
 
getDateTime() - Method in class com.wellnessapp.model.hydration.HydrationEntry
 
getEmail() - Method in class com.wellnessapp.model.User
 
getEntryById(int) - Method in interface com.wellnessapp.model.mood.IMoodDAO
 
getEntryById(int) - Method in class com.wellnessapp.model.mood.MoodDAO
Retrieves a mood entry from the database by its ID.
getFirstTip() - Method in class com.wellnessapp.model.Tipcontents
 
getId() - Method in class com.wellnessapp.model.hydration.HydrationEntry
 
getId() - Method in interface com.wellnessapp.model.mood.IMoodEntry
 
getId() - Method in class com.wellnessapp.model.mood.MoodEntry
 
getId() - Method in class com.wellnessapp.model.ReminderEntry
 
getInstance() - Static method in class com.wellnessapp.model.DatabaseConnection
 
getLatestEntry() - Method in class com.wellnessapp.model.hydration.HydrationDAO
 
getMood() - Method in interface com.wellnessapp.model.mood.IMoodEntry
 
getMood() - Method in class com.wellnessapp.model.mood.MoodEntry
 
getPassword() - Method in class com.wellnessapp.model.User
 
getReminderInterval() - Method in class com.wellnessapp.controller.ReminderService
 
getStage() - Method in class com.wellnessapp.controller.BaseController
Gets the stage instance by using required "base" fx:id attribute in all FXML.
getStage() - Method in interface com.wellnessapp.controller.IBaseController
 
getText() - Method in class com.wellnessapp.model.notice.NoticeBO
 
getTime() - Method in class com.wellnessapp.model.ReminderEntry
 
getTimestamp() - Method in interface com.wellnessapp.model.mood.IMoodEntry
 
getTimestamp() - Method in class com.wellnessapp.model.mood.MoodEntry
 
getTitle() - Method in class com.wellnessapp.model.notice.NoticeBO
 
getTitle() - Method in class com.wellnessapp.model.ReminderEntry
 
getUrl() - Method in class com.wellnessapp.model.ReminderEntry
 
getWellnessTips() - Method in class com.wellnessapp.controller.WellnessTipController
 

H

handleDateSelection() - Method in class com.wellnessapp.controller.Reminder
 
HEIGHT - Static variable in class com.wellnessapp.Main
The Height of the application window.
HydrationDAO - Class in com.wellnessapp.model.hydration
 
HydrationDAO() - Constructor for class com.wellnessapp.model.hydration.HydrationDAO
 
HydrationEntry - Class in com.wellnessapp.model.hydration
 
HydrationEntry() - Constructor for class com.wellnessapp.model.hydration.HydrationEntry
 
HydrationEntry(LocalDateTime) - Constructor for class com.wellnessapp.model.hydration.HydrationEntry
 
HydrationManager - Class in com.wellnessapp.model.hydration
 
HydrationManager() - Constructor for class com.wellnessapp.model.hydration.HydrationManager
 

I

IBaseController - Interface in com.wellnessapp.controller
Interface for base controllers in the application.
IHydrationDAO - Interface in com.wellnessapp.model.hydration
 
IMoodDAO - Interface in com.wellnessapp.model.mood
Interface for Mood Data Access Object (DAO) providing methods to interact with mood entries.
IMoodEntry - Interface in com.wellnessapp.model.mood
 
init() - Method in class com.wellnessapp.model.hydration.HydrationDAO
 
initialize() - Method in class com.wellnessapp.controller.LoginController
 
initialize() - Method in class com.wellnessapp.controller.MainController
FXML Starter method that executes after FXML has been initialised and after class has been initialised.
initialize() - Method in class com.wellnessapp.controller.MoodChartController
 
initialize() - Method in class com.wellnessapp.controller.MoodPopupController
Starter method that runs on page mount
initialize() - Method in class com.wellnessapp.controller.Reminder
 
initialize() - Method in class com.wellnessapp.controller.SignUpController
 
initialize() - Method in class com.wellnessapp.controller.WellnessTipController
 
initStage() - Method in class com.wellnessapp.controller.BaseController
Initialises access to the stage by running getStage() when the FXML thread is mounted and ready.
initStage() - Method in interface com.wellnessapp.controller.IBaseController
 
INoticeManager - Interface in com.wellnessapp.model.notice
 
insert(HydrationEntry) - Method in class com.wellnessapp.model.hydration.HydrationDAO
 
insert(HydrationEntry) - Method in interface com.wellnessapp.model.hydration.IHydrationDAO
 
insert(User) - Method in interface com.wellnessapp.model.IUserDAO
Adds a new user to the database
insert(User) - Method in class com.wellnessapp.model.UserDAO
 
IReminderDAO - Interface in com.wellnessapp.model
 
IUserDAO - Interface in com.wellnessapp.model
 

L

LoginController - Class in com.wellnessapp.controller
Responsible for managing the logic for the login view.
LoginController() - Constructor for class com.wellnessapp.controller.LoginController
 

M

main(String[]) - Static method in class com.wellnessapp.Main
Launches the JavaFX application.
Main - Class in com.wellnessapp
The starting point of the application.
Main() - Constructor for class com.wellnessapp.Main
 
MainController - Class in com.wellnessapp.controller
Responsible for handling controller logic for the home page view, First controller to be initialised after successfully logging in.
MainController() - Constructor for class com.wellnessapp.controller.MainController
Constructs a MainController instance.
MoodChartController - Class in com.wellnessapp.controller
Responsible for managing controller logic for the mood chart view.
MoodChartController() - Constructor for class com.wellnessapp.controller.MoodChartController
 
MoodDAO - Class in com.wellnessapp.model.mood
Implementation of the Mood Database Access Object (DAO) interface.
MoodDAO() - Constructor for class com.wellnessapp.model.mood.MoodDAO
Constructs a MoodDAO object and initializes the database connection.
MoodEntry - Class in com.wellnessapp.model.mood
 
MoodEntry(MoodType) - Constructor for class com.wellnessapp.model.mood.MoodEntry
Constructs a mood entry with only the mood specified, using the current time as the timestamp and no comment.
MoodEntry(MoodType, LocalDateTime, String) - Constructor for class com.wellnessapp.model.mood.MoodEntry
Represents an entry in the mood log with various constructors for different use cases.
MoodManager - Class in com.wellnessapp.model.mood
Manages mood entries, providing methods to add, retrieve, update, and delete mood entries.
MoodManager(IMoodDAO) - Constructor for class com.wellnessapp.model.mood.MoodManager
 
MoodPopupController - Class in com.wellnessapp.controller
Responsible for managing logic for the mood entry popup.
MoodPopupController() - Constructor for class com.wellnessapp.controller.MoodPopupController
 

N

NoticeBO - Class in com.wellnessapp.model.notice
NoticeBO represents a notice object containing a title and text.
NoticeBO.TextSetter - Interface in com.wellnessapp.model.notice
 
NoticeBO.TitleSetter - Interface in com.wellnessapp.model.notice
 
NoticeManager - Class in com.wellnessapp.model.notice
Manager responsible for simplifying logic to schedule notifications (notices)
NoticeManager() - Constructor for class com.wellnessapp.model.notice.NoticeManager
Constructs a new NoticeManager with a timer.
NoticeTask - Class in com.wellnessapp.model.notice
NoticeTask is a TimerTask implementation that displays notifications based on a NoticeBO.
NoticeTask(NoticeBO) - Constructor for class com.wellnessapp.model.notice.NoticeTask
Constructs a NoticeTask with the provided NoticeBO.

O

on11AM() - Method in class com.wellnessapp.controller.Reminder
 
on1PM() - Method in class com.wellnessapp.controller.Reminder
 
on3PM() - Method in class com.wellnessapp.controller.Reminder
 
on5PM() - Method in class com.wellnessapp.controller.Reminder
 
on9AM() - Method in class com.wellnessapp.controller.Reminder
 
onAgreeCheckBoxClick() - Method in class com.wellnessapp.controller.MainController
 
onCancelButtonClick() - Method in class com.wellnessapp.controller.MainController
 
onCancelButtonClick() - Method in class com.wellnessapp.controller.Reminder
 
onCancelEntry() - Method in class com.wellnessapp.controller.MoodPopupController
 
onConfirmButtonClick() - Method in class com.wellnessapp.controller.Reminder
 
onContactusButtonClick() - Method in class com.wellnessapp.controller.MainController
 
onContactusButtonClick() - Method in class com.wellnessapp.controller.WellnessTipController
 
onCreateEntry() - Method in class com.wellnessapp.controller.MoodPopupController
 
onDelete() - Method in class com.wellnessapp.controller.MoodChartController
 
onFullExitButton() - Method in class com.wellnessapp.controller.MainController
 
onHomeButton() - Method in class com.wellnessapp.controller.MoodChartController
 
onHomeButtonClick() - Method in class com.wellnessapp.controller.WellnessTipController
 
onHydrationButton() - Method in class com.wellnessapp.controller.MainController
 
onMoodChartButton() - Method in class com.wellnessapp.controller.MainController
 
onMoodLogPopupButton() - Method in class com.wellnessapp.controller.MainController
 
onMount(Runnable) - Method in class com.wellnessapp.controller.BaseController
The onMount method forces code execution to wait until it can be executed on the JavaFX thread when the page mount is completed.
onMount(Runnable) - Method in interface com.wellnessapp.controller.IBaseController
 
onNewEntry() - Method in class com.wellnessapp.controller.MoodChartController
 
onReminderButtonClick() - Method in class com.wellnessapp.controller.MainController
 
onSettingsButtonClick() - Method in class com.wellnessapp.controller.MainController
 
onUpdate() - Method in class com.wellnessapp.controller.MoodChartController
 
onWellnessTipsButtonClick() - Method in class com.wellnessapp.controller.MainController
 

R

Reminder - Class in com.wellnessapp.controller
Responsible for managing the logic for the reminder view.
Reminder() - Constructor for class com.wellnessapp.controller.Reminder
 
ReminderDAO - Class in com.wellnessapp.model
 
ReminderDAO() - Constructor for class com.wellnessapp.model.ReminderDAO
 
ReminderEntry - Class in com.wellnessapp.model
 
ReminderEntry(String, Date, String, String, String) - Constructor for class com.wellnessapp.model.ReminderEntry
 
ReminderService - Class in com.wellnessapp.controller
 
ReminderService() - Constructor for class com.wellnessapp.controller.ReminderService
 
run() - Method in class com.wellnessapp.model.notice.NoticeTask
Runs the task, displaying a notification with the notice's title and text.

S

scheduleNotice(LocalDateTime, NoticeBO) - Method in interface com.wellnessapp.model.notice.INoticeManager
 
scheduleNotice(LocalDateTime, NoticeBO) - Method in class com.wellnessapp.model.notice.NoticeManager
Schedules a notice to be executed at the specified date and time.
setComment(String) - Method in interface com.wellnessapp.model.mood.IMoodEntry
 
setComment(String) - Method in class com.wellnessapp.model.mood.MoodEntry
 
setComments(String) - Method in class com.wellnessapp.model.ReminderEntry
 
setDate(Date) - Method in class com.wellnessapp.model.ReminderEntry
 
setFirstTip(String) - Method in class com.wellnessapp.model.Tipcontents
 
setId(int) - Method in class com.wellnessapp.model.hydration.HydrationEntry
 
setId(int) - Method in interface com.wellnessapp.model.mood.IMoodEntry
 
setId(int) - Method in class com.wellnessapp.model.mood.MoodEntry
 
setId(int) - Method in class com.wellnessapp.model.ReminderEntry
 
setMood(MoodType) - Method in interface com.wellnessapp.model.mood.IMoodEntry
 
setMood(MoodType) - Method in class com.wellnessapp.model.mood.MoodEntry
 
setReminderInterval(int) - Method in class com.wellnessapp.controller.ReminderService
 
setRemindersEnabled(boolean) - Method in class com.wellnessapp.controller.ReminderService
 
setTime(String) - Method in class com.wellnessapp.model.ReminderEntry
 
setTimestamp(LocalDateTime) - Method in interface com.wellnessapp.model.mood.IMoodEntry
 
setTimestamp(LocalDateTime) - Method in class com.wellnessapp.model.mood.MoodEntry
 
SettingsPopupController - Class in com.wellnessapp.controller
Responsible for managing the logic for the settings popup.
SettingsPopupController() - Constructor for class com.wellnessapp.controller.SettingsPopupController
 
setTitle(String) - Method in class com.wellnessapp.model.ReminderEntry
 
setUrl(String) - Method in class com.wellnessapp.model.ReminderEntry
 
SignUpController - Class in com.wellnessapp.controller
Responsible for managing the logic for the signup view.
SignUpController() - Constructor for class com.wellnessapp.controller.SignUpController
 
start(Stage) - Method in class com.wellnessapp.Main
 

T

text(String) - Method in interface com.wellnessapp.model.notice.NoticeBO.TextSetter
 
timeSinceLastHydration() - Method in class com.wellnessapp.model.hydration.HydrationManager
 
Tipcontents - Class in com.wellnessapp.model
 
Tipcontents(String) - Constructor for class com.wellnessapp.model.Tipcontents
 
title(String) - Method in interface com.wellnessapp.model.notice.NoticeBO.TitleSetter
 
TITLE - Static variable in class com.wellnessapp.Main
The Title of the application window.

U

update(MoodEntry) - Method in class com.wellnessapp.model.mood.MoodManager
 
Update(MoodEntry) - Method in interface com.wellnessapp.model.mood.IMoodDAO
 
Update(MoodEntry) - Method in class com.wellnessapp.model.mood.MoodDAO
Updates an existing mood entry in the database.
updateReminder(ReminderEntry) - Method in interface com.wellnessapp.model.IReminderDAO
 
updateReminder(ReminderEntry) - Method in class com.wellnessapp.model.ReminderDAO
 
User - Class in com.wellnessapp.model
 
User(String, String) - Constructor for class com.wellnessapp.model.User
 
UserDAO - Class in com.wellnessapp.model
 
UserDAO() - Constructor for class com.wellnessapp.model.UserDAO
 

W

WellnessTipController - Class in com.wellnessapp.controller
Responsible for managing the logic for the wellness tip view.
WellnessTipController() - Constructor for class com.wellnessapp.controller.WellnessTipController
 
WIDTH - Static variable in class com.wellnessapp.Main
The Width of the application window.
A B C D G H I L M N O R S T U W 
All Classes and Interfaces|All Packages|Constant Field Values