Welcome to the CSC Q&A, on our server named in honor of Ada Lovelace. Write great code! Get help and give help!
It is our choices... that show what we truly are, far more than our abilities.


+15 votes
asked in CSC305 Fall 2023 by (2.2k points)

1 Answer

+6 votes

Please include all of the GUI classes in your diagram, but you can be very selective about the methods and fields that you include within those classes.

Certainly DO NOT include a million private @FXML fields-- maybe just any public fields, or private fields that have public getters/setters that other classes may use.

I'm doubtful you want to include all the @fxml event handler methods either. Maybe just the most important ones, and the non-private methods that get called from other classes. Or the methods that are most important for relating to the data model, which is what we are most interested in discussing.

answered by (508 points)