Skip navigation links
A B C D E F G H I J K L M N O P R S T U V W 

C

calories - Variable in class be.ac.ulb.infof307.g02.models.NutritionalValues
 
caloriesValue - Variable in class be.ac.ulb.infof307.g02.views.NutritionalValueView
 
canCheckProductAvailability - Variable in class be.ac.ulb.infof307.g02.views.ListComponent
 
canShowNutritionalValues - Variable in class be.ac.ulb.infof307.g02.views.ListComponent
 
CARBOHYDRATE_CALORIES_PER_GRAM - Static variable in class be.ac.ulb.infof307.g02.constants.Constants
 
carbohydrateGramsPerUnit - Variable in class be.ac.ulb.infof307.g02.models.Product
 
carbohydrates - Variable in class be.ac.ulb.infof307.g02.models.NutritionalValues
 
carbohydratesSpinner - Variable in class be.ac.ulb.infof307.g02.views.CreateProductView
 
carbohydratesValue - Variable in class be.ac.ulb.infof307.g02.views.NutritionalValueView
 
checkBoxToU - Variable in class be.ac.ulb.infof307.g02.views.RegisterView
 
checkContentConsistency(List<CSVRecord>) - Static method in class be.ac.ulb.infof307.g02.utils.ArticleImporterFromFile
Checks if all the records, except headers, of the CSV file are consistent.
checkFileConsistency(List<CSVRecord>) - Static method in class be.ac.ulb.infof307.g02.utils.ArticleImporterFromFile
Checks if the CSV file is consistent (headers + records).
checkFileHeadersConsistency(CSVRecord) - Static method in class be.ac.ulb.infof307.g02.utils.ArticleImporterFromFile
Checks if the headers are equal to Headers Enum(Name, Unit, Price)
checkListOfProductsAvailability(List<Product>) - Method in interface be.ac.ulb.infof307.g02.views.AvailabilityChecker
 
checkListOfProductsAvailability(List<Product>) - Method in class be.ac.ulb.infof307.g02.views.GroceryListView
Checks if a list of product are available in some shops
checkProductAvailability(ProductAmount) - Method in interface be.ac.ulb.infof307.g02.views.AvailabilityChecker
 
checkProductAvailability(ProductAmount) - Method in class be.ac.ulb.infof307.g02.views.GroceryListView
Cheks if some product are available in some shops
clearAllFiltersFields() - Method in class be.ac.ulb.infof307.g02.views.MapView
Resets all filters to default
clearButton - Variable in class be.ac.ulb.infof307.g02.views.ListComponent
 
clearFilters() - Method in class be.ac.ulb.infof307.g02.controllers.MapController
Reset the displayedShops list to all the shops/
clearFilters() - Method in class be.ac.ulb.infof307.g02.views.MapComponent
Tells the JavaScript that it can redisplay all the Shops
clearFiltersButton - Variable in class be.ac.ulb.infof307.g02.views.MapView
 
clearFiltersOnMap() - Method in class be.ac.ulb.infof307.g02.views.MapView
Re-displays all the shops on the map
close() - Method in class be.ac.ulb.infof307.g02.controllers.HelpController
Closes the View
close() - Method in class be.ac.ulb.infof307.g02.database.EncryptedPreparedStatement
 
close() - Method in class be.ac.ulb.infof307.g02.views.CreateProductView
 
close() - Method in class be.ac.ulb.infof307.g02.views.HelpView
 
close() - Method in class be.ac.ulb.infof307.g02.views.SelectBestTourGroceryListView
 
CLOSE_BUTTON_HEIGHT - Static variable in class be.ac.ulb.infof307.g02.views.MapView
 
closeHelp() - Method in class be.ac.ulb.infof307.g02.controllers.ControllerMaster
Closes the Help view
closeTime - Variable in class be.ac.ulb.infof307.g02.models.TimeSlot
 
comboBoxes - Variable in class be.ac.ulb.infof307.g02.views.ListComponent
 
computeAllNutritionalValues(List<ProductAmount>) - Static method in class be.ac.ulb.infof307.g02.models.NutritionalValuesCalculator
Calculate all the nutritional value for the list of product
computeAndShowNutritionalListView(List<ProductAmount>) - Method in class be.ac.ulb.infof307.g02.controllers.NutritionalValuesController
Shows the nutritional value of a list of productAmounts.
computeMacroAmountPer100g(double, double) - Static method in class be.ac.ulb.infof307.g02.models.Product
Compute the exact quantity of a nutritional value(lipids or proteins or carbohydrates).
computeNumberOfCalories(double, double, double) - Static method in class be.ac.ulb.infof307.g02.models.Product
Compute the exact quantity of calories of a product by multiplying each parameter with a specific constant of the parameter and then we sum all of the values to obtain the exact quantity of calories of a product.
computeNutritionalValues(ProductAmount) - Static method in class be.ac.ulb.infof307.g02.models.NutritionalValuesCalculator
Calculates the correct nutritional value (proteins, lipids, carbohydrates and calories) of a product with a certain quantity.
computerAndShowNutritionalView(ProductAmount) - Method in class be.ac.ulb.infof307.g02.controllers.NutritionalValuesController
Shows the nutritional value of a product with a certain amount
computeResults() - Method in class be.ac.ulb.infof307.g02.controllers.ShowResultController
Finds the shops with all the products of a grocery list.
computeScore(List<Double>, List<Double>) - Static method in class be.ac.ulb.infof307.g02.models.AutoChefScoreCalculator
Compute a score based on the distance to a shop and the price of a grocery list.
confirmPasswordField - Variable in class be.ac.ulb.infof307.g02.views.EditAccountView
 
confirmPasswordField - Variable in class be.ac.ulb.infof307.g02.views.RegisterView
 
connection - Variable in class be.ac.ulb.infof307.g02.database.DatabaseConnection
 
connectUser(User) - Method in class be.ac.ulb.infof307.g02.controllers.LoginController
Connects a user to the application
Constants - Class in be.ac.ulb.infof307.g02.constants
 
Constants() - Constructor for class be.ac.ulb.infof307.g02.constants.Constants
 
CONSTANTS_PROPERTIES_FILENAME - Static variable in class be.ac.ulb.infof307.g02.constants.ConstantsLoader
 
ConstantsLoader - Class in be.ac.ulb.infof307.g02.constants
 
ConstantsLoader() - Constructor for class be.ac.ulb.infof307.g02.constants.ConstantsLoader
 
contains(Time) - Method in class be.ac.ulb.infof307.g02.models.TimeSlot
Checks if a given time is in the TimeSlot
Controller - Class in be.ac.ulb.infof307.g02.controllers
Parent class for all the controllers
Controller() - Constructor for class be.ac.ulb.infof307.g02.controllers.Controller
 
controller - Variable in class be.ac.ulb.infof307.g02.views.CreateProductView
 
controller - Variable in class be.ac.ulb.infof307.g02.views.HelpView
 
controller - Variable in class be.ac.ulb.infof307.g02.views.LoginView
 
controller - Variable in class be.ac.ulb.infof307.g02.views.RegisterView
 
controller - Variable in class be.ac.ulb.infof307.g02.views.SelectBestTourGroceryListView
 
ControllerMaster - Class in be.ac.ulb.infof307.g02.controllers
This class if responsible for the navigation between the views.
ControllerMaster(Scene) - Constructor for class be.ac.ulb.infof307.g02.controllers.ControllerMaster
 
controllerMaster - Variable in class be.ac.ulb.infof307.g02.controllers.HelpController
 
ControllerWithMenu - Class in be.ac.ulb.infof307.g02.controllers
Base class inherited by all the controllers that can interact with a menu
ControllerWithMenu() - Constructor for class be.ac.ulb.infof307.g02.controllers.ControllerWithMenu
 
ControllerWithMenu(HelpPage) - Constructor for class be.ac.ulb.infof307.g02.controllers.ControllerWithMenu
 
controllerWithMenu - Variable in class be.ac.ulb.infof307.g02.views.ViewWithMenu
 
ControllerWithMenuThatSaves - Class in be.ac.ulb.infof307.g02.controllers
Base class inherited by all the controllers that have a view with a menu and that, when the user clicks on a menu item, ask the user to save the state (ex: save grocery list items).
ControllerWithMenuThatSaves(HelpPage) - Constructor for class be.ac.ulb.infof307.g02.controllers.ControllerWithMenuThatSaves
 
converter - Variable in class be.ac.ulb.infof307.g02.views.ListComponent
 
convertPositionsToStringList(Position, Position) - Static method in class be.ac.ulb.infof307.g02.utils.DistanceCalculator
Converts each position to a String and returns a list with both strings
copyIntoStreamIntoAnother(InputStream, OutputStream) - Static method in class be.ac.ulb.infof307.g02.utils.Utils
 
create(String) - Static method in enum be.ac.ulb.infof307.g02.models.Product.Unit
 
createBridgeToJS() - Method in class be.ac.ulb.infof307.g02.views.MapComponent
Creates the bridge between the Java Application and the JavaScript code used to interact with the map.
createDayScheduleString(DaySchedule) - Method in class be.ac.ulb.infof307.g02.views.MapComponent
Create a string representing the schedule for a day.
createDeleteButton(String, HBox) - Method in class be.ac.ulb.infof307.g02.views.SelectionView
Creates the delete button for an item
createEncryptedPreparedStatement(String) - Method in class be.ac.ulb.infof307.g02.database.DatabaseConnection
Creates an encrypted prepared statement.
createHBox() - Method in class be.ac.ulb.infof307.g02.views.SelectionView
Creates the HBox the name and the delete button of an item.
createHTMLElement(String, String, String) - Method in class be.ac.ulb.infof307.g02.views.MapComponent
Creates an html elements with an onclick js function on it
createHTMLElement(String, String, String, String) - Method in class be.ac.ulb.infof307.g02.views.MapComponent
Creates an html elements of a specified class with an onclick js function on it
createHTMLElement(String, String) - Method in class be.ac.ulb.infof307.g02.views.MapComponent
Creates a simple html element
createHTMLSchedule(List<DaySchedule>) - Method in class be.ac.ulb.infof307.g02.views.MapComponent
Creates an html schedule
createItemButton - Variable in class be.ac.ulb.infof307.g02.views.SelectionView
 
createItemName(String, HBox) - Method in class be.ac.ulb.infof307.g02.views.SelectionView
Creates the name of an item.
createKey(byte[]) - Static method in class be.ac.ulb.infof307.g02.utils.AES
Returns the SecretKey representing from the AES key bytes
createListItem(Pair<Product, Double>) - Method in class be.ac.ulb.infof307.g02.views.ListComponent
Creates a list Item on the base of a Pair (Product, Double).
createListItem(String) - Method in class be.ac.ulb.infof307.g02.views.SelectionView
Creates the HBox with the TextView as well as the delete button inside
createMenu() - Method in class be.ac.ulb.infof307.g02.views.ViewWithMenu
 
createNewEntry(String) - Method in class be.ac.ulb.infof307.g02.views.SelectionView
Creates a new HBox with the help of createListItem() on the view and adds it to the VBox
createNewItem(String) - Method in class be.ac.ulb.infof307.g02.controllers.SelectionController
Creates the new grocery list, adds it to the DB and then shows the "Edit Grocery List" screen with the newly created (empty) list.
createNewProductButton - Variable in class be.ac.ulb.infof307.g02.views.ImportArticlesView
 
createPreparedStatement(String) - Method in class be.ac.ulb.infof307.g02.database.DatabaseConnection
Creates a prepared statement
createPreparedStatementWithGeneratedKeys(String) - Method in class be.ac.ulb.infof307.g02.database.DatabaseConnection
Creates a prepared statement that returns the keys generated after the statement is executed (ex: after inserting a Shop, returns the ID of the newly-inserted shop)
createProduct(String, Product.Unit, double, double, double) - Method in class be.ac.ulb.infof307.g02.controllers.CreateProductController
Creates a product and adds it in the database.
createProduct() - Method in class be.ac.ulb.infof307.g02.controllers.GroceryListController
Creates a new Product
createProductButton - Variable in class be.ac.ulb.infof307.g02.views.GroceryListView
 
CreateProductController - Class in be.ac.ulb.infof307.g02.controllers
Controller of the create product view.
CreateProductController(ProductCreationObserver) - Constructor for class be.ac.ulb.infof307.g02.controllers.CreateProductController
Creates the view to create a new product
CreateProductView - Class in be.ac.ulb.infof307.g02.views
Allows the user to create a new product
CreateProductView(CreateProductController) - Constructor for class be.ac.ulb.infof307.g02.views.CreateProductView
Constructor: initialize the Window, disable the "Add Product" button if all the required fields are empty
createSalt() - Method in class be.ac.ulb.infof307.g02.database.KeyStorer
Create a salt that is used to protect the data from rainbow/dictionary attacks
createShopMarkerContent(Shop) - Method in class be.ac.ulb.infof307.g02.views.MapView
Creates the marker content for the shop, e.g. create a String containing HTML that shows the shop name and its schedule.
createSpinnerValueFactory() - Method in class be.ac.ulb.infof307.g02.views.CreateProductView
Creates the values that will be possible to set in the spinners
createUser(String, String) - Method in class be.ac.ulb.infof307.g02.controllers.RegisterController
Creates a new user and inserts it in the database
crypto - Variable in class be.ac.ulb.infof307.g02.database.EncryptedPreparedStatement
 
crypto - Variable in class be.ac.ulb.infof307.g02.database.EncryptedResultSet
 
Crypto - Class in be.ac.ulb.infof307.g02.utils
Responsible for encrypting and decrypting data using RSA and AES.
Crypto(User, DatabaseConnection) - Constructor for class be.ac.ulb.infof307.g02.utils.Crypto
Initializes cryptography for the given user, fetching their keys from the database and the keystore file.
Crypto(KeyPair) - Constructor for class be.ac.ulb.infof307.g02.utils.Crypto
Initializes cryptography with the given RSA keypair and generates a new AES key.
crypto - Static variable in class be.ac.ulb.infof307.g02.utils.CryptoSingleton
 
CryptoSingleton - Class in be.ac.ulb.infof307.g02.utils
Ensure that there is only one instance of crypto at a time.
CryptoSingleton() - Constructor for class be.ac.ulb.infof307.g02.utils.CryptoSingleton
 
CSS_FILE_PATH - Static variable in class be.ac.ulb.infof307.g02.constants.Constants
 
CSVNotConsistentException - Exception in be.ac.ulb.infof307.g02.exceptions.import_export
Exception thrown if the imported CSV file is not consistent.
CSVNotConsistentException(String) - Constructor for exception be.ac.ulb.infof307.g02.exceptions.import_export.CSVNotConsistentException
 
currentController - Variable in class be.ac.ulb.infof307.g02.controllers.ControllerMaster
 
currentPasswordField - Variable in class be.ac.ulb.infof307.g02.views.EditAccountView
 
A B C D E F G H I J K L M N O P R S T U V W 
Skip navigation links