aboutsummaryrefslogtreecommitdiff
path: root/src/dk.biks.bachelorizer/dk/biks/bachelorizer/GUI.java
blob: 66c25656414b85e820006265e592a85598e68c25 (plain)
  1. // SPDX-FileCopyrightText: 2025 Jonas Smedegaard <dr@jones.dk>
  2. // SPDX-License-Identifier: GPL-3.0-or-later
  3. package dk.biks.bachelorizer;
  4. /// Bachelorizer - graphical user interface model
  5. public class GUI extends UI {
  6. /// Default constructor
  7. // (declared explicitly only to silence javadoc)
  8. public GUI() { }
  9. /// structural sections of user interface
  10. public enum Section {
  11. /// main programme
  12. PROGRAM("Program", 0),
  13. /// first subject module
  14. SUBJECT1("Subject 1", 1),
  15. /// second subject module
  16. SUBJECT2("Subject 2", 2),
  17. /// elective courses
  18. ELECTIVE("Elective", 3);
  19. /// text label
  20. final String label;
  21. /// column position
  22. final int column;
  23. /// instantiation
  24. ///
  25. /// @param label text label
  26. /// @param column column position
  27. Section(final String label, final int column) {
  28. this.label = label;
  29. this.column = column;
  30. }
  31. }
  32. /* public static UI.Section asUISection () {
  33. return UI.Section.valueOf(this);
  34. }
  35. */
  36. }