Advertisement
Guest User

Untitled

a guest
Mar 23rd, 2019
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.54 KB | None | 0 0
  1. Significant classes in desktop
  2.  
  3. CrawlifyController - This is the Controller superclass, it contains common instance variables, such as the 'master' list of pubs. Methods include getters and setters and a method to display an alert box with a given message.
  4.  
  5. StartController - Controls the introductory screen with two buttons; one to create a new location and one to select an existing location. Paired with start.fxml.
  6.  
  7. ExistingLocationController - Controls a screen that displays a list of locations that already exist in the master list, which a user can select. Paired with existingLocation.fxml.
  8.  
  9. CreateLocationController - Controls a screen that allows the user to type in a new location, using a method to check if it already exists and creates the necessary objects. Paired with createLocation.fxml.
  10.  
  11. PubListController - Controls a screen that displays existing pubs in a list, allowing the user to delete a pub or add another pub. Paired with pubList.fxml.
  12.  
  13. NewPubController - Controls a screen that displays a form for the end-user to fill in details about a pub that they want added to a list, said list either having been instantiated previously or loaded in. Paired with newPub.fxml.
  14.  
  15. AddImageController - Controls a screen that asks user to enter URL of an image, and displays that image, allowing user to select whether to add it to the pub.
  16.  
  17. SaveAndCloseController - Controls the final screen of the application, where the user can choose to save or cancel any changes, and then either close the application or return to StartController.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement