Index

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

A

addCrime(CrimeRecord) - Method in interface com.example.cab302project.IAppDAO
Records a new crime incident in the data store.
addCrime(CrimeRecord) - Method in class com.example.cab302project.SqliteDAO
Records a new crime incident in the data store.
addUser(User) - Method in interface com.example.cab302project.IAppDAO
Persists a new user in the data store.
addUser(User) - Method in class com.example.cab302project.SqliteDAO
Persists a new user in the data store.
apply(Scene) - Static method in class com.example.cab302project.ThemeManager
Reads the current user's dark-mode preference from UserSession and applies or removes the dark-mode CSS class on the scene's root node accordingly.
ARMEDROBBERY - Enum constant in enum class com.example.cab302project.CrimeCategory
Robbery committed with the use of a lethal weapon.
ARSON - Enum constant in enum class com.example.cab302project.CrimeCategory
Willful and malicious burning of property.
ASSAULT - Enum constant in enum class com.example.cab302project.CrimeCategory
Physical attack or threat of attack on another person.

B

boundingBox - Variable in class com.example.cab302project.SuburbSearchService.SuburbResult
Bounding box: [minLat, maxLat, minLon, maxLon]
BREAKINGANDENTERING - Enum constant in enum class com.example.cab302project.CrimeCategory
Illegal entry into a building with the intent to commit a crime.

C

close() - Method in class com.example.cab302project.HamburgerMenu
Closes the drawer by sliding it back off screen and hiding the backdrop.
close() - Method in class com.example.cab302project.PoliceHamburgerMenu
Closes the drawer by sliding it back off screen and hiding the backdrop.
com.example.cab302project - module com.example.cab302project
 
com.example.cab302project - package com.example.cab302project
 
CrimeCategory - Enum Class in com.example.cab302project
Represents the various categories of crimes handled by the system.
CrimeCategory.Severity - Enum Class in com.example.cab302project
Defines the severity levels for crime categories.
CrimeRecord - Class in com.example.cab302project
Represents a single crime report within the system.
CrimeRecord(int, CrimeCategory, LocalDateTime, double, double, String, String, boolean) - Constructor for class com.example.cab302project.CrimeRecord
Constructs a new CrimeRecord with full details.
CrimesController - Class in com.example.cab302project
Controller for the public crime reports screen (crimes-view.fxml).
CrimesController() - Constructor for class com.example.cab302project.CrimesController
Constructs the CrimesController and initialises the database access object (DAO).
CRITICAL - Enum constant in enum class com.example.cab302project.CrimeCategory.Severity
High priority/urgent severity.

D

DARK_CLASS - Static variable in class com.example.cab302project.ThemeManager
The CSS class applied to the scene root when dark mode is active.
DashboardController - Class in com.example.cab302project
Controller for the public dashboard screen (dashboard-view.fxml).
DashboardController() - Constructor for class com.example.cab302project.DashboardController
Initialises the controller and retrieves the shared DAO instance.
DATABASE - Static variable in class com.example.cab302project.HelloApplication
The shared Data Access Object instance used across the application.
DB_FORMATTER - Static variable in class com.example.cab302project.UIUtils
Formatter for database-compatible timestamp strings.
deleteCrime(int) - Method in interface com.example.cab302project.IAppDAO
Removes a crime record from the data store based on its unique identifier.
deleteCrime(int) - Method in class com.example.cab302project.SqliteDAO
Removes a crime record from the data store based on its unique identifier.
DISPLAY_FORMATTER - Static variable in class com.example.cab302project.UIUtils
Formatter for user-friendly display of timestamps.
displayName - Variable in class com.example.cab302project.SuburbSearchService.SuburbResult
Human-readable name of the found location.
DOMESTICABUSE - Enum constant in enum class com.example.cab302project.CrimeCategory
Crimes involving physical or emotional abuse within a domestic setting.
DRUGUSE - Enum constant in enum class com.example.cab302project.CrimeCategory
Crimes involving the illegal consumption or possession of controlled substances.

F

formatBoolean(boolean) - Static method in class com.example.cab302project.UIUtils
Converts a boolean value into a "Yes" or "No" string for UI display.
formatForDb(LocalDateTime) - Static method in class com.example.cab302project.UIUtils
Formats a LocalDateTime object into a string suitable for SQLite storage.
formatLocalDateTime(LocalDateTime) - Static method in class com.example.cab302project.UIUtils
Formats a LocalDateTime for display within the application UI.

G

generateSummary(String) - Method in class com.example.cab302project.OllamaService
Sends a prompt to Ollama and returns the generated response text.
geocodeAddress(String) - Method in interface com.example.cab302project.IGeocodingService
Converts an address string into geographic coordinates.
geocodeAddress(String) - Method in class com.example.cab302project.OpenStreetMapGeoCoder
Converts an address into latitude and longitude using the Nominatim API.
geoJson - Variable in class com.example.cab302project.SuburbSearchService.SuburbResult
GeoJSON geometry string for the suburb boundary polygon, or null if unavailable.
getAddressSuggestions(String) - Method in interface com.example.cab302project.IGeocodingService
Returns address suggestions based on a partial search query.
getAddressSuggestions(String) - Method in class com.example.cab302project.OpenStreetMapGeoCoder
Retrieves up to 5 address suggestions for the given query using the Nominatim API.
getAllCrimes() - Method in interface com.example.cab302project.IAppDAO
Retrieves every crime record currently stored in the system.
getAllCrimes() - Method in class com.example.cab302project.SqliteDAO
Retrieves every crime record currently stored in the system.
getCategory() - Method in class com.example.cab302project.CrimeRecord
Retrieves the category classification of the crime.
getCount() - Method in class com.example.cab302project.Hotspot
Returns the number of crimes clustered at this hotspot.
getCrimeById(int) - Method in interface com.example.cab302project.IAppDAO
Retrieves a specific crime record by its unique identifier.
getCrimeById(int) - Method in class com.example.cab302project.SqliteDAO
Retrieves a specific crime record by its unique identifier.
getCrimesByUser(String) - Method in interface com.example.cab302project.IAppDAO
Retrieves all crime incidents reported by a specific user.
getCrimesByUser(String) - Method in class com.example.cab302project.SqliteDAO
Retrieves all crime incidents reported by a specific user.
getDescription() - Method in class com.example.cab302project.CrimeRecord
Retrieves the full text description of the report.
getDisplayName() - Method in enum class com.example.cab302project.UserType
Gets the human-readable display name of the user type.
getEmail() - Method in class com.example.cab302project.User
Gets the registered email address.
getHomeLatitude() - Method in class com.example.cab302project.User
Gets the latitude of the home location.
getHomeLongitude() - Method in class com.example.cab302project.User
Gets the longitude of the home location.
getId() - Method in class com.example.cab302project.CrimeRecord
Retrieves the database primary key ID.
getInstance() - Static method in class com.example.cab302project.SqliteConnection
Retrieves the active database connection.
getInstance() - Static method in class com.example.cab302project.UserSession
Retrieves the current active session.
getLatitude() - Method in class com.example.cab302project.CrimeRecord
Retrieves the latitude of the reported incident.
getLatitude() - Method in class com.example.cab302project.Hotspot
Returns the latitude of the hotspot centre.
getLongitude() - Method in class com.example.cab302project.CrimeRecord
Retrieves the longitude of the reported incident.
getLongitude() - Method in class com.example.cab302project.Hotspot
Returns the longitude of the hotspot centre.
getName() - Method in enum class com.example.cab302project.CrimeCategory
Gets the human-readable name of the crime category.
getPassword() - Method in class com.example.cab302project.User
Gets the account password.
getPhone() - Method in class com.example.cab302project.User
Gets the registered phone number.
getPort() - Method in class com.example.cab302project.TileProxyServer
Returns the port the server is listening on.
getRelativeTime(LocalDateTime) - Static method in class com.example.cab302project.CrimesController
Returns a human-readable relative time string from a LocalDateTime.
getReporter() - Method in class com.example.cab302project.CrimeRecord
Retrieves the identifier of the reporting user.
getReporterDisplayName() - Method in class com.example.cab302project.CrimeRecord
Helper method for UI components.
getSeverity() - Method in enum class com.example.cab302project.CrimeCategory
Gets the severity level associated with this crime category.
getTileServerPort() - Static method in class com.example.cab302project.HelloApplication
Returns the port the local OSM tile proxy is running on.
getTimestamp() - Method in class com.example.cab302project.CrimeRecord
Retrieves the date and time associated with the report.
getTimestampForDb() - Method in class com.example.cab302project.CrimeRecord
Helper method for DAO: Returns the timestamp as a String for SQLite
getUser() - Method in class com.example.cab302project.UserSession
Gets the user data associated with the current session.
getUsername() - Method in class com.example.cab302project.User
Gets the unique username identifier for the account.
getUserType() - Method in class com.example.cab302project.User
Gets the user type role for permission handling.
GRAFFITI - Enum constant in enum class com.example.cab302project.CrimeCategory
Crimes involving unauthorized marking or painting on property.

H

HamburgerMenu - Class in com.example.cab302project
Side drawer navigation menu for public users (hamburger-menu.fxml).
HamburgerMenu(Stage) - Constructor for class com.example.cab302project.HamburgerMenu
Loads the hamburger menu FXML and attaches it to the scene graph.
HEIGHT - Static variable in class com.example.cab302project.HelloApplication
The default height of the application window in pixels.
HelloApplication - Class in com.example.cab302project
The main entry point for the RADIUS JavaFX application.
HelloApplication() - Constructor for class com.example.cab302project.HelloApplication
 
HelloController - Class in com.example.cab302project
Controller for the welcome/splash screen (hello-view.fxml).
HelloController() - Constructor for class com.example.cab302project.HelloController
 
hideAiSummaryPopup() - Method in class com.example.cab302project.PoliceDashboardController
Hides the AI summary card when the user closes it or clears the suburb search.
HOMICIDE - Enum constant in enum class com.example.cab302project.CrimeCategory
The unlawful killing of one human being by another.
Hotspot - Class in com.example.cab302project
Represents a geographic crime hotspot, defined by a central coordinate and the number of crimes clustered within that area.
Hotspot(double, double, int) - Constructor for class com.example.cab302project.Hotspot
Constructs a new Hotspot with the given coordinates and crime count.
HotspotsController - Class in com.example.cab302project
Controller for the dedicated hotspots map screen (hotspots-view.fxml).
HotspotsController() - Constructor for class com.example.cab302project.HotspotsController
Initialises the controller with the shared database instance.

I

IAppDAO - Interface in com.example.cab302project
Interface defining the Data Access Object (DAO) contract for the application.
IGeocodingService - Interface in com.example.cab302project
Interface defining the geocoding service used within the application.
initialize() - Method in class com.example.cab302project.CrimesController
This method runs automatically after the FXML has loaded
initialize() - Method in class com.example.cab302project.DashboardController
Runs automatically after the FXML has loaded.
initialize() - Method in class com.example.cab302project.HotspotsController
Loads the hotspot map and sets the active navigation tab.
initialize() - Method in class com.example.cab302project.MyReportsController
Initialises the screen after the FXML has loaded.
initialize() - Method in class com.example.cab302project.PoliceCrimesController
This method runs automatically after the FXML has loaded
initialize() - Method in class com.example.cab302project.PoliceDashboardController
Runs automatically after the FXML has loaded.
initialize() - Method in class com.example.cab302project.ProfileController
Initialises the screen after the FXML has loaded.
initialize() - Method in class com.example.cab302project.RegisterController
Wires up address autocomplete after FXML has loaded.
isActioned() - Method in class com.example.cab302project.CrimeRecord
Checks if the report has been marked as actioned by authorities.
isDarkMode() - Method in class com.example.cab302project.User
Checks if the dark mode preference is enabled.
isDarkMode() - Static method in class com.example.cab302project.UserSession
Helper method to determine if the logged-in user prefers Dark Mode.
isInBoundingBox(double, double, double[]) - Static method in class com.example.cab302project.SuburbSearchService
Checks whether a lat/lon coordinate falls within the given bounding box.
isPolice() - Method in class com.example.cab302project.User
Checks if the user has police-level permissions.
isPolice() - Static method in class com.example.cab302project.UserSession
Helper method to determine if the currently logged-in user has police permissions.
isValidCoordinate(double, double) - Static method in class com.example.cab302project.UIUtils
Validates if a set of coordinates is within global bounds.
isValidEmail(String) - Static method in class com.example.cab302project.UIUtils
Validates an email address using a standard regular expression.
isValidPhone(String) - Static method in class com.example.cab302project.UIUtils
Validates that a phone number consists of exactly 10 numeric digits.

L

lat - Variable in class com.example.cab302project.SuburbSearchService.SuburbResult
Centre latitude of the suburb.
Launcher - Class in com.example.cab302project
Entry point for launching the JavaFX application.
Launcher() - Constructor for class com.example.cab302project.Launcher
 
LeafletLoader - Class in com.example.cab302project
Utility for loading Leaflet.js into a JavaFX WebEngine.
LITTERING - Enum constant in enum class com.example.cab302project.CrimeCategory
Crimes involving the improper disposal of waste.
loadMap(WebView, String, Runnable) - Static method in class com.example.cab302project.LeafletLoader
Loads the given HTML map file into the WebView and, once loaded: 1.
login(User) - Static method in class com.example.cab302project.UserSession
Initializes a new global session upon successful authentication.
LoginController - Class in com.example.cab302project
Controller class for the Login screen (login-view.fxml).
LoginController() - Constructor for class com.example.cab302project.LoginController
Initializes a new LoginController.
logout() - Static method in class com.example.cab302project.UserSession
Terminates the current session by clearing the global instance.
LOITERING - Enum constant in enum class com.example.cab302project.CrimeCategory
Crimes involving remaining in a public place without apparent purpose.
lon - Variable in class com.example.cab302project.SuburbSearchService.SuburbResult
Centre longitude of the suburb.
LOW - Enum constant in enum class com.example.cab302project.CrimeCategory.Severity
Low priority/severity.

M

main(String[]) - Static method in class com.example.cab302project.Launcher
 
MEDIUM - Enum constant in enum class com.example.cab302project.CrimeCategory.Severity
Moderate priority/severity.
MyReportsController - Class in com.example.cab302project
Controller responsible for displaying and managing the user's submitted crime reports.
MyReportsController() - Constructor for class com.example.cab302project.MyReportsController
Constructs a new MyReportsController and initialises the DAO from the main application database instance.

N

NavBarController - Class in com.example.cab302project
Controller for the shared bottom navigation bar (nav-bar.fxml).
NavBarController() - Constructor for class com.example.cab302project.NavBarController
 
NOISE - Enum constant in enum class com.example.cab302project.CrimeCategory
Crimes involving excessive or disruptive noise levels.

O

OllamaService - Class in com.example.cab302project
Small helper for requesting crime summaries from a local Ollama model.
OllamaService() - Constructor for class com.example.cab302project.OllamaService
 
onActionedChanged() - Method in class com.example.cab302project.DashboardController
Called when the actioned status dropdown changes.
onActionedChanged() - Method in class com.example.cab302project.PoliceDashboardController
Called when the actioned status dropdown changes.
onAddNewCrime() - Method in class com.example.cab302project.CrimesController
Add a new crime to the database after entering details.
onBackButtonClick() - Method in class com.example.cab302project.CrimesController
Return to the previous menu (dashboard)
onBackButtonClick() - Method in class com.example.cab302project.HotspotsController
Navigates back to the dashboard view.
onBackButtonClick() - Method in class com.example.cab302project.PoliceCrimesController
Return to the previous menu (dashboard)
onBackdropClicked() - Method in class com.example.cab302project.DashboardController
Called when the user clicks anywhere on the transparent backdrop behind the filter drawer.
onBackdropClicked() - Method in class com.example.cab302project.PoliceDashboardController
Called when the user clicks anywhere on the transparent backdrop behind the filter drawer.
onCategoryChanged() - Method in class com.example.cab302project.DashboardController
Called when the crime category dropdown changes.
onCategoryChanged() - Method in class com.example.cab302project.PoliceDashboardController
Called when the crime category dropdown changes.
onClearSearch() - Method in class com.example.cab302project.DashboardController
Clears the suburb search, removes the boundary from the map, and resets to all crimes.
onClearSearch() - Method in class com.example.cab302project.PoliceDashboardController
Clears the suburb search, removes the boundary from the map, and resets to all crimes.
onCloseDetail() - Method in class com.example.cab302project.CrimesController
Close the detail panel - slides back down off screen.
onCloseDetail() - Method in class com.example.cab302project.MyReportsController
Closes the detail panel by animating it sliding back down off-screen.
onCloseDetail() - Method in class com.example.cab302project.PoliceCrimesController
Closes the detail panel with a slide-down animation and clears selection.
onCrimeBackdropClicked() - Method in class com.example.cab302project.CrimesController
Closes the crime map filter drawer when the user clicks outside it.
onCrimeClearSearch() - Method in class com.example.cab302project.CrimesController
Clears the suburb search on the crime map, removes the boundary polygon, and resets the map to show all crimes.
onCrimeFilterChanged() - Method in class com.example.cab302project.CrimesController
Called when any crime map filter dropdown changes value.
onCrimeFilterDrawerClicked(MouseEvent) - Method in class com.example.cab302project.CrimesController
Consumes mouse clicks on the filter drawer itself so they do not propagate to the backdrop and accidentally close the panel.
onCrimeResetFilters() - Method in class com.example.cab302project.CrimesController
Resets all crime map filter dropdowns to their defaults and refreshes the map.
onCrimes() - Method in class com.example.cab302project.NavBarController
Navigates to the crimes / reports screen.
onCrimeSearch() - Method in class com.example.cab302project.CrimesController
Handles suburb search on the crime map when the user presses enter or Search.
onCrimeToggleFilter() - Method in class com.example.cab302project.CrimesController
Toggles the crime map filter drawer open and closed.
onDaysChanged() - Method in class com.example.cab302project.DashboardController
Called when the days filter dropdown changes.
onDaysChanged() - Method in class com.example.cab302project.PoliceDashboardController
Called when the days filter dropdown changes.
onFilterChanged() - Method in class com.example.cab302project.CrimesController
Handles changes from any filter menu option.
onFilterChanged() - Method in class com.example.cab302project.MyReportsController
Handles changes from any filter menu option.
onFilterChanged() - Method in class com.example.cab302project.PoliceCrimesController
Handles changes from any filter menu option.
onFilterDrawerClicked(MouseEvent) - Method in class com.example.cab302project.DashboardController
Consumes mouse clicks on the filter drawer itself so they do not propagate to the backdrop and accidentally close the panel.
onFilterDrawerClicked(MouseEvent) - Method in class com.example.cab302project.PoliceDashboardController
Consumes mouse clicks on the filter drawer itself so they do not propagate to the backdrop and accidentally close the panel.
onHelloButtonClick() - Method in class com.example.cab302project.HelloController
"Create an Account" button - navigates to register screen.
onListTabClick() - Method in class com.example.cab302project.CrimesController
Shows the list pane and marks the List tab as active.
onLogin() - Method in class com.example.cab302project.LoginController
Handles the login button action.
onLoginButtonClick() - Method in class com.example.cab302project.HelloController
"Sign In" button - navigates to login screen.
onLogout() - Method in class com.example.cab302project.DashboardController
Returns to the login screen and logs out the current UserSession.
onLogout() - Method in class com.example.cab302project.PoliceDashboardController
Returns to the login screen and logs out the current UserSession.
onMap() - Method in class com.example.cab302project.NavBarController
Navigates to the map screen.
onMapTabClick() - Method in class com.example.cab302project.CrimesController
Shows the map pane and marks the Map tab as active.
onMarkAsDealt() - Method in class com.example.cab302project.PoliceCrimesController
Marks the selected crime as dealt with and updates the database.
onOpenedBannerClicked() - Method in class com.example.cab302project.CrimesController
Handles a tap on the Opened Report banner above the list.
onProfile() - Method in class com.example.cab302project.NavBarController
Navigates to the user profile screen.
onRegister() - Method in class com.example.cab302project.LoginController
Handles the register button action.
onRegisterAccount() - Method in class com.example.cab302project.RegisterController
Handles the registration logic when the user submits the form.
onResetFilters() - Method in class com.example.cab302project.DashboardController
Resets all filter dropdowns to their defaults and refreshes the map.
onResetFilters() - Method in class com.example.cab302project.PoliceDashboardController
Resets all filter dropdowns to their defaults and refreshes the map.
onReturnToLogin() - Method in class com.example.cab302project.RegisterController
Navigates the application back to the login screen.
onSave() - Method in class com.example.cab302project.CrimesController
Handles saving a crime report based on form input.
onSave() - Method in class com.example.cab302project.PoliceCrimesController
Handles saving a crime report based on form input.
onSave() - Method in class com.example.cab302project.ProfileController
Validates and saves the user's updated profile information to the database.
onSaveChanges() - Method in class com.example.cab302project.MyReportsController
Saves the currently opened (unsubmitted) report to the database.
onSearch() - Method in class com.example.cab302project.DashboardController
Handles the suburb search when the user presses enter or the Search button.
onSearch() - Method in class com.example.cab302project.PoliceDashboardController
Handles the suburb search when the user presses enter or the Search button.
onSubmitNewReport() - Method in class com.example.cab302project.MyReportsController
Navigates to the report submission view.
onSubmitReport() - Method in class com.example.cab302project.DashboardController
Navigates to the crimes screen so the user can submit a new report.
onTabLogin() - Method in class com.example.cab302project.LoginController
Action handler for the Login tab button.
onTabLogin() - Method in class com.example.cab302project.RegisterController
Action handler for the Login tab button.
onTabSignup() - Method in class com.example.cab302project.LoginController
Action handler for the Sign Up tab button.
onTabSignup() - Method in class com.example.cab302project.RegisterController
Action handler for the Sign Up tab button.
onToggleFilter() - Method in class com.example.cab302project.DashboardController
Toggles the filter drawer open and closed.
onToggleFilter() - Method in class com.example.cab302project.PoliceDashboardController
Toggles the filter drawer open and closed.
open() - Method in class com.example.cab302project.HamburgerMenu
Opens the drawer by sliding it in from the left and showing the dim backdrop.
open() - Method in class com.example.cab302project.PoliceHamburgerMenu
Opens the drawer by sliding it in from the left and showing the dim backdrop.
OpenStreetMapGeoCoder - Class in com.example.cab302project
Implementation of the geocoding service using OpenStreetMap Nominatim API.
OpenStreetMapGeoCoder() - Constructor for class com.example.cab302project.OpenStreetMapGeoCoder
 
OTHER - Enum constant in enum class com.example.cab302project.CrimeCategory
Represents miscellaneous crimes not specifically categorized.

P

parseFromDb(String) - Static method in class com.example.cab302project.UIUtils
Parses a timestamp string retrieved from the database into a LocalDateTime object.
PETTYTHEFT - Enum constant in enum class com.example.cab302project.CrimeCategory
Theft of low-value property without the use of force.
POLICE - Enum constant in enum class com.example.cab302project.UserType
A law enforcement user with elevated privileges for managing and actioning crime reports.
PoliceCrimesController - Class in com.example.cab302project
Controller for the police crime management screen.
PoliceCrimesController() - Constructor for class com.example.cab302project.PoliceCrimesController
 
PoliceDashboardController - Class in com.example.cab302project
Controller for the police dashboard screen (police-dashboard-view.fxml).
PoliceDashboardController() - Constructor for class com.example.cab302project.PoliceDashboardController
Initialises the controller and retrieves the shared DAO instance.
PoliceHamburgerMenu - Class in com.example.cab302project
Side drawer navigation menu for police users (police-hamburger-menu.fxml).
PoliceHamburgerMenu(Stage) - Constructor for class com.example.cab302project.PoliceHamburgerMenu
Loads the police hamburger menu FXML and attaches it to the scene graph.
ProfileController - Class in com.example.cab302project
Controller for the User Profile screen (profile-view.fxml).
ProfileController() - Constructor for class com.example.cab302project.ProfileController
Constructs a new ProfileController and initialises the DAO from the main application database instance.
PROPERTYDAMAGE - Enum constant in enum class com.example.cab302project.CrimeCategory
General crimes resulting in damage to physical property.
PUBLICDISTURBANCE - Enum constant in enum class com.example.cab302project.CrimeCategory
Crimes involving disruptive behavior in public spaces.

R

RegisterController - Class in com.example.cab302project
Controller class for the User Registration screen (register-view.fxml).
RegisterController() - Constructor for class com.example.cab302project.RegisterController
Initializes a new RegisterController.
REGULAR - Enum constant in enum class com.example.cab302project.UserType
A standard citizen user with reporting and personal tracking capabilities.
reverseGeocode(double, double) - Method in interface com.example.cab302project.IGeocodingService
Converts latitude and longitude coordinates into a human-readable address.
reverseGeocode(double, double) - Method in class com.example.cab302project.OpenStreetMapGeoCoder
Converts latitude and longitude coordinates into a human-readable address using the OpenStreetMap Nominatim reverse geocoding service.
ROBBERY - Enum constant in enum class com.example.cab302project.CrimeCategory
Theft involving the use of force or intimidation.

S

search(String) - Method in class com.example.cab302project.SuburbSearchService
Searches for a suburb by name and returns its boundary data.
setActioned(boolean) - Method in class com.example.cab302project.CrimeRecord
Sets the current actioned status of the report.
setActiveTab(String) - Method in class com.example.cab302project.NavBarController
Marks the specified tab as active by applying the active label style and recolouring its FontIcon to the primary navy colour.
setCategory(CrimeCategory) - Method in class com.example.cab302project.CrimeRecord
Sets the crime category classification.
setDarkMode(boolean) - Method in class com.example.cab302project.User
Updates the user's preference for the dark mode UI theme.
setDescription(String) - Method in class com.example.cab302project.CrimeRecord
Sets the descriptive text for the incident.
setEmail(String) - Method in class com.example.cab302project.User
Updates the registered email address.
setHomeLocation(double, double) - Method in class com.example.cab302project.User
Updates the user's home geographic coordinates using validation.
setLocation(double, double) - Method in class com.example.cab302project.CrimeRecord
Updates the geographic coordinates of the incident using validation.
setOnDarkModeChanged(Runnable) - Method in class com.example.cab302project.HamburgerMenu
Sets a callback invoked whenever dark mode is toggled.
setOnDarkModeChanged(Runnable) - Method in class com.example.cab302project.PoliceHamburgerMenu
Sets a callback invoked whenever dark mode is toggled.
setPassword(String) - Method in class com.example.cab302project.User
Updates the stored password hash.
setPhone(String) - Method in class com.example.cab302project.User
Updates the registered phone number.
setReporter(String) - Method in class com.example.cab302project.CrimeRecord
Sets the identifier for the reporting user.
setTimestamp(LocalDateTime) - Method in class com.example.cab302project.CrimeRecord
Sets the timestamp for the incident.
SEXUALOFFENCE - Enum constant in enum class com.example.cab302project.CrimeCategory
Crimes involving non-consensual sexual acts.
showAlert(Alert.AlertType, String, String) - Static method in class com.example.cab302project.UIUtils
Displays a standardized JavaFX Alert dialog styled to match the RADIUS design system.
showAlert(Alert.AlertType, String, String, Stage) - Static method in class com.example.cab302project.UIUtils
Displays a standardized JavaFX Alert dialog with an explicit owner stage.
SqliteConnection - Class in com.example.cab302project
Manages a single, shared connection to the SQLite database.
SqliteDAO - Class in com.example.cab302project
SQLite-based implementation of the IAppDAO interface.
SqliteDAO() - Constructor for class com.example.cab302project.SqliteDAO
Initializes the SQLite DAO.
STALKING - Enum constant in enum class com.example.cab302project.CrimeCategory
The act of following or harassing a person in a threatening manner.
start() - Method in class com.example.cab302project.TileProxyServer
Starts the tile proxy on a random available port.
start(Stage) - Method in class com.example.cab302project.HelloApplication
Initializes and displays the primary stage (window) of the application.
stop() - Method in class com.example.cab302project.HelloApplication
Called by the JavaFX runtime when the application is shutting down.
stop() - Method in class com.example.cab302project.TileProxyServer
Stops the tile proxy server.
SuburbResult(String, double, double, double[], String) - Constructor for class com.example.cab302project.SuburbSearchService.SuburbResult
Constructs a suburb search result.
SuburbSearchService - Class in com.example.cab302project
Service for searching suburbs and retrieving their boundary polygons.
SuburbSearchService() - Constructor for class com.example.cab302project.SuburbSearchService
 
SuburbSearchService.SuburbResult - Class in com.example.cab302project
Result object returned from a suburb search.
switchScene(Stage, String) - Static method in class com.example.cab302project.UIUtils
Transitions the application to a different scene by loading an FXML file.

T

ThemeManager - Class in com.example.cab302project
Utility class for applying the application's light/dark theme.
ThemeManager() - Constructor for class com.example.cab302project.ThemeManager
 
TileProxyServer - Class in com.example.cab302project
A lightweight local HTTP tile proxy server for JavaFX WebView.
TileProxyServer() - Constructor for class com.example.cab302project.TileProxyServer
 
TITLE - Static variable in class com.example.cab302project.HelloApplication
The display title of the application window.
toggle() - Method in class com.example.cab302project.HamburgerMenu
Toggles the drawer open or closed depending on its current state.
toggle() - Method in class com.example.cab302project.PoliceHamburgerMenu
Toggles the drawer open or closed depending on its current state.
toString() - Method in enum class com.example.cab302project.CrimeCategory.Severity
Returns the display label of the severity.
toString() - Method in enum class com.example.cab302project.CrimeCategory
Returns the display name of the crime category.
toString() - Method in enum class com.example.cab302project.UserType
Returns the display name of the user type.
TRESPASSING - Enum constant in enum class com.example.cab302project.CrimeCategory
Unauthorized entry onto another person's property.

U

UIUtils - Class in com.example.cab302project
A collection of static utility methods for UI management, data validation, and formatting.
UIUtils() - Constructor for class com.example.cab302project.UIUtils
 
updateCrime(CrimeRecord) - Method in interface com.example.cab302project.IAppDAO
Updates the details of an existing crime record.
updateCrime(CrimeRecord) - Method in class com.example.cab302project.SqliteDAO
Updates the details of an existing crime record.
updateUser(User) - Method in interface com.example.cab302project.IAppDAO
Updates an existing user's information in the data store.
updateUser(User) - Method in class com.example.cab302project.SqliteDAO
Updates an existing user's information in the data store.
User - Class in com.example.cab302project
Represents a user within the RADIUS system.
User(String, String, String, String, double, double, boolean, UserType) - Constructor for class com.example.cab302project.User
Constructs a new User with full profile details.
UserSession - Class in com.example.cab302project
Manages the global authentication state for the application.
UserType - Enum Class in com.example.cab302project
Defines the access levels and roles available within the application.

V

validateUser(String, String) - Method in interface com.example.cab302project.IAppDAO
Validates a user's credentials against the data store.
validateUser(String, String) - Method in class com.example.cab302project.SqliteDAO
Validates a user's credentials against the data store.
valueOf(String) - Static method in enum class com.example.cab302project.CrimeCategory.Severity
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class com.example.cab302project.CrimeCategory
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class com.example.cab302project.UserType
Returns the enum constant of this class with the specified name.
values() - Static method in enum class com.example.cab302project.CrimeCategory.Severity
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class com.example.cab302project.CrimeCategory
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class com.example.cab302project.UserType
Returns an array containing the constants of this enum class, in the order they are declared.
VANDALISM - Enum constant in enum class com.example.cab302project.CrimeCategory
Crimes involving willful destruction or defacement of property.
viewCrimes() - Method in class com.example.cab302project.DashboardController
Navigates to the crimes view.
viewCrimes() - Method in class com.example.cab302project.PoliceDashboardController
Navigates to the police crimes view.
viewHotspots() - Method in class com.example.cab302project.DashboardController
Navigates to the hotspots view scene.
viewHotspots() - Method in class com.example.cab302project.PoliceDashboardController
Navigates to the hotspots view screen.
viewProfile() - Method in class com.example.cab302project.DashboardController
Navigates to the profile view.
viewProfile() - Method in class com.example.cab302project.PoliceDashboardController
Navigates to the profile view.

W

WEAPONS - Enum constant in enum class com.example.cab302project.CrimeCategory
Crimes involving illegal possession or use of restricted weapons.
WIDTH - Static variable in class com.example.cab302project.HelloApplication
The default width of the application window in pixels.
A B C D F G H I L M N O P R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values