Index
All Classes and Interfaces|All Packages|Constant Field Values
A
- addEvent(LinkedList, Scanner) - Static method in class theLocalLoop.EventManager
-
Handles user choice for adding a new event, then prompts user for event details and adds new event to the list.
- addEvent(Event) - Static method in class theLocalLoop.FileManager
-
Adds an event to the file by first loading the current events from the file, adding the new event to the list, then saving the updated list back to the file.
- ART - Enum constant in enum class theLocalLoop.Constants.ValidType
-
Art related events (eg: Art Exhibition)
B
- BUSINESS - Enum constant in enum class theLocalLoop.Constants.ValidType
-
Business related events (eg: Business Conference)
C
- CODING - Enum constant in enum class theLocalLoop.Constants.ValidType
-
Fitness related events (eg: Yoga Class)
- COMMUNITY - Enum constant in enum class theLocalLoop.Constants.ValidType
-
Community related events (eg: Town Hall Meeting)
- Constants - Class in theLocalLoop
-
Constants class for storing application-wide constants such as date and time formatters, valid tags, and valid formats.
- Constants.DateTimeFormatters - Class in theLocalLoop
-
Public class that stores valid DateTimeFormatters
- Constants.ValidFormat - Enum Class in theLocalLoop
-
Public enum for storing the validFormats of an Event, includes an enum constructor and getter for displayName
- Constants.ValidType - Enum Class in theLocalLoop
-
Public enum that stores valid Types, includes getDisplayName, and valid type methods.
- CULTURE - Enum constant in enum class theLocalLoop.Constants.ValidType
-
Culture related events (eg: Museum Visit)
D
- dateFormatter - Static variable in class theLocalLoop.Constants.DateTimeFormatters
-
Public static final DateTimeFormatter for formatting dates in the pattern "MM-dd-yyyy"
- deleteEvent(LinkedList, Scanner) - Static method in class theLocalLoop.EventManager
-
Handles user choice for how they want to delete an event, then prompts user for the name of the event they want to delete Deletes it from the list if found (after confirming password, if applicable).
- deleteEvent(Event) - Static method in class theLocalLoop.FileManager
-
Deletes an event from the file by first loading the current events from the file, removing the specified event from the list, then saving the updated list back to the file.
- DISCUSSION - Enum constant in enum class theLocalLoop.Constants.ValidType
-
Discussion related events (eg: Book Club)
- displayChoice(LinkedList, Scanner) - Static method in class theLocalLoop.EventManager
-
Handles user choice for how they want to display events based on time frame, then displays results.
- displayEvents(int, LinkedList, Scanner) - Static method in class theLocalLoop.EventManager
-
Displays events based on the user's choice of time frame.
E
- editEvent(LinkedList, Scanner) - Static method in class theLocalLoop.EventManager
-
Handles user choice for how they want to edit an event, then prompts user for the name of the event they want to edit and the details they want to edit, then updates the event with the new details.
- editEvent(Event, Scanner) - Static method in class theLocalLoop.FileManager
-
Edits an event in the file by first loading the current events from the file, finding the specified event in the list and updating its details, then saving the updated list back to the file.
- EDUCATION - Enum constant in enum class theLocalLoop.Constants.ValidType
-
Education related events (eg: Workshop)
- equals(Object) - Method in class theLocalLoop.Event
- ESPORTS - Enum constant in enum class theLocalLoop.Constants.ValidType
-
E-Sports related events (eg: Tournament)
- Event - Class in theLocalLoop
-
Event class representing a single event in the application.
- Event(String, LocalDate, LocalTime, double, ArrayList, Constants.ValidFormat, String, String, String) - Constructor for class theLocalLoop.Event
-
Constructor for Event class, initializes all attributes.
- EventManager - Class in theLocalLoop
-
EventManager class handles the management of events in the application.
F
- FESTIVAL - Enum constant in enum class theLocalLoop.Constants.ValidType
-
Festival related events (eg: Music Festival)
- FILE_NAME - Static variable in class theLocalLoop.FileManager
-
The name of the file to save events to.
- FileManager - Class in theLocalLoop
-
FileManager class for handling file input and output operations related to events.
- filterAndSortEvents(LinkedList, Scanner) - Static method in class theLocalLoop.EventManager
-
Handles user choice for how they want to filter and sort events, then displays results based on their choices.
- filterByFormat(LinkedList, String) - Static method in class theLocalLoop.Sort
-
Filters a list of events by a specified format and returns a new list containing only the events that match the target format, ignoring case sensitivity.
- filterByOrganizer(LinkedList, String) - Static method in class theLocalLoop.Sort
-
Filters a list of events by a specified organizer and returns a new list containing only the events that match the target organizer, ignoring case sensitivity.
- filterByType(LinkedList, String) - Static method in class theLocalLoop.Sort
-
Filters a list of events by a specified type and returns a new list containing only the events that match the target type, ignoring case sensitivity.
- FITNESS - Enum constant in enum class theLocalLoop.Constants.ValidType
-
Fitness related events (eg: Fitness Class)
- FOOD - Enum constant in enum class theLocalLoop.Constants.ValidType
-
Food related events (eg: Cooking Class)
- fromString(String) - Static method in enum class theLocalLoop.Constants.ValidType
-
Method of validating if a string is a validType by iterating through validType enum
G
- GAMING - Enum constant in enum class theLocalLoop.Constants.ValidType
-
Gaming related events (eg: Video Game Tournament)
- getDate() - Method in class theLocalLoop.Event
-
Getter for the date of the event.
- getDisplayName() - Method in enum class theLocalLoop.Constants.ValidFormat
-
Getter for the displayName of a validFormat
- getDisplayName() - Method in enum class theLocalLoop.Constants.ValidType
-
Getter for the displayName of a validType
- getDuration() - Method in class theLocalLoop.Event
-
Getter for the duration of the event.
- getFormat() - Method in class theLocalLoop.Event
-
Getter for the format of the event.
- getLocation() - Method in class theLocalLoop.Event
-
Getter for the location of the event.
- getName() - Method in class theLocalLoop.Event
-
Getter for the name of the event.
- getOrganizer() - Method in class theLocalLoop.Event
-
Getter for the organizer(s) of the event.
- getPassword() - Method in class theLocalLoop.Event
-
Getter for the password for editing the event.
- getRequiredString(Scanner, String) - Static method in class theLocalLoop.InputValidator
-
Prompts the user for a non-empty string input.
- getTime() - Method in class theLocalLoop.Event
-
Getter for the time of the event.
- getTypes() - Method in class theLocalLoop.Event
-
Getter for the type(s) of the event.
- getValidDate(Scanner, String) - Static method in class theLocalLoop.InputValidator
-
Prompts the user to enter a date and validates that it is in the correct format (MM-dd-yyyy) and that it is not a past date.
- getValidDouble(Scanner, String) - Static method in class theLocalLoop.InputValidator
-
Prompts the user for a double input and validates that it is a positive number.
- getValidFormat(Scanner, String) - Static method in class theLocalLoop.InputValidator
-
Prompts the user to select an option from a predefined list of valid options.
- getValidInt(Scanner, String, int, int) - Static method in class theLocalLoop.InputValidator
-
Prompts the user for an integer input and validates that it falls within a specified range.
- getValidPassword(Scanner, String) - Static method in class theLocalLoop.InputValidator
-
Prompts the user for a password input and validates that it meets specific criteria, such as minimum length, presence of uppercase letters, numbers, and symbols.
- getValidTime(Scanner, String) - Static method in class theLocalLoop.InputValidator
-
Prompts the user to enter a time and validates that it is in the correct format (HH:mm).
- getValidTypes(Scanner, String) - Static method in class theLocalLoop.InputValidator
-
Prompts the user to enter a list of types and validates that each type is included in part of the ValidType enum class.
H
- HACKATHON - Enum constant in enum class theLocalLoop.Constants.ValidType
-
Hackathon events (eg: Coding Competition)
- handleChoice(int, Scanner, LinkedList) - Static method in class theLocalLoop.MenuManager
-
Handles the user's menu choice and calls the appropriate methods from the EventManager class based on the selected option.
- HYBRID - Enum constant in enum class theLocalLoop.Constants.ValidFormat
-
Event that is both in person and online
I
- IN_PERSON - Enum constant in enum class theLocalLoop.Constants.ValidFormat
-
In person event
- input - Static variable in class theLocalLoop.Main
-
The Scanner object used to read user input.
- InputValidator - Class in theLocalLoop
-
This class is responsible for validating user input throughout the application.
L
- loadEvents() - Static method in class theLocalLoop.FileManager
-
Loads events from a file called "events.txt" and returns them as a LinkedList of Event objects.
- loadSampleEvents(LinkedList) - Static method in class theLocalLoop.TestData
-
Loads a sample list of events into the provided LinkedList for testing purposes.
M
- main(String[]) - Static method in class theLocalLoop.Main
-
The main method that serves as the entry point for the application.
- Main - Class in theLocalLoop
-
Main class for The Local Loop application.
- MenuManager - Class in theLocalLoop
-
The MenuManager class handles the display and processing of the main menu options for various methods.
- monthYearFormatter - Static variable in class theLocalLoop.Constants.DateTimeFormatters
-
Public static final DateTimeFormatter for formatting months and years in the pattern "MM-yyyy"
- MUSIC - Enum constant in enum class theLocalLoop.Constants.ValidType
-
Music related events (eg: Concert)
N
- NETWORKING - Enum constant in enum class theLocalLoop.Constants.ValidType
-
Networking related events (eg: Casual Mixers )
O
- ONLINE - Enum constant in enum class theLocalLoop.Constants.ValidFormat
-
Online event
P
- PHOTOGRAPHY - Enum constant in enum class theLocalLoop.Constants.ValidType
-
Photography related events (eg: Photo Walk)
- printDisplayMenu() - Static method in class theLocalLoop.MenuManager
-
Prints the display menu options to the console for viewing events based on different time frames.
- printEditMenu() - Static method in class theLocalLoop.MenuManager
-
Prints the edit menu options to the console for editing event attributes.
- printFilterMenu() - Static method in class theLocalLoop.MenuManager
-
Prints the filter menu options to the console for filtering events based on type, organizer, or no filtering.
- printMenu() - Static method in class theLocalLoop.MenuManager
-
Prints the main menu options to the console.
- printSortMenu() - Static method in class theLocalLoop.MenuManager
-
Prints the sort menu options to the console for sorting events based on name, date and time, organizer, or duration.
R
- READING - Enum constant in enum class theLocalLoop.Constants.ValidType
-
Reading related events (eg: Literary Discussion)
S
- saveEvents(LinkedList) - Static method in class theLocalLoop.FileManager
-
Saves a list of events to a file called "events.txt".
- searchEvents(LinkedList, Scanner) - Static method in class theLocalLoop.EventManager
-
Handles user choice for how they want to search for an event by name, then displays results.
- setDate(LocalDate) - Method in class theLocalLoop.Event
-
Setter for the date of the event.
- setDuration(double) - Method in class theLocalLoop.Event
-
Setter for the duration of the event.
- setFormat(Constants.ValidFormat) - Method in class theLocalLoop.Event
-
Setter for the format of the event.
- setLocation(String) - Method in class theLocalLoop.Event
-
Setter for the location of the event.
- setName(String) - Method in class theLocalLoop.Event
-
Setter for the name of the event.
- setOrganizer(String) - Method in class theLocalLoop.Event
-
Setter for the organizer(s) of the event.
- setPassword(String) - Method in class theLocalLoop.Event
-
Setter for the password for editing the event.
- setTime(LocalTime) - Method in class theLocalLoop.Event
-
Setter for the time of the event.
- setTypes(ArrayList) - Method in class theLocalLoop.Event
-
Setter for the type(s) of the event.
- SOCIAL - Enum constant in enum class theLocalLoop.Constants.ValidType
-
Social related events (eg: Happy Hour)
- Sort - Class in theLocalLoop
-
The Sort class provides methods for sorting and filtering a list of events based on user choices.
- sortAndFilter(LinkedList, int, int, Scanner) - Static method in class theLocalLoop.Sort
-
Sorts and filters a list of events based on user choices for sorting and filtering criteria.
- sortByDateTime(LinkedList) - Static method in class theLocalLoop.Sort
-
Sorts a list of events by their date and time in chronological order.
- sortByDuration(LinkedList) - Static method in class theLocalLoop.Sort
-
Sorts a list of events by their duration in ascending order.
- sortByName(LinkedList) - Static method in class theLocalLoop.Sort
-
Sorts a list of events by their names in alphabetical order.
- sortByOrganizer(LinkedList) - Static method in class theLocalLoop.Sort
-
Sorts a list of events by their organizers in alphabetical order.
- STARTUP - Enum constant in enum class theLocalLoop.Constants.ValidType
-
Startup related events (eg: Pitch Competition)
T
- TECHNOLOGY - Enum constant in enum class theLocalLoop.Constants.ValidType
-
Technology related events (eg: Tech Talk)
- TestData - Class in theLocalLoop
-
The TestData class provides a method to load a sample list of events into a LinkedList.
- theLocalLoop - package theLocalLoop
- timeFormatter - Static variable in class theLocalLoop.Constants.DateTimeFormatters
-
Public static final DateTimeFormatter for formatting times in the pattern "HH:mm"
- toString() - Method in class theLocalLoop.Event
- toSummaryString() - Method in class theLocalLoop.Event
-
Returns a summary string representation of the event.
V
- valueOf(String) - Static method in enum class theLocalLoop.Constants.ValidFormat
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class theLocalLoop.Constants.ValidType
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class theLocalLoop.Constants.ValidFormat
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class theLocalLoop.Constants.ValidType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- VOLUNTEERING - Enum constant in enum class theLocalLoop.Constants.ValidType
-
Volunteering related events (eg: Community Service)
W
- WELLNESS - Enum constant in enum class theLocalLoop.Constants.ValidType
-
Welfare related events (eg: Support Group)
All Classes and Interfaces|All Packages|Constant Field Values