Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- ADD - Enum constant in enum class com.nnamo.enums.UpdateMode
- addAllRows(Object[][]) - Method in class com.nnamo.view.customcomponents.CustomTable
- ADDED - Enum constant in enum class com.nnamo.models.ServiceModel.ExceptionType
- addFavorite(String, DataType) - Method in interface com.nnamo.interfaces.FavoriteBehaviour
- addFavRoute(int, String) - Method in class com.nnamo.services.DatabaseService
-
Add route to user's favorite routes
- addFavStop(int, String) - Method in class com.nnamo.services.DatabaseService
-
Add favorite stop to a user's favorite stops list
- addFavStop(UserModel, StopModel) - Method in class com.nnamo.services.DatabaseService
-
Add favorite stop to a user's favorite stops list
- addListener(FeedUpdateListener) - Method in class com.nnamo.services.RealtimeGtfsService
- addRow(Object[]) - Method in class com.nnamo.view.customcomponents.CustomTable
-
Adds a new row to the
JTable
with the specified data. - addSearchListener(SearchBarListener) - Method in class com.nnamo.view.customcomponents.CustomSearchBar
-
Adds a
SearchBarListener
to the list of listeners that will be notified when the search text changes. - addSearchListener(SearchBarListener) - Method in class com.nnamo.view.custompanels.PreferPanel
- addSearchListener(SearchBarListener) - Method in class com.nnamo.view.custompanels.SearchPanel
-
Adds a
SearchBarListener
to theCustomSearchBar
to handle search actions. - addSessionListener(SessionListener) - Method in class com.nnamo.controllers.UserController
- addStatisticTile(StatisticUnit) - Method in class com.nnamo.view.custompanels.StatisticsPanel
- addStatisticUpdateListener(StatisticUpdateListener) - Method in class com.nnamo.view.customcomponents.statistic.StatisticUnit
- addSwitchListener(SwitchBarListener) - Method in class com.nnamo.view.customcomponents.CustomSwitchBar
-
Adds a
SwitchBarListener
to the list of listeners. - addUser(UserModel) - Method in class com.nnamo.services.DatabaseService
-
Creates user from model
- addUser(String, String) - Method in class com.nnamo.services.DatabaseService
-
Creates user from username and password
- AgencyModel - Class in com.nnamo.models
-
Represents a GTFS agency entity.
- AgencyModel() - Constructor for class com.nnamo.models.AgencyModel
-
Empty constructor required by ORMLite.
- AgencyModel(String, String, String, String) - Constructor for class com.nnamo.models.AgencyModel
-
Constructs an AgencyModel with required fields.
- ALL - Enum constant in enum class com.nnamo.enums.RouteType
- ALLOWED_ADVANCE - Static variable in class com.nnamo.services.RealtimeGtfsService
- ALLOWED_DELAY - Static variable in class com.nnamo.services.RealtimeGtfsService
- AuthResult - Enum Class in com.nnamo.enums
- AVAILABLESEATS - Enum constant in enum class com.nnamo.enums.ColumnName
B
- batchCreate(Class<MODEL>, List<MODEL>) - Method in class com.nnamo.services.DatabaseService
-
Batch create or update multiple models
- batchCreateOrUpdate(Class<MODEL>, List<MODEL>) - Method in class com.nnamo.services.DatabaseService
-
Batch create or update multiple models
- build() - Method in class com.nnamo.view.customcomponents.CustomTable.Builder
-
Builds and returns a
CustomTable
instance with the specified parameters. - Builder() - Constructor for class com.nnamo.view.customcomponents.CustomTable.Builder
- BUS - Enum constant in enum class com.nnamo.enums.RouteType
- ButtonPanel - Class in com.nnamo.view.custompanels
- ButtonPanel(HashMap<JPanel, Icon>) - Constructor for class com.nnamo.view.custompanels.ButtonPanel
- ButtonPanelBehaviour - Interface in com.nnamo.interfaces
-
Interface that defines the behavior for a click on a
CustomButtonPanel
of theButtonPanel
.
C
- calculateBarycenter(List<StopModel>) - Static method in class com.nnamo.controllers.MapController
-
Calculate the geographical barycenter of a list of stops.
- calculateZoomLevel(List<StopModel>) - Static method in class com.nnamo.controllers.MapController
-
Calculate an appropriate zoom level based on the geographical spread of a list of stops.
- clear() - Method in class com.nnamo.view.customcomponents.CustomTable
-
Removes all the rows from the
JTable
. - clearPreferPanelTable() - Method in class com.nnamo.view.custompanels.LeftPanel
-
Clears the tables in the prefer panel.
- clearPreferPanelTable() - Method in class com.nnamo.view.frame.MainFrame
-
Clears the favorites table in the prefer panel.
- close() - Method in class com.nnamo.view.custompanels.PreferBarPanel
-
Hides the
PreferBarPanel
. - close() - Method in class com.nnamo.view.custompanels.StopPanel
-
Hides the
StopPanel
. - close() - Method in class com.nnamo.view.frame.LoginFrame
-
Hides the login frame and resets input fields.
- close() - Method in class com.nnamo.view.frame.MainFrame
-
Hides the main frame.
- close() - Method in class com.nnamo.view.frame.StartupLoadingFrame
- CODE - Enum constant in enum class com.nnamo.enums.ColumnName
- ColumnName - Enum Class in com.nnamo.enums
- com.nnamo - package com.nnamo
- com.nnamo.controllers - package com.nnamo.controllers
- com.nnamo.enums - package com.nnamo.enums
- com.nnamo.interfaces - package com.nnamo.interfaces
- com.nnamo.models - package com.nnamo.models
- com.nnamo.services - package com.nnamo.services
- com.nnamo.utils - package com.nnamo.utils
- com.nnamo.view.customcomponents - package com.nnamo.view.customcomponents
- com.nnamo.view.customcomponents.statistic - package com.nnamo.view.customcomponents.statistic
- com.nnamo.view.custompanels - package com.nnamo.view.custompanels
- com.nnamo.view.frame - package com.nnamo.view.frame
- com.nnamo.view.painter - package com.nnamo.view.painter
- com.nnamo.view.waypoints - package com.nnamo.view.waypoints
- computeMetric(List<GtfsRealtime.FeedEntity>) - Method in class com.nnamo.view.customcomponents.statistic.StatisticDetourBus
- computeMetric(List<GtfsRealtime.FeedEntity>) - Method in class com.nnamo.view.customcomponents.statistic.StatisticEarlyBus
- computeMetric(List<GtfsRealtime.FeedEntity>) - Method in class com.nnamo.view.customcomponents.statistic.StatisticLateBus
- computeMetric(List<GtfsRealtime.FeedEntity>) - Method in class com.nnamo.view.customcomponents.statistic.StatisticPunctualBus
- computeMetric(List<GtfsRealtime.FeedEntity>) - Method in class com.nnamo.view.customcomponents.statistic.StatisticStoppedBus
- computeMetric(List<GtfsRealtime.FeedEntity>) - Method in class com.nnamo.view.customcomponents.statistic.StatisticTotalBus
- computeMetric(List<GtfsRealtime.FeedEntity>) - Method in class com.nnamo.view.customcomponents.statistic.StatisticUnit
- createPreferPanelQueryBehavior() - Method in class com.nnamo.controllers.MainController
-
Creates a
SearchBarListener
that handles search queries for the prefer panel. - createSearchPanelQueryBehavior() - Method in class com.nnamo.controllers.MainController
-
Creates a
SearchBarListener
that handles search queries for the search panel. - createTripUpdateDelays(List<GtfsRealtime.FeedEntity>) - Method in class com.nnamo.services.DatabaseService
-
Create trip update delays from GTFS realtime feed entities
- currentIcon - Variable in class com.nnamo.view.painter.CustomPainter
- CustomButtonPanel - Class in com.nnamo.view.customcomponents
-
Custom
JPanel
that triggers a specificButtonPanelBehaviour
when clicked. - CustomButtonPanel(String, JPanel) - Constructor for class com.nnamo.view.customcomponents.CustomButtonPanel
-
Creates a
CustomButtonPanel
with a specified name and aJPanel
to interact with. - CustomColor - Class in com.nnamo.utils
-
Custom
Color
used in the application. - CustomColor() - Constructor for class com.nnamo.utils.CustomColor
- CustomFont - Class in com.nnamo.view.customcomponents
-
Custom
Font
utilized across the application, specifically set to value that are used in multiple components. - CustomFont() - Constructor for class com.nnamo.view.customcomponents.CustomFont
- CustomGbc - Class in com.nnamo.view.customcomponents
-
Custom
GridBagConstraints
class that provides a more manageable way to set the properties of aGridBagConstraints
object. - CustomGbc() - Constructor for class com.nnamo.view.customcomponents.CustomGbc
- CustomInfoBar - Class in com.nnamo.view.customcomponents
- CustomInfoBar(String) - Constructor for class com.nnamo.view.customcomponents.CustomInfoBar
-
Creates a CustomInfoBar with a specified label name, using the.
- CustomLogout() - Constructor for class com.nnamo.view.custompanels.SettingsPanel.CustomLogout
-
Creates a
SettingsPanel.CustomLogout
with a logoutJButton
. - CustomPainter - Class in com.nnamo.view.painter
-
An abstract class that extends
WaypointPainter
to provide functionality for rendering waypoints on a map with different icon sizes based on the zoom level. - CustomPainter(JXMapViewer) - Constructor for class com.nnamo.view.painter.CustomPainter
- CustomPreferButton - Class in com.nnamo.view.customcomponents
-
Custom
JButton
that allows users to add or remove items from their favorites. - CustomPreferButton() - Constructor for class com.nnamo.view.customcomponents.CustomPreferButton
-
Creates a
CustomPreferButton
with a default text and backgroundCustomColor
. - CustomRadioButtonsPanel - Class in com.nnamo.view.customcomponents
-
Custom
JPanel
that contains a group ofJRadioButton
components for filtering items. - CustomRadioButtonsPanel(ArrayList<JRadioButton>, String) - Constructor for class com.nnamo.view.customcomponents.CustomRadioButtonsPanel
-
Creates a
CustomRadioButtonsPanel
with a label and a scrollable panel ofJRadioButton
components. - CustomRoundedBorder - Class in com.nnamo.view.customcomponents
-
Custom rounded
Border
with corners and specified thickness. - CustomRoundedBorder(int, float) - Constructor for class com.nnamo.view.customcomponents.CustomRoundedBorder
- CustomSearchBar - Class in com.nnamo.view.customcomponents
-
Custom
JPanel
that provides a search bar with aJTextField
, a clearJButton
, and a set ofJRadioButton
for filtering search results. - CustomSearchBar() - Constructor for class com.nnamo.view.customcomponents.CustomSearchBar
-
Creates a
CustomSearchBar
with aJLabel
for theJTextField
, aJTextField
for input, and aJButton
to clear the input. - CustomSearchBar(ArrayList<JRadioButton>) - Constructor for class com.nnamo.view.customcomponents.CustomSearchBar
-
Creates a
CustomSearchBar
using the default constructor with a set ofJRadioButton
for filtering route search results based onRouteType
. - CustomSwitchBar - Class in com.nnamo.view.customcomponents
- CustomSwitchBar() - Constructor for class com.nnamo.view.customcomponents.CustomSwitchBar
-
Creates a
CustomSwitchBar
with a default status ofRealtimeStatus.OFFLINE
. - CustomTable - Class in com.nnamo.view.customcomponents
- CustomTable(CustomTable.Builder) - Constructor for class com.nnamo.view.customcomponents.CustomTable
-
Create a
CustomTable
with the specified parameters inside the builder. - CustomTable.Builder - Class in com.nnamo.view.customcomponents
-
Builder class for constructing a
CustomTable
instance with customizable parameters. - CustomTitle - Class in com.nnamo.view.customcomponents
-
Custom
JPanel
that displays a title with a specified font and size. - CustomTitle(String) - Constructor for class com.nnamo.view.customcomponents.CustomTitle
-
Creates a
CustomTitle
with specific title font and size for title purposes.
D
- DARKGRAY - Static variable in class com.nnamo.utils.CustomColor
- DatabaseService - Class in com.nnamo.services
-
Service class for managing database operations related to GTFS data, users, favorites, routes, stops, and metrics.
- DatabaseService() - Constructor for class com.nnamo.services.DatabaseService
- DatabaseService(JdbcConnectionSource) - Constructor for class com.nnamo.services.DatabaseService
-
Creates the DatabaseService by creating a connection to the SQLite database and by initializing tables and DAOs
- DatabaseService(String) - Constructor for class com.nnamo.services.DatabaseService
- DataType - Enum Class in com.nnamo.enums
- debug(String) - Static method in class com.nnamo.utils.Log
- DELAY - Enum constant in enum class com.nnamo.enums.ColumnName
- deleteCurrentSession() - Method in class com.nnamo.controllers.UserController
- DELETED - Enum constant in enum class com.nnamo.models.ServiceModel.ExceptionType
- DETOUR_BUS - Enum constant in enum class com.nnamo.enums.RealtimeMetricType
- Direction - Enum Class in com.nnamo.enums
- DIRECTION - Enum constant in enum class com.nnamo.enums.ColumnName
E
- EARLY_BUS - Enum constant in enum class com.nnamo.enums.RealtimeMetricType
- error(String) - Static method in class com.nnamo.utils.Log
- error(String, Throwable) - Static method in class com.nnamo.utils.Log
- EXTRA_SMALL - Enum constant in enum class com.nnamo.enums.IconSize
F
- FavoriteBehaviour - Interface in com.nnamo.interfaces
- FavoriteRouteModel - Class in com.nnamo.models
-
Represents a user's favorite route.
- FavoriteRouteModel() - Constructor for class com.nnamo.models.FavoriteRouteModel
-
Empty constructor required by OrmLite.
- FavoriteRouteModel(UserModel, RouteModel) - Constructor for class com.nnamo.models.FavoriteRouteModel
-
Constructs a FavoriteRouteModel with the specified user and route.
- FavoriteStopModel - Class in com.nnamo.models
-
Represents a user's favorite stop.
- FavoriteStopModel() - Constructor for class com.nnamo.models.FavoriteStopModel
-
Empty constructor required by OrmLite.
- FavoriteStopModel(UserModel, StopModel) - Constructor for class com.nnamo.models.FavoriteStopModel
-
Constructs a FavoriteStopModel with the specified user and stop.
- FEED_INTERVAL - Static variable in class com.nnamo.services.RealtimeGtfsService
- FeedUpdateListener - Interface in com.nnamo.services
- fromString(String) - Static method in enum class com.nnamo.enums.RouteType
- fuzzyMatch(String, String) - Static method in class com.nnamo.utils.FuzzyMatch
- FuzzyMatch - Class in com.nnamo.utils
-
SQLite custom function to perform fuzzy matching using Levenshtein distance (
LevenshteinDistance
). - FuzzyMatch() - Constructor for class com.nnamo.utils.FuzzyMatch
G
- GENERIC - Enum constant in enum class com.nnamo.enums.ResetType
- getAgency() - Method in class com.nnamo.models.RouteDirection
-
Gets the agency associated with the route.
- getAgency() - Method in class com.nnamo.models.RouteModel
-
Gets the agency associated with the route.
- getAllMetrics() - Method in class com.nnamo.services.DatabaseService
-
Get all realtime metrics grouped by type
- getAllStops() - Method in class com.nnamo.services.DatabaseService
-
Returns every stop instance from the database
- getAllVehiclePositions() - Method in class com.nnamo.services.RealtimeGtfsService
- getArrivalTime() - Method in class com.nnamo.models.RealtimeStopUpdate
-
Gets the arrival time in seconds of day.
- getArrivalTime() - Method in class com.nnamo.models.StopTimeModel
-
Gets the arrival time in seconds after midnight.
- getArrivalTimeAsStr() - Method in class com.nnamo.models.StopTimeModel
-
Gets the arrival time as a formatted string.
- getAverageDelayForRoute(String) - Method in class com.nnamo.services.DatabaseService
-
Calculate average delay for a route based on trip updates
- getBorderInsets(Component) - Method in class com.nnamo.view.customcomponents.CustomRoundedBorder
- getButton() - Method in class com.nnamo.view.customcomponents.CustomSearchBar
-
Gets the
JButton
used to clear the input in theCustomSearchBar
. - getButtonPanel() - Method in class com.nnamo.view.custompanels.LeftPanel
-
Returns the
PreferPanel
instance contained in this LeftPanel. - getCreatedAt() - Method in class com.nnamo.models.RealtimeMetricModel
-
Gets the creation timestamp of the metric.
- getCreatedAt() - Method in class com.nnamo.models.TripUpdateModel
-
Gets the creation timestamp.
- getCreatedAtDate() - Method in class com.nnamo.models.TripUpdateModel
-
Gets the creation timestamp (duplicate accessor).
- getCurrentDate() - Static method in class com.nnamo.utils.Utils
- getCurrentIcon() - Method in class com.nnamo.view.painter.CustomPainter
- getCurrentRouteId() - Method in class com.nnamo.view.custompanels.MapPanel
-
Gets the current route ID.
- getCurrentRouteId() - Method in class com.nnamo.view.frame.MainFrame
-
Returns the current route ID from the map panel.
- getCurrentStopIcon() - Method in class com.nnamo.view.frame.MainFrame
-
Returns the current stop icon from the map panel's stop painter.
- getCurrentStopId() - Method in class com.nnamo.view.custompanels.MapPanel
-
Gets the current stop ID.
- getCurrentStopId() - Method in class com.nnamo.view.frame.MainFrame
-
Returns the current stop ID from the map panel.
- getCurrentStopPosition() - Method in class com.nnamo.view.custompanels.MapPanel
-
Gets the current stop position as a
GeoPosition
. - getCurrentStopPosition() - Method in class com.nnamo.view.frame.MainFrame
-
Returns the current stop position from the map panel.
- getCurrentTime() - Static method in class com.nnamo.utils.Utils
- getCurrentUserId() - Method in class com.nnamo.controllers.UserController
- getDao(Class<T>) - Method in class com.nnamo.services.DatabaseService
-
Returns a Model's DAO (Database Access Object) by providing the Class of the model
- getDatabasePath() - Static method in class com.nnamo.utils.UserDataUtils
- getDataDir() - Static method in class com.nnamo.utils.UserDataUtils
- getDate() - Method in class com.nnamo.models.ServiceModel
-
Gets the date of the exception.
- getDelay() - Method in class com.nnamo.models.TripUpdateModel
-
Gets the delay value in seconds.
- getDepartureTime() - Method in class com.nnamo.models.RealtimeStopUpdate
-
Gets the departure time in seconds of day.
- getDepartureTime() - Method in class com.nnamo.models.StopTimeModel
-
Gets the departure time in seconds after midnight.
- getDepartureTimeAsStr() - Method in class com.nnamo.models.StopTimeModel
-
Gets the departure time as a formatted string.
- getDirection() - Method in class com.nnamo.models.RouteDirection
-
Gets the direction of the route.
- getDirection() - Method in class com.nnamo.models.TripModel
-
Gets the direction of the trip.
- getDirection(int) - Static method in enum class com.nnamo.enums.Direction
- getDirectionedRoutes(List<RouteModel>) - Method in class com.nnamo.services.DatabaseService
-
For each route in the provided list, this method creates a directioned route for each available direction.
- getDirectionName() - Method in class com.nnamo.models.RouteDirection
-
Gets the direction name.
- getDirectionTrip(String, Direction) - Method in class com.nnamo.services.DatabaseService
-
Get a trip for a specific route and direction
- getEmail() - Method in class com.nnamo.models.AgencyModel
-
Gets the agency email address.
- getEntityByTripId(String) - Method in class com.nnamo.services.RealtimeGtfsService
- getExceptionType() - Method in class com.nnamo.models.ServiceModel
-
Gets the exception type as an enum.
- getFavoriteDirectionRoutes(int) - Method in class com.nnamo.services.DatabaseService
-
Get user's favorite routes with direction information
- getFavoriteRoutes(int) - Method in class com.nnamo.services.DatabaseService
-
Get user's favorite routes
- getFavoriteRoutesByName(int, String) - Method in class com.nnamo.services.DatabaseService
-
Get user's favorite routes.
- getFavoriteStops(int) - Method in class com.nnamo.services.DatabaseService
-
Get user's favorite stops
- getFavoriteStops(UserModel) - Method in class com.nnamo.services.DatabaseService
-
Get user's favorite stops
- getFavoriteStopsByName(int, String) - Method in class com.nnamo.services.DatabaseService
-
Get user's favorite stops.
- getField() - Method in class com.nnamo.view.customcomponents.CustomSearchBar
-
Gets the
JTextField
used for input in theCustomSearchBar
. - getFieldText() - Method in class com.nnamo.view.customcomponents.CustomSearchBar
-
Gets the text currently entered in the
JTextField
of theCustomSearchBar
. - getHeadsign() - Method in class com.nnamo.models.TripModel
-
Gets the headsign indicating the direction of the trip.
- getIcon(IconSize) - Method in class com.nnamo.view.painter.CustomPainter
- getIcons() - Method in class com.nnamo.view.painter.CustomPainter
- getId() - Method in class com.nnamo.models.AgencyModel
-
Gets the agency ID.
- getId() - Method in class com.nnamo.models.FavoriteRouteModel
-
Gets the unique identifier of this favorite route entry.
- getId() - Method in class com.nnamo.models.FavoriteStopModel
-
Gets the unique identifier of this favorite stop entry.
- getId() - Method in class com.nnamo.models.RealtimeMetricModel
-
Gets the unique identifier for the metric entry.
- getId() - Method in class com.nnamo.models.RouteDirection
-
Gets the route ID.
- getId() - Method in class com.nnamo.models.RouteModel
-
Gets the route ID.
- getId() - Method in class com.nnamo.models.StopModel
-
Gets the stop identifier.
- getId() - Method in class com.nnamo.models.StopTimeModel
-
Gets the unique identifier for this stop time entry.
- getId() - Method in class com.nnamo.models.TripModel
-
Gets the trip identifier.
- getId() - Method in class com.nnamo.models.UserModel
-
Gets the unique identifier for the user.
- getJTextField() - Method in class com.nnamo.view.customcomponents.CustomInfoBar
-
Get the
JLabel
of theCustomInfoBar
. - getLatitude() - Method in class com.nnamo.models.StaticVehiclePosition
-
Returns the latitude of the vehicle position.
- getLatitude() - Method in class com.nnamo.models.StopModel
-
Gets the latitude coordinate.
- getLineColor() - Method in class com.nnamo.view.painter.RoutePainter
- getLineWidth() - Method in class com.nnamo.view.painter.RoutePainter
- getLocationType() - Method in class com.nnamo.models.StopModel
-
Gets the location type.
- getLongitude() - Method in class com.nnamo.models.StaticVehiclePosition
-
Returns the longitude of the vehicle position.
- getLongitude() - Method in class com.nnamo.models.StopModel
-
Gets the longitude coordinate.
- getLongName() - Method in class com.nnamo.models.RouteDirection
-
Gets the long name of the route.
- getLongName() - Method in class com.nnamo.models.RouteModel
-
Gets the long name of the route.
- getMap() - Method in class com.nnamo.view.custompanels.MapPanel
-
Gets the underlying
JXMapViewer
instance used in this panel. - getMapCachePath() - Static method in class com.nnamo.utils.UserDataUtils
- getMapPanel() - Method in class com.nnamo.view.frame.MainFrame
-
Returns the map panel instance.
- getMetrics(RealtimeMetricType) - Method in class com.nnamo.services.DatabaseService
-
Get metrics of a specific type
- getMetricType() - Method in class com.nnamo.view.customcomponents.statistic.StatisticDetourBus
- getMetricType() - Method in class com.nnamo.view.customcomponents.statistic.StatisticEarlyBus
- getMetricType() - Method in class com.nnamo.view.customcomponents.statistic.StatisticLateBus
- getMetricType() - Method in class com.nnamo.view.customcomponents.statistic.StatisticPunctualBus
- getMetricType() - Method in class com.nnamo.view.customcomponents.statistic.StatisticStoppedBus
- getMetricType() - Method in class com.nnamo.view.customcomponents.statistic.StatisticTotalBus
- getMetricType() - Method in class com.nnamo.view.customcomponents.statistic.StatisticUnit
- getName() - Method in interface com.nnamo.interfaces.StatisticInterface
- getName() - Method in class com.nnamo.models.AgencyModel
-
Gets the agency name.
- getName() - Method in class com.nnamo.models.StopModel
-
Gets the stop name.
- getName() - Method in class com.nnamo.view.customcomponents.statistic.StatisticUnit
- getNextStopTimes(String, LocalTime) - Method in class com.nnamo.services.DatabaseService
-
Gets the next 6 hours stop times for a specific stop based on the time provided
- getNextStopTimes(String, LocalTime, int) - Method in class com.nnamo.services.DatabaseService
-
Gets the next X hours stop times for a specific stop based on the time provided
- getNextStopTimes(String, LocalTime, int, Date, List<RealtimeStopUpdate>) - Method in class com.nnamo.services.DatabaseService
-
Gets the next X hours stop times for a specific stop based on the time provided and the date provided.
- getNextStopTimes(String, LocalTime, Date, int) - Method in class com.nnamo.services.DatabaseService
-
Gets the next X hours stop times for a specific stop based on the time provided and the date provided.
- getOrderedStopsForRoute(String, Direction) - Method in class com.nnamo.services.DatabaseService
-
Get ordered stops for a route in a specific direction
- getPasswordField() - Method in class com.nnamo.view.customcomponents.PasswordBar
-
Returns the label of the password field.
- getPasswordHash() - Method in class com.nnamo.models.UserModel
-
Gets the hashed password of the user.
- getPhone() - Method in class com.nnamo.models.AgencyModel
-
Gets the agency phone number.
- getPosition() - Method in class com.nnamo.models.StaticVehiclePosition
-
Returns a GeoPosition object representing this vehicle position.
- getRadioButtons() - Method in class com.nnamo.view.customcomponents.CustomRadioButtonsPanel
-
Returns the currently selected
RouteType
based on the selectedJRadioButton
. - getRealtimeStatus() - Method in class com.nnamo.services.RealtimeGtfsService
- getRoute() - Method in class com.nnamo.models.FavoriteRouteModel
-
Gets the route marked as favorite.
- getRoute() - Method in class com.nnamo.models.TripModel
-
Gets the route associated with this trip.
- getRouteById(String) - Method in class com.nnamo.services.DatabaseService
-
Get route by ID
- getRouteId() - Method in class com.nnamo.models.RealtimeStopUpdate
-
Gets the route identifier.
- getRouteQuality(int) - Static method in class com.nnamo.services.RealtimeGtfsService
- getRoutesByName(String) - Method in class com.nnamo.services.DatabaseService
-
Fuzzy search routes by its name.
- getRoutesVehiclePositions(String) - Method in class com.nnamo.services.RealtimeGtfsService
- getRoutesVehiclePositions(String, Direction) - Method in class com.nnamo.services.RealtimeGtfsService
- getRouteTable() - Method in class com.nnamo.view.custompanels.PreferPanel
- getRouteTripUpdates(String) - Method in class com.nnamo.services.DatabaseService
-
Get trip updates for a specific route
- getSearchPanel() - Method in class com.nnamo.view.custompanels.LeftPanel
-
Returns the
SearchPanel
instance contained in this LeftPanel. - getServiceId() - Method in class com.nnamo.models.ServiceModel
-
Gets the service identifier.
- getServiceId() - Method in class com.nnamo.models.TripModel
-
Gets the service identifier for the trip.
- getServicesById(String) - Method in class com.nnamo.services.DatabaseService
-
Get services by ID
- getSessionPath() - Static method in class com.nnamo.utils.UserDataUtils
- getShortName() - Method in class com.nnamo.models.RouteDirection
-
Gets the short name of the route.
- getShortName() - Method in class com.nnamo.models.RouteModel
-
Gets the short name of the route.
- getStaticPosition(String, Direction, LocalTime) - Method in class com.nnamo.services.DatabaseService
- getStop() - Method in class com.nnamo.models.FavoriteStopModel
-
Gets the stop marked as favorite.
- getStop() - Method in class com.nnamo.models.StopTimeModel
-
Gets the stop associated with this stop time.
- getStopById(String) - Method in class com.nnamo.services.DatabaseService
-
Returns a stop by its ID
- getStopId() - Method in class com.nnamo.models.RealtimeStopUpdate
-
Gets the stop identifier.
- getStopId() - Method in class com.nnamo.view.waypoints.StopWaypoint
- getStopPainter() - Method in class com.nnamo.view.custompanels.MapPanel
-
Gets the
StopPainter
instance used for rendering stops on the map. - getStopPanel() - Method in class com.nnamo.view.frame.MainFrame
-
Returns the stop panel instance.
- getStopRoutes(String) - Method in class com.nnamo.services.DatabaseService
-
Gets the unique routes that go through a specific stop
- getStops() - Method in class com.nnamo.view.painter.RoutePainter
- getStopsByName(String) - Method in class com.nnamo.services.DatabaseService
-
Fuzzy search stops by its name.
- getStopTable() - Method in class com.nnamo.view.custompanels.PreferPanel
- getStopTimes(String) - Method in class com.nnamo.services.DatabaseService
-
Gets the stop times for a specific stop
- getStopUpdatesById(String) - Method in class com.nnamo.services.RealtimeGtfsService
- getStore() - Method in class com.nnamo.services.StaticGtfsService
- getTable() - Method in class com.nnamo.view.customcomponents.CustomTable
-
Gets the
JTable
. - getTimeTable() - Method in class com.nnamo.view.custompanels.StopPanel
-
Returns the table displaying upcoming departures.
- getTimeUpdate() - Method in class com.nnamo.models.RealtimeStopUpdate
-
Gets the stop time update.
- getTimezone() - Method in class com.nnamo.models.AgencyModel
-
Gets the agency timezone.
- getTrip() - Method in class com.nnamo.models.StopTimeModel
-
Gets the trip associated with this stop time.
- getTripId() - Method in class com.nnamo.models.RealtimeStopUpdate
-
Gets the trip identifier.
- getTripServices(TripModel) - Method in class com.nnamo.services.DatabaseService
-
Get services of a specific trip by model
- getTripServices(String) - Method in class com.nnamo.services.DatabaseService
-
Get services of a specific trip by ID
- getTripVehiclePosition(String) - Method in class com.nnamo.services.RealtimeGtfsService
- getType() - Method in class com.nnamo.models.RealtimeMetricModel
-
Gets the type of the metric.
- getType() - Method in class com.nnamo.models.RouteDirection
-
Gets the route type.
- getType() - Method in class com.nnamo.models.RouteModel
-
Gets the route type.
- getUnit() - Method in interface com.nnamo.interfaces.StatisticInterface
- getUnit() - Method in class com.nnamo.view.customcomponents.statistic.StatisticUnit
- getUpdateDelay() - Method in class com.nnamo.models.RealtimeStopUpdate
-
Gets the delay for the update.
- getUrl() - Method in class com.nnamo.models.AgencyModel
-
Gets the agency URL.
- getUser() - Method in class com.nnamo.models.FavoriteRouteModel
-
Gets the user who marked the route as favorite.
- getUser() - Method in class com.nnamo.models.FavoriteStopModel
-
Gets the user who marked the stop as favorite.
- getUserById(int) - Method in class com.nnamo.services.DatabaseService
-
Get user by ID
- getUserByName(String) - Method in class com.nnamo.services.DatabaseService
-
Get user by the username
- getUsername() - Method in class com.nnamo.models.UserModel
-
Gets the username of the user.
- getValue() - Method in enum class com.nnamo.enums.RouteType
- getValue() - Method in interface com.nnamo.interfaces.StatisticInterface
- getValue() - Method in class com.nnamo.models.RealtimeMetricModel
-
Gets the value of the metric.
- getValue() - Method in class com.nnamo.view.customcomponents.statistic.StatisticUnit
- getVehiclePosition() - Method in class com.nnamo.models.RealtimeStopUpdate
-
Gets the vehicle position.
- GREEN - Static variable in class com.nnamo.utils.CustomColor
H
- handleStopSelection(StopModel, UserModel, GeoPosition, RealtimeGtfsService, MainFrame, DatabaseService) - Static method in class com.nnamo.controllers.UIController
-
It defines the behaviour of when the user clicks on a stop
I
- icons - Variable in class com.nnamo.view.painter.CustomPainter
- IconSize - Enum Class in com.nnamo.enums
- INBOUND - Enum constant in enum class com.nnamo.enums.Direction
- info(String) - Static method in class com.nnamo.utils.Log
- INFORMATION - Enum constant in enum class com.nnamo.enums.ColumnName
- initLeftPanelPreferPanelPreferTable(List<StopModel>, List<RouteDirection>) - Method in class com.nnamo.view.frame.MainFrame
-
Initializes the favorites table in the left panel's prefer panel.
- initListener() - Method in class com.nnamo.view.customcomponents.CustomSearchBar
-
Initializes the action listeners for the search bar components.
- initPreferPanelPreferTable(List<StopModel>, List<RouteDirection>) - Method in class com.nnamo.view.custompanels.LeftPanel
-
Initializes the prefer panel's table with the provided stops and routes.
- initPreferPanelTable(List<StopModel>, List<RouteDirection>) - Method in class com.nnamo.view.frame.MainFrame
-
Initializes the favorites table in the prefer panel with the provided stops and routes.
- initPreferTable(List<StopModel>, List<RouteDirection>) - Method in class com.nnamo.view.custompanels.LeftPanel
-
Initializes the prefer panel's table with the provided favorite stops and routes.
- initPreferTable(List<StopModel>, List<RouteDirection>) - Method in class com.nnamo.view.custompanels.PreferPanel
- initTables() - Method in class com.nnamo.services.DatabaseService
- INVALID - Enum constant in enum class com.nnamo.enums.RouteQuality
- isBorderOpaque() - Method in class com.nnamo.view.customcomponents.CustomRoundedBorder
- isFavoriteStop(int, String) - Method in class com.nnamo.services.DatabaseService
-
Check if a stop is in user's favorites
- isFavouriteRoute(int, String) - Method in class com.nnamo.services.DatabaseService
-
Check if a route is in user's favorites
L
- LARGE - Enum constant in enum class com.nnamo.enums.IconSize
- LATE_BUS - Enum constant in enum class com.nnamo.enums.RealtimeMetricType
- LeftPanel - Class in com.nnamo.view.custompanels
-
Custom
JPanel
that serves as the left panel of the application, containing various sub-panels for searching, preferences, statistics, and settings. - LeftPanel() - Constructor for class com.nnamo.view.custompanels.LeftPanel
-
Creates a
LeftPanel
with a layout that includes a button panel and a modular panel for displaying different sub-panels. - LeftPanelPreferButtonBehaviour - Interface in com.nnamo.interfaces
- LIGHTGRAY - Static variable in class com.nnamo.utils.CustomColor
- load() - Method in class com.nnamo.services.StaticGtfsService
- Log - Class in com.nnamo.utils
- login(String, String) - Method in interface com.nnamo.interfaces.LoginBehaviour
- LoginBehaviour - Interface in com.nnamo.interfaces
- LoginFrame - Class in com.nnamo.view.frame
-
Login window
JFrame
for user authentication and registration. - LoginFrame() - Constructor for class com.nnamo.view.frame.LoginFrame
-
Constructs the login frame, initializing UI components and layout.
- LogoutBehaviour - Interface in com.nnamo.interfaces
M
- main(String[]) - Static method in class com.nnamo.Main
-
Starts the main application, by initializing the available services
- Main - Class in com.nnamo
-
Program entry point.
- Main() - Constructor for class com.nnamo.Main
- MainController - Class in com.nnamo.controllers
-
Main controller that manages the overall application flow.
- MainController(DatabaseService, RealtimeGtfsService) - Constructor for class com.nnamo.controllers.MainController
- MainFrame - Class in com.nnamo.view.frame
-
Custom
JFrame
that composes and manages the primary UI panels, including the map, stop details, favorites bar, and navigation panels. - MainFrame() - Constructor for class com.nnamo.view.frame.MainFrame
-
Constructs the main application frame, initializing all UI panels and layout.
- map - Variable in class com.nnamo.view.painter.CustomPainter
- MapController - Class in com.nnamo.controllers
-
Controller responsible for managing map-related functionalities, including waypoint interactions, route rendering, and vehicle position updates.
- MapController(DatabaseService, MainFrame, RealtimeGtfsService) - Constructor for class com.nnamo.controllers.MapController
- MapPanel - Class in com.nnamo.view.custompanels
-
Custom
JPanel
that displays an interactive map usingJXMapViewer
, supporting the rendering of stops, routes, and real-time vehicle positions. - MapPanel() - Constructor for class com.nnamo.view.custompanels.MapPanel
-
Creates a
MapPanel
with an embeddedJXMapViewer
, initializing painters for stops, routes, and vehicle positions. - MEDIUM - Enum constant in enum class com.nnamo.enums.IconSize
- MetricCollector - Interface in com.nnamo.view.customcomponents.statistic
- METRO - Enum constant in enum class com.nnamo.enums.RouteType
- MINUTESLEFT - Enum constant in enum class com.nnamo.enums.ColumnName
N
- needsCaching() - Method in class com.nnamo.services.DatabaseService
-
Checks if database needs caching
- NOT_ENOUGH_DATA - Enum constant in enum class com.nnamo.enums.RouteQuality
- notifyStatisticUpdateListeners(int) - Method in class com.nnamo.view.customcomponents.statistic.StatisticUnit
O
- OFFLINE - Enum constant in enum class com.nnamo.enums.RealtimeStatus
- OFTEN_DELAYED - Enum constant in enum class com.nnamo.enums.RouteQuality
- OFTEN_EARLY - Enum constant in enum class com.nnamo.enums.RouteQuality
- OFTEN_ON_TIME - Enum constant in enum class com.nnamo.enums.RouteQuality
- onButtonPanelClick(JPanel) - Method in interface com.nnamo.interfaces.ButtonPanelBehaviour
-
Method to be executed when the
CustomButtonPanel
of the of theButtonPanel
is clicked. - onButtonPanelClick(JPanel) - Method in interface com.nnamo.interfaces.LeftPanelPreferButtonBehaviour
- onChange(RealtimeStatus) - Method in interface com.nnamo.interfaces.RealtimeStatusChangeListener
- onCheckIsFav(Vector<Object>, int) - Method in interface com.nnamo.interfaces.TableCheckIsFavBehaviour
- onFeedUpdated(List<GtfsRealtime.FeedEntity>) - Method in interface com.nnamo.services.FeedUpdateListener
- onFeedUpdated(List<GtfsRealtime.FeedEntity>) - Method in class com.nnamo.view.customcomponents.statistic.StatisticUnit
- ONLINE - Enum constant in enum class com.nnamo.enums.RealtimeStatus
- onLogout() - Method in interface com.nnamo.interfaces.LogoutBehaviour
- onProducedMetric(RealtimeMetricType, int) - Method in interface com.nnamo.view.customcomponents.statistic.MetricCollector
- onRowClick(Object, ColumnName[], DataType) - Method in interface com.nnamo.interfaces.TableRowClickBehaviour
- onSearch(String) - Method in interface com.nnamo.interfaces.SearchBarListener
- onSearch(String) - Method in interface com.nnamo.interfaces.TableSearchBehaviour
- onSessionCreated(int) - Method in interface com.nnamo.interfaces.SessionListener
- onStatisticUpdated(RealtimeMetricType, int) - Method in interface com.nnamo.view.customcomponents.statistic.StatisticUpdateListener
- onSwitch(RealtimeStatus) - Method in interface com.nnamo.interfaces.SwitchBarListener
- onWaypointClick(GeoPosition, boolean) - Method in interface com.nnamo.interfaces.WaypointBehaviour
- onZoomChange(int) - Method in interface com.nnamo.interfaces.ZoomBehaviour
- open() - Method in class com.nnamo.view.custompanels.PreferBarPanel
-
Makes the
PreferBarPanel
visible. - open() - Method in class com.nnamo.view.custompanels.StopPanel
-
Makes the
StopPanel
visible. - open() - Method in class com.nnamo.view.frame.LoginFrame
-
Makes the login frame visible and resets input fields.
- open() - Method in class com.nnamo.view.frame.MainFrame
-
Makes the main frame visible.
- OUTBOUND - Enum constant in enum class com.nnamo.enums.Direction
P
- paint(Graphics2D, JXMapViewer, int, int) - Method in class com.nnamo.view.painter.RoutePainter
-
Paints the route lines on the map by connecting consecutive stops.
- paintBorder(Component, Graphics, int, int, int, int) - Method in class com.nnamo.view.customcomponents.CustomRoundedBorder
- paintComponent(Graphics) - Method in class com.nnamo.view.customcomponents.statistic.StatisticUnit
- PasswordBar - Class in com.nnamo.view.customcomponents
-
PasswordBar is a custom JPanel that contains a label and a password field.
- PasswordBar() - Constructor for class com.nnamo.view.customcomponents.PasswordBar
-
Constructs a PasswordBar with a label and a password field.
- PositionPainter - Class in com.nnamo.view.painter
-
An abstract class that extends
WaypointPainter
to provide functionality for rendering waypoints on a map with different icon sizes based on the zoom level. - PositionPainter(JXMapViewer) - Constructor for class com.nnamo.view.painter.PositionPainter
- posixToSecondsOfDay(long) - Static method in class com.nnamo.utils.Utils
- PreferBarPanel - Class in com.nnamo.view.custompanels
-
Custom
JPanel
that provides a bar for managing the favorite status of a stop or route. - PreferBarPanel() - Constructor for class com.nnamo.view.custompanels.PreferBarPanel
-
Creates a
PreferBarPanel
with aCustomPreferButton
for managing favorite status. - PreferPanel - Class in com.nnamo.view.custompanels
-
Custom
JPanel
that displays stop and route preferences with twoCustomTable
, - PreferPanel() - Constructor for class com.nnamo.view.custompanels.PreferPanel
-
Creates a
PreferPanel
with a title bar, aCustomSearchBar
for searching and filtering, andCustomTable
for displaying favorite stops and routes. - preloadGtfsData(StaticGtfsService) - Method in class com.nnamo.services.DatabaseService
-
Loads static GTFS data in the database
- PUNCTUAL_BUS - Enum constant in enum class com.nnamo.enums.RealtimeMetricType
R
- RealtimeController - Class in com.nnamo.controllers
-
Controller responsible for managing real-time functionalities, including handling real-time data updates, user interactions with the real-time switch, and updating the UI based on real-time status changes.
- RealtimeController(DatabaseService, MainFrame, RealtimeGtfsService) - Constructor for class com.nnamo.controllers.RealtimeController
- RealtimeGtfsService - Class in com.nnamo.services
- RealtimeGtfsService() - Constructor for class com.nnamo.services.RealtimeGtfsService
- RealtimeMetricModel - Class in com.nnamo.models
-
Represents a real-time metric entry, including type, value, and creation timestamp.
- RealtimeMetricModel() - Constructor for class com.nnamo.models.RealtimeMetricModel
-
Empty constructor required by OrmLite.
- RealtimeMetricModel(RealtimeMetricType, int, LocalDateTime) - Constructor for class com.nnamo.models.RealtimeMetricModel
-
Constructs a RealtimeMetricModel with the specified type, value, and creation time.
- RealtimeMetricType - Enum Class in com.nnamo.enums
- RealtimePositionPainter - Class in com.nnamo.view.painter
-
A specialized
PositionPainter
for rendering real-time vehicle positions on a map. - RealtimePositionPainter(JXMapViewer) - Constructor for class com.nnamo.view.painter.RealtimePositionPainter
- RealtimeStatus - Enum Class in com.nnamo.enums
- RealtimeStatusChangeListener - Interface in com.nnamo.interfaces
- RealtimeStopUpdate - Class in com.nnamo.models
-
Represents a real-time update for a stop on a transit trip.
- RealtimeStopUpdate(String, String, GtfsRealtime.TripUpdate.StopTimeUpdate, GtfsRealtime.VehiclePosition) - Constructor for class com.nnamo.models.RealtimeStopUpdate
-
Constructs a RealtimeStopUpdate with the specified trip, route, time update, and vehicle position.
- RED - Static variable in class com.nnamo.utils.CustomColor
- register(String, String) - Method in interface com.nnamo.interfaces.RegisterBehaviour
- RegisterBehaviour - Interface in com.nnamo.interfaces
- RegisterResult - Enum Class in com.nnamo.enums
- REMOVE - Enum constant in enum class com.nnamo.enums.UpdateMode
- removeFavorite(String, DataType) - Method in interface com.nnamo.interfaces.FavoriteBehaviour
- removeFavRoute(int, String) - Method in class com.nnamo.services.DatabaseService
-
Remove route from user's favorite routes
- removeFavStop(int, String) - Method in class com.nnamo.services.DatabaseService
-
Remove favorite stop from a user's favorite stops list
- removeListener(FeedUpdateListener) - Method in class com.nnamo.services.RealtimeGtfsService
- removeRoutePainting() - Method in class com.nnamo.view.frame.MainFrame
-
Removes the route painting from the map panel.
- removeRow(String, ColumnName) - Method in class com.nnamo.view.customcomponents.CustomTable
-
Adds a new row to the table with the specified data.
- renderRouteLines(List<StopModel>, List<GtfsRealtime.VehiclePosition>, List<StaticVehiclePosition>, String, GeoPosition, int) - Method in class com.nnamo.view.frame.MainFrame
-
Renders route lines and vehicle positions on the map panel, and updates the current route and map position.
- renderRoutesVehicles(List<StopModel>, RealtimeGtfsService, MainFrame, DatabaseService, String, Direction) - Static method in class com.nnamo.controllers.MapController
- renderSearchPanel(List<StopModel>, List<RouteDirection>) - Method in class com.nnamo.view.custompanels.LeftPanel
-
Updates the search panel with the provided list of stops and routes.
- renderSearchPanel(List<StopModel>, List<RouteDirection>) - Method in class com.nnamo.view.frame.MainFrame
-
Renders the search panel with the provided stops and routes.
- renderStops(List<StopModel>) - Method in class com.nnamo.view.custompanels.MapPanel
-
Renders the provided list of
StopModel
as waypoints on the map. - renderStops(List<StopModel>) - Method in class com.nnamo.view.frame.MainFrame
-
Renders the provided list of stops on the map panel.
- renderStopsRoute(List<StopModel>) - Method in class com.nnamo.view.custompanels.MapPanel
-
Renders the provided list of
StopModel
as a route on the map, updating the route overlay and painter. - renderVehiclePositions(List<GtfsRealtime.VehiclePosition>, List<StaticVehiclePosition>) - Method in class com.nnamo.view.custompanels.MapPanel
-
Renders the provided list of
GtfsRealtime.VehiclePosition
as real-time vehicle waypoints on the map. - renderVehiclePositions(List<GtfsRealtime.VehiclePosition>, List<StaticVehiclePosition>) - Method in class com.nnamo.view.frame.MainFrame
-
Renders the provided vehicle positions on the map panel.
- repaint() - Method in class com.nnamo.view.painter.CustomPainter
- repaint() - Method in class com.nnamo.view.painter.PositionPainter
- repaint() - Method in class com.nnamo.view.painter.StopPainter
- repaint(String) - Method in class com.nnamo.view.painter.StopPainter
- repaintMap() - Method in class com.nnamo.view.frame.MainFrame
-
Repaints the map panel and its overlays.
- repaintView() - Method in class com.nnamo.view.custompanels.MapPanel
-
Repaints the map and all overlay painters, updating the display of stops, routes, and vehicle positions.
- resetAction() - Method in class com.nnamo.view.custompanels.MapPanel
-
Resets the map to its default state, clearing route overlays and restoring the stop view.
- resetFields() - Method in class com.nnamo.view.frame.LoginFrame
-
Resets the username, password, and info fields to empty.
- ResetType - Enum Class in com.nnamo.enums
- ROME_POSITIONS_FEED_URL - Static variable in class com.nnamo.services.RealtimeGtfsService
- ROME_TRIP_FEED_URL - Static variable in class com.nnamo.services.RealtimeGtfsService
- ROUTE - Enum constant in enum class com.nnamo.enums.DataType
- RouteDirection - Class in com.nnamo.models
-
Represents a directioned route.
- RouteDirection(String, AgencyModel, String, String, RouteType, Direction, String) - Constructor for class com.nnamo.models.RouteDirection
-
Constructs a RouteDirection with all required fields.
- RouteModel - Class in com.nnamo.models
-
Represents a GTFS route entity.
- RouteModel() - Constructor for class com.nnamo.models.RouteModel
-
Empty constructor required by OrmLite.
- RouteModel(String, AgencyModel, String, String, RouteType) - Constructor for class com.nnamo.models.RouteModel
-
Constructs a RouteModel with all fields.
- ROUTENAME - Enum constant in enum class com.nnamo.enums.ColumnName
- RoutePainter - Class in com.nnamo.view.painter
-
Custom painter to draw route lines connecting consecutive stops on the map.
- RoutePainter() - Constructor for class com.nnamo.view.painter.RoutePainter
- RoutePainter(Color, int) - Constructor for class com.nnamo.view.painter.RoutePainter
- RouteQuality - Enum Class in com.nnamo.enums
- RouteType - Enum Class in com.nnamo.enums
- run() - Method in class com.nnamo.controllers.MainController
-
Initialize the view and runs all the sub-controllers
- run() - Method in class com.nnamo.controllers.MapController
- run() - Method in class com.nnamo.controllers.RealtimeController
- run() - Method in class com.nnamo.controllers.UIController
-
It setups up all the different behaviours
- run() - Method in class com.nnamo.controllers.UserController
- run(UserModel) - Method in class com.nnamo.controllers.UIController
-
It setups up all the different behaviours and defines the user interacting with the UI
S
- saveMetric(RealtimeMetricType, int) - Method in class com.nnamo.services.DatabaseService
-
Save a realtime metric to the database
- SearchBarListener - Interface in com.nnamo.interfaces
- SearchPanel - Class in com.nnamo.view.custompanels
-
Custom
JPanel
that provides a search interface for stops and routes, featuring aCustomSearchBar
and twoCustomTable
components for displaying search results. - SearchPanel() - Constructor for class com.nnamo.view.custompanels.SearchPanel
-
Creates a
SearchPanel
with a title bar, aCustomSearchBar
for filtering, andCustomTable
for displaying stops and routes. - secondsOfDayToString(int) - Static method in class com.nnamo.utils.Utils
- ServiceModel - Class in com.nnamo.models
-
Table that specifies dates when a trip exception occurs (trip added or deleted for that date).
- ServiceModel() - Constructor for class com.nnamo.models.ServiceModel
-
Empty constructor required by OrmLite.
- ServiceModel(String, Date, int) - Constructor for class com.nnamo.models.ServiceModel
-
Constructs a ServiceModel with the specified service ID, date, and exception type.
- ServiceModel.ExceptionType - Enum Class in com.nnamo.models
-
Enum representing possible exception types.
- sessionExists() - Method in class com.nnamo.controllers.UserController
- SessionListener - Interface in com.nnamo.interfaces
- setAnchor(int) - Method in class com.nnamo.view.customcomponents.CustomGbc
-
set the anchor of the
GridBagConstraints
object. - setButtonPanelBehaviour(ButtonPanelBehaviour) - Method in class com.nnamo.view.customcomponents.CustomButtonPanel
-
Sets the behavior to execute when the button is clicked.
- setButtonPanelBehaviour(ButtonPanelBehaviour) - Method in class com.nnamo.view.custompanels.ButtonPanel
-
Sets the behavior to execute when any
JButton
in theButtonPanel
is clicked. - setButtonPanelGeneralBehaviour(ButtonPanelBehaviour) - Method in class com.nnamo.view.custompanels.LeftPanel
-
Sets the button panel general behaviour.
- setButtonPanelGeneralBehaviour(ButtonPanelBehaviour) - Method in class com.nnamo.view.frame.MainFrame
-
Sets the general button panel behavior in the left panel.
- setButtonPanelPreferBehaviour(ButtonPanelBehaviour) - Method in class com.nnamo.view.custompanels.LeftPanel
-
Sets the button panel preference behaviour.
- setButtonPanelPreferBehaviour(ButtonPanelBehaviour) - Method in class com.nnamo.view.frame.MainFrame
-
Sets the prefer button panel behavior in the left panel.
- setClickWaypointBehaviour(WaypointBehaviour) - Method in class com.nnamo.view.custompanels.MapPanel
-
Sets the behaviour for waypoint clicks, allowing custom actions when a waypoint is clicked.
- setClickWaypointBehaviour(WaypointBehaviour) - Method in class com.nnamo.view.frame.MainFrame
-
Sets the waypoint click behavior in the map panel.
- setCurrentRouteId(String) - Method in class com.nnamo.view.custompanels.MapPanel
-
Sets the current route ID and updates the map view accordingly.
- setCurrentRouteId(String) - Method in class com.nnamo.view.frame.MainFrame
-
Sets the current route ID in the map panel.
- setCurrentStop(String, GeoPosition) - Method in class com.nnamo.view.custompanels.MapPanel
-
Sets the current stop ID and position, updating both the ID and position attributes.
- setCurrentStop(String, GeoPosition) - Method in class com.nnamo.view.frame.MainFrame
-
Sets the current stop ID and position in the map panel.
- setCurrentStopId(String) - Method in class com.nnamo.view.custompanels.MapPanel
-
Sets the current stop ID and position, updating the map view accordingly.
- setCurrentStopPosition(GeoPosition) - Method in class com.nnamo.view.custompanels.MapPanel
-
Sets the current stop position on the map.
- setCustomRadioButtons(ArrayList<JRadioButton>) - Method in class com.nnamo.view.customcomponents.CustomTable.Builder
-
Sets custom radio buttons for filtering in the table.
- setDataType(DataType) - Method in class com.nnamo.view.customcomponents.CustomPreferButton
-
Sets the data type for the item associated with this
JButton
. - setDataType(DataType) - Method in class com.nnamo.view.customcomponents.CustomTable.Builder
-
Sets the data type for the table.
- setDirection(Direction) - Method in class com.nnamo.models.RouteDirection
-
Sets the direction of the route.
- setDirectionName(String) - Method in class com.nnamo.models.RouteDirection
-
Sets the direction name.
- setFavBehaviour(FavoriteBehaviour) - Method in class com.nnamo.view.customcomponents.CustomPreferButton
-
Sets the behavior to execute when the
JButton
is clicked. - setField(String) - Method in class com.nnamo.view.customcomponents.CustomSearchBar
-
Sets the text of the
JTextField
in theCustomSearchBar
. - setFill(int) - Method in class com.nnamo.view.customcomponents.CustomGbc
-
set the fill of the
GridBagConstraints
object. - setGeneralFavBehaviour(FavoriteBehaviour) - Method in class com.nnamo.view.custompanels.PreferBarPanel
-
Sets the behavior to execute when the favorite button is toggled.
- setGeneralFavBehaviour(FavoriteBehaviour) - Method in class com.nnamo.view.frame.MainFrame
-
Sets the general favorite behavior in the favorites bar.
- setGenericTableRowClickBehaviour(TableRowClickBehaviour) - Method in class com.nnamo.view.custompanels.StopPanel
-
Sets a generic row click behavior for both the route services and departures tables.
- setGenericTableRowClickBehaviour(TableRowClickBehaviour) - Method in class com.nnamo.view.frame.MainFrame
-
Sets the generic table row click behavior for the left and stop panels.
- setHeight(int) - Method in class com.nnamo.view.customcomponents.CustomGbc
-
set the height of the
GridBagConstraints
object. - setHiddenColumns(ColumnName[]) - Method in class com.nnamo.view.customcomponents.CustomTable.Builder
-
sets the columns to be hidden in the table.
- setInsets(int, int, int, int) - Method in class com.nnamo.view.customcomponents.CustomGbc
-
set the insets of the
GridBagConstraints
object. - setIpad(int, int) - Method in class com.nnamo.view.customcomponents.CustomGbc
-
set the ipad of the
GridBagConstraints
object. - setItemId(String) - Method in class com.nnamo.view.customcomponents.CustomPreferButton
-
Sets the ID and name of the item associated with this
JButton
. - setItemName(String) - Method in class com.nnamo.view.customcomponents.CustomPreferButton
-
Sets the name of the item associated with this
JButton
. - setLevel(Level) - Static method in class com.nnamo.utils.Log
- setLineColor(Color) - Method in class com.nnamo.view.painter.RoutePainter
- setLineWidth(int) - Method in class com.nnamo.view.painter.RoutePainter
- setLocalMapCache(File) - Method in class com.nnamo.controllers.MainController
-
Sets the local tiles cache from a directory
- setLocalMapCache(File) - Method in class com.nnamo.view.custompanels.MapPanel
-
Sets the local cache directory for the map tile factory, allowing offline tile storage.
- setLocalMapCache(File) - Method in class com.nnamo.view.frame.MainFrame
-
Sets the local cache directory for map tiles in the map panel.
- setLoginBehaviour(LoginBehaviour) - Method in class com.nnamo.view.frame.LoginFrame
-
Sets the login behaviour to handle authentication logic.
- setLogoutBehaviour(LogoutBehaviour) - Method in class com.nnamo.view.custompanels.LeftPanel
-
Sets the logout behaviour for the settings panel.
- setLogoutBehaviour(LogoutBehaviour) - Method in class com.nnamo.view.custompanels.SettingsPanel.CustomLogout
-
Sets the
LogoutBehaviour
to be executed when the logout button is clicked. - setLogoutBehaviour(LogoutBehaviour) - Method in class com.nnamo.view.custompanels.SettingsPanel
-
Sets the behavior to execute when the logout action is triggered.
- setLogoutBehaviour(LogoutBehaviour) - Method in class com.nnamo.view.frame.MainFrame
-
Sets the logout behavior in the left panel.
- setMapPanelMapPosition(GeoPosition, int) - Method in class com.nnamo.view.custompanels.MapPanel
-
Sets the map position and zoom level for the map panel.
- setMapPanelMapPosition(GeoPosition, int) - Method in class com.nnamo.view.frame.MainFrame
-
Sets the map panel's position and zoom level.
- setMetricCollector(MetricCollector) - Method in class com.nnamo.view.customcomponents.statistic.StatisticUnit
- setMetricCollector(MetricCollector) - Method in class com.nnamo.view.custompanels.StatisticsPanel
- setPosition(int, int) - Method in class com.nnamo.view.customcomponents.CustomGbc
-
set the position of the
GridBagConstraints
object. - setPreferPanelListener(SearchBarListener) - Method in class com.nnamo.view.custompanels.LeftPanel
-
Sets the listener for search events in the prefer panel.
- setPreferPanelListener(SearchBarListener) - Method in class com.nnamo.view.frame.MainFrame
-
Sets the prefer panel listener in the left panel.
- setRealtimeChangeListener(RealtimeStatusChangeListener) - Method in class com.nnamo.services.RealtimeGtfsService
- setRealtimeStatus(RealtimeStatus) - Method in class com.nnamo.services.RealtimeGtfsService
- setRealtimeStatus(RealtimeStatus) - Method in class com.nnamo.view.custompanels.LeftPanel
- setRealtimeStatus(RealtimeStatus) - Method in class com.nnamo.view.custompanels.SettingsPanel
-
Sets the current
RealtimeStatus
for the online status switch bar. - setRealtimeStatus(RealtimeStatus) - Method in class com.nnamo.view.frame.MainFrame
-
Sets the real-time status in the left panel.
- setRealtimeSwitchListener(SwitchBarListener) - Method in class com.nnamo.view.custompanels.LeftPanel
-
Sets the listener for the realtime switch in the settings panel.
- setRealtimeSwitchListener(SwitchBarListener) - Method in class com.nnamo.view.custompanels.SettingsPanel
-
Sets the listener for changes to the real-time status switch.
- setRealtimeSwitchListener(SwitchBarListener) - Method in class com.nnamo.view.frame.MainFrame
-
Sets the real-time switch listener in the left panel.
- setRegisterBehaviour(RegisterBehaviour) - Method in class com.nnamo.view.frame.LoginFrame
-
Sets the register behaviour to handle user registration logic.
- setSearchColumns(ColumnName[]) - Method in class com.nnamo.view.customcomponents.CustomTable.Builder
-
Sets the columns to be used for searching in the table.
- setSearchColumns(ColumnName[]) - Method in class com.nnamo.view.customcomponents.CustomTable
-
Sets the columns to be used for searching in the table.
- setSearchPanelListener(SearchBarListener) - Method in class com.nnamo.view.custompanels.LeftPanel
-
Sets the listener for search events in the search panel.
- setSearchPanelListener(SearchBarListener) - Method in class com.nnamo.view.frame.MainFrame
-
Sets the search panel listener in the left panel.
- setSessionUser(UserModel) - Method in class com.nnamo.controllers.MapController
- setStatisticsBehavior(StatisticsBehaviour) - Method in class com.nnamo.services.RealtimeGtfsService
- setStatus(RealtimeStatus) - Method in class com.nnamo.view.customcomponents.CustomSwitchBar
-
Sets the status of the switch bar to the specified
RealtimeStatus
. - setStops(List<StopModel>) - Method in class com.nnamo.view.painter.RoutePainter
- setTableColumns(ColumnName[]) - Method in class com.nnamo.view.customcomponents.CustomTable.Builder
-
Sets the columns to be displayed in the table.
- setTableRowClickBehaviour(TableRowClickBehaviour) - Method in class com.nnamo.view.customcomponents.CustomTable
-
Sets the
TableCheckIsFavBehaviour
to check if a row is marked as favorite. - setTableRowClickBehaviour(TableRowClickBehaviour) - Method in class com.nnamo.view.custompanels.LeftPanel
-
Sets the click behaviour for table rows in both the search and prefer panels.
- setTableRowClickBehaviour(TableRowClickBehaviour) - Method in class com.nnamo.view.custompanels.PreferPanel
- setTableRowClickBehaviour(TableRowClickBehaviour) - Method in class com.nnamo.view.custompanels.SearchPanel
-
Sets the
TableRowClickBehaviour
for both the stop and route tables. - setText(String) - Method in class com.nnamo.view.customcomponents.PasswordBar
-
Sets the text of the password field.
- setTextField(String) - Method in class com.nnamo.view.customcomponents.CustomInfoBar
-
Set the text of the label.
- SettingsPanel - Class in com.nnamo.view.custompanels
-
Custom
JPanel
that provides a settings interface, including online status control and logout functionality. - SettingsPanel() - Constructor for class com.nnamo.view.custompanels.SettingsPanel
-
Creates a
SettingsPanel
with sections for online status and logout. - SettingsPanel.CustomLogout - Class in com.nnamo.view.custompanels
-
Custom
JPanel
that creates a logout button to handle user logout actions using a specifiedLogoutBehaviour
. - setupButtonPanelBehaviours() - Method in class com.nnamo.controllers.UIController
-
Handles behaviour when clicking on the left panel's buttons (which open the panels on the left)
- setupFavoriteBehavior() - Method in class com.nnamo.controllers.UIController
- setupListeners(RealtimeGtfsService) - Method in class com.nnamo.view.custompanels.StatisticsPanel
- setupStatisticsPanel(RealtimeGtfsService, Map<RealtimeMetricType, List<RealtimeMetricModel>>, MetricCollector) - Method in class com.nnamo.view.custompanels.LeftPanel
-
Sets up the statistics panel with the provided realtime service and database service.
- setupStatisticsPanel(RealtimeGtfsService, Map<RealtimeMetricType, List<RealtimeMetricModel>>, MetricCollector) - Method in class com.nnamo.view.frame.MainFrame
-
Sets up the statistics panel in the left panel with the provided services.
- setupTableBehavior() - Method in class com.nnamo.controllers.UIController
- setupWaypointBehavior() - Method in class com.nnamo.controllers.MapController
- setUser(UserModel) - Method in class com.nnamo.controllers.RealtimeController
- setUser(UserModel) - Method in class com.nnamo.controllers.UIController
- setValue(String) - Method in interface com.nnamo.interfaces.StatisticInterface
- setValue(String) - Method in class com.nnamo.view.customcomponents.statistic.StatisticUnit
- setWeight(double, double) - Method in class com.nnamo.view.customcomponents.CustomGbc
-
set the weight of the
GridBagConstraints
object. - setWidth(int) - Method in class com.nnamo.view.customcomponents.CustomGbc
-
set the width of the
GridBagConstraints
object. - setZoom(int) - Method in class com.nnamo.view.custompanels.MapPanel
-
Sets the zoom level for the map and notifies the zoom behaviour if set.
- SMALL - Enum constant in enum class com.nnamo.enums.IconSize
- startFeedThread() - Method in class com.nnamo.services.RealtimeGtfsService
- startStatisticsThread() - Method in class com.nnamo.services.RealtimeGtfsService
- StartupLoadingFrame - Class in com.nnamo.view.frame
-
A simple JFrame that displays a loading message during startup.
- StartupLoadingFrame() - Constructor for class com.nnamo.view.frame.StartupLoadingFrame
- STATE - Enum constant in enum class com.nnamo.enums.ColumnName
- StaticGtfsService - Class in com.nnamo.services
-
Service to load and provide access to static GTFS data.
- StaticGtfsService() - Constructor for class com.nnamo.services.StaticGtfsService
- StaticPositionPainter - Class in com.nnamo.view.painter
-
A specialized
PositionPainter
for rendering static vehicle positions on a map. - StaticPositionPainter(JXMapViewer) - Constructor for class com.nnamo.view.painter.StaticPositionPainter
- StaticVehiclePosition - Class in com.nnamo.models
-
Represents a static vehicle position using latitude and longitude coordinates.
- StaticVehiclePosition(double, double) - Constructor for class com.nnamo.models.StaticVehiclePosition
-
Constructs a StaticVehiclePosition with specified latitude and longitude.
- StaticVehiclePosition(GeoPosition) - Constructor for class com.nnamo.models.StaticVehiclePosition
-
Constructs a StaticVehiclePosition from a GeoPosition object.
- StatisticDetourBus - Class in com.nnamo.view.customcomponents.statistic
-
Statistic unit that counts the number of buses with detour alerts.
- StatisticDetourBus() - Constructor for class com.nnamo.view.customcomponents.statistic.StatisticDetourBus
- StatisticEarlyBus - Class in com.nnamo.view.customcomponents.statistic
-
Statistic unit that counts the number of early buses with a tolerance threshold.
- StatisticEarlyBus() - Constructor for class com.nnamo.view.customcomponents.statistic.StatisticEarlyBus
- StatisticInterface - Interface in com.nnamo.interfaces
- StatisticLateBus - Class in com.nnamo.view.customcomponents.statistic
-
Statistic unit that counts the number of late buses with a tolerance threshold.
- StatisticLateBus() - Constructor for class com.nnamo.view.customcomponents.statistic.StatisticLateBus
- StatisticPunctualBus - Class in com.nnamo.view.customcomponents.statistic
-
Statistic unit that counts the number of punctual buses with a tolerance threshold.
- StatisticPunctualBus() - Constructor for class com.nnamo.view.customcomponents.statistic.StatisticPunctualBus
- STATISTICS_INTERVAL - Static variable in class com.nnamo.services.RealtimeGtfsService
- StatisticsBehaviour - Interface in com.nnamo.services
- StatisticsPanel - Class in com.nnamo.view.custompanels
- StatisticsPanel() - Constructor for class com.nnamo.view.custompanels.StatisticsPanel
- StatisticStoppedBus - Class in com.nnamo.view.customcomponents.statistic
-
Statistic unit that counts the number of stopped buses.
- StatisticStoppedBus() - Constructor for class com.nnamo.view.customcomponents.statistic.StatisticStoppedBus
- StatisticTotalBus - Class in com.nnamo.view.customcomponents.statistic
-
Statistic unit that counts the number of the real time buses.
- StatisticTotalBus() - Constructor for class com.nnamo.view.customcomponents.statistic.StatisticTotalBus
- StatisticUnit - Class in com.nnamo.view.customcomponents.statistic
-
Abstract class representing a statistic unit tile in the UI.
- StatisticUnit(String, String, Color) - Constructor for class com.nnamo.view.customcomponents.statistic.StatisticUnit
- StatisticUpdateListener - Interface in com.nnamo.view.customcomponents.statistic
- STOP - Enum constant in enum class com.nnamo.enums.DataType
- STOP - Enum constant in enum class com.nnamo.enums.ResetType
- StopModel - Class in com.nnamo.models
-
Represents a GTFS stop location with an ID, name, latitude, longitude, and optional location type.
- StopModel() - Constructor for class com.nnamo.models.StopModel
-
Empty constructor required by OrmLite.
- StopModel(String, String, double, double) - Constructor for class com.nnamo.models.StopModel
-
Constructs a StopModel with the specified ID, name, latitude, and longitude.
- STOPNAME - Enum constant in enum class com.nnamo.enums.ColumnName
- StopPainter - Class in com.nnamo.view.painter
-
A specialized
WaypointPainter
for rendering stop waypoints on a map. - StopPainter(JXMapViewer) - Constructor for class com.nnamo.view.painter.StopPainter
- StopPanel - Class in com.nnamo.view.custompanels
-
Custom
JPanel
that displays detailed information about a transit stop, including stop info, route services, and upcoming departures - StopPanel() - Constructor for class com.nnamo.view.custompanels.StopPanel
-
Creates a
StopPanel
withCustomInfoBar
for stop information, route services, and upcoming departures. - STOPPED_BUS - Enum constant in enum class com.nnamo.enums.RealtimeMetricType
- StopTimeModel - Class in com.nnamo.models
-
Represents a GTFS stop time entry for a trip, including arrival and departure times at a stop.
- StopTimeModel() - Constructor for class com.nnamo.models.StopTimeModel
-
Empty constructor required by OrmLite.
- StopTimeModel(TripModel, StopModel, int, int) - Constructor for class com.nnamo.models.StopTimeModel
-
Constructs a StopTimeModel with the specified trip, stop, arrival time, and departure time.
- StopWaypoint - Class in com.nnamo.view.waypoints
- StopWaypoint(String, double, double) - Constructor for class com.nnamo.view.waypoints.StopWaypoint
- SUCCESS - Enum constant in enum class com.nnamo.enums.AuthResult
- SUCCESS - Enum constant in enum class com.nnamo.enums.RegisterResult
- SwitchBarListener - Interface in com.nnamo.interfaces
T
- TableCheckIsFavBehaviour - Interface in com.nnamo.interfaces
- TableRowClickBehaviour - Interface in com.nnamo.interfaces
- TableSearchBehaviour - Interface in com.nnamo.interfaces
- TERMINAL - Enum constant in enum class com.nnamo.enums.ColumnName
- TIME - Enum constant in enum class com.nnamo.enums.ColumnName
- toggleStatus() - Method in class com.nnamo.view.customcomponents.CustomSwitchBar
-
Toggles the status between
RealtimeStatus.ONLINE
andRealtimeStatus.OFFLINE
. - toString() - Method in enum class com.nnamo.enums.ColumnName
- toString() - Method in enum class com.nnamo.enums.RouteQuality
- toString() - Method in enum class com.nnamo.enums.RouteType
- toString() - Method in class com.nnamo.models.StopModel
-
Returns a string representation of the StopModel.
- toString() - Method in class com.nnamo.models.StopTimeModel
-
Returns a string representation of the StopTimeModel.
- TOTAL_BUS - Enum constant in enum class com.nnamo.enums.RealtimeMetricType
- trace(String) - Static method in class com.nnamo.utils.Log
- TRAM - Enum constant in enum class com.nnamo.enums.RouteType
- TRIP - Enum constant in enum class com.nnamo.enums.ColumnName
- TripModel - Class in com.nnamo.models
-
Represents a trip of a route (e.g., the 8:00 run of line 163).
- TripModel() - Constructor for class com.nnamo.models.TripModel
-
Empty constructor required by OrmLite.
- TripModel(String, RouteModel, String, String, Direction) - Constructor for class com.nnamo.models.TripModel
-
Constructs a TripModel with the specified parameters.
- TripUpdateModel - Class in com.nnamo.models
-
Represents a delay update for a trip, including route, creation time, and delay value.
- TripUpdateModel() - Constructor for class com.nnamo.models.TripUpdateModel
-
Empty constructor required by OrmLite.
- TripUpdateModel(RouteModel, LocalDateTime, int) - Constructor for class com.nnamo.models.TripUpdateModel
-
Constructs a TripUpdateModel with the specified route, creation time, and delay.
- TYPE - Enum constant in enum class com.nnamo.enums.ColumnName
U
- UIController - Class in com.nnamo.controllers
-
Controller responsible to directly interact with the mainframe functionalities.
- UIController(DatabaseService, MainFrame, RealtimeGtfsService) - Constructor for class com.nnamo.controllers.UIController
- UNKNOWN - Enum constant in enum class com.nnamo.models.ServiceModel.ExceptionType
- update(boolean) - Method in class com.nnamo.view.customcomponents.CustomPreferButton
-
Updates the
JButton
text and backgroundCustomColor
based on the favorite status of the item. - updateFavRouteTable(List<RouteDirection>, UpdateMode) - Method in class com.nnamo.view.custompanels.LeftPanel
-
Updates the favorite route table in the prefer panel with the specified route and update mode.
- updateFavRouteTable(List<RouteDirection>, UpdateMode) - Method in class com.nnamo.view.custompanels.PreferPanel
- updateFavRouteTable(List<RouteDirection>, UpdateMode) - Method in class com.nnamo.view.frame.MainFrame
-
Updates the favorite routes table in the left panel.
- updateFavStopTable(StopModel, UpdateMode) - Method in class com.nnamo.view.custompanels.LeftPanel
-
Updates the favorite stop table in the prefer panel with the specified stop and update mode.
- updateFavStopTable(StopModel, UpdateMode) - Method in class com.nnamo.view.custompanels.PreferPanel
- updateFavStopTable(StopModel, UpdateMode) - Method in class com.nnamo.view.frame.MainFrame
-
Updates the favorite stops table in the left panel.
- updateFeed() - Method in class com.nnamo.services.RealtimeGtfsService
- updateLeftPanelModularPanel(JPanel, boolean) - Method in class com.nnamo.view.frame.MainFrame
-
Updates the modular panel in the left panel.
- updateLeftPanelVisibility(boolean) - Method in class com.nnamo.view.frame.MainFrame
-
Sets the visibility of the favorites bar.
- UpdateMode - Enum Class in com.nnamo.enums
- updateModularPanel(JPanel, boolean) - Method in class com.nnamo.view.custompanels.LeftPanel
-
Updates the modular panel to display the specified panel.
- updatePreferBarVisibility(boolean) - Method in class com.nnamo.view.frame.MainFrame
-
Sets the visibility of the favorites bar.
- updatePreferButton(String, boolean, DataType) - Method in class com.nnamo.view.custompanels.PreferBarPanel
-
Updates the
CustomPreferButton
with the specified item ID, favorite status, and data type. - updatePreferButton(String, boolean, DataType) - Method in class com.nnamo.view.frame.MainFrame
-
Updates the favorite button in the favorites bar.
- updatePreferButton(String, boolean, DataType, MainFrame) - Static method in class com.nnamo.controllers.UIController
- updateStatistics(List<GtfsRealtime.FeedEntity>) - Method in interface com.nnamo.services.StatisticsBehaviour
- updateStopInfo(String, String) - Method in class com.nnamo.view.custompanels.StopPanel
-
Updates the stop information section with the specified stop ID and name.
- updateStopPanel(StopModel, List<StopTimeModel>, List<RealtimeStopUpdate>, MainFrame, DatabaseService) - Static method in class com.nnamo.controllers.UIController
- updateStopPanelInfo(String, String) - Method in class com.nnamo.view.frame.MainFrame
-
Updates the stop panel with stop information.
- updateStopPanelRoutes(List<List<String>>) - Method in class com.nnamo.view.frame.MainFrame
-
Updates the stop panel with available routes.
- updateStopPanelTimes(List<StopTimeModel>, List<RealtimeStopUpdate>) - Method in class com.nnamo.view.frame.MainFrame
-
Updates the stop panel with stop times and real-time updates.
- updateStopPanelVisibility(boolean) - Method in class com.nnamo.view.frame.MainFrame
-
Sets the visibility of the stop panel.
- updateStopRoutes(List<List<String>>) - Method in class com.nnamo.view.custompanels.StopPanel
-
Updates the route services table with a list of unique routes serving the stop.
- updateStopTimes(List<StopTimeModel>, List<RealtimeStopUpdate>) - Method in class com.nnamo.view.custompanels.StopPanel
-
Updates the departures table with a list of
StopTimeModel
and their associatedRealtimeStopUpdate
data. - updateTripMonitoring(List<StopTimeModel>) - Method in class com.nnamo.services.RealtimeGtfsService
- updateVehiclePositions(String, MainFrame, RealtimeGtfsService, DatabaseService) - Static method in class com.nnamo.controllers.MapController
- updateView(List<StopModel>, List<RouteDirection>) - Method in class com.nnamo.view.custompanels.SearchPanel
-
Updates the tables with the provided lists of
StopModel
andRouteDirection
. - updateView(Map<RealtimeMetricType, List<RealtimeMetricModel>>) - Method in class com.nnamo.view.custompanels.StatisticsPanel
-
Sets up the data for all statistic tiles and initializes the
JFreeChart
chart with historical data. - USER_ALREADY_EXISTS - Enum constant in enum class com.nnamo.enums.RegisterResult
- UserController - Class in com.nnamo.controllers
-
Controller responsible for managing user authentication and session management.
- UserController(DatabaseService) - Constructor for class com.nnamo.controllers.UserController
- UserDataUtils - Class in com.nnamo.utils
- UserDataUtils() - Constructor for class com.nnamo.utils.UserDataUtils
- UserModel - Class in com.nnamo.models
-
Represents a user with a unique username and a hashed password.
- UserModel() - Constructor for class com.nnamo.models.UserModel
-
Empty constructor required by OrmLite.
- UserModel(String, String) - Constructor for class com.nnamo.models.UserModel
-
Constructs a UserModel with the specified username and password hash.
- Utils - Class in com.nnamo.utils
- Utils() - Constructor for class com.nnamo.utils.Utils
V
- valueOf(String) - Static method in enum class com.nnamo.enums.AuthResult
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.nnamo.enums.ColumnName
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.nnamo.enums.DataType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.nnamo.enums.Direction
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.nnamo.enums.IconSize
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.nnamo.enums.RealtimeMetricType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.nnamo.enums.RealtimeStatus
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.nnamo.enums.RegisterResult
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.nnamo.enums.ResetType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.nnamo.enums.RouteQuality
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.nnamo.enums.RouteType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.nnamo.enums.UpdateMode
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.nnamo.models.ServiceModel.ExceptionType
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class com.nnamo.enums.AuthResult
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.nnamo.enums.ColumnName
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.nnamo.enums.DataType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.nnamo.enums.Direction
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.nnamo.enums.IconSize
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.nnamo.enums.RealtimeMetricType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.nnamo.enums.RealtimeStatus
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.nnamo.enums.RegisterResult
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.nnamo.enums.ResetType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.nnamo.enums.RouteQuality
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.nnamo.enums.RouteType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.nnamo.enums.UpdateMode
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.nnamo.models.ServiceModel.ExceptionType
-
Returns an array containing the constants of this enum class, in the order they are declared.
W
- warn(String) - Static method in class com.nnamo.utils.Log
- WaypointBehaviour - Interface in com.nnamo.interfaces
- wipeTables() - Method in class com.nnamo.services.DatabaseService
- WRONG_CREDENTIALS - Enum constant in enum class com.nnamo.enums.AuthResult
X
- xFunc() - Method in class com.nnamo.utils.FuzzyMatch
Z
- ZoomBehaviour - Interface in com.nnamo.interfaces
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form