blob: 66c25656414b85e820006265e592a85598e68c25 (
plain)
- // SPDX-FileCopyrightText: 2025 Jonas Smedegaard <dr@jones.dk>
- // SPDX-License-Identifier: GPL-3.0-or-later
- package dk.biks.bachelorizer;
- /// Bachelorizer - graphical user interface model
- public class GUI extends UI {
- /// Default constructor
- // (declared explicitly only to silence javadoc)
- public GUI() { }
- /// structural sections of user interface
- public enum Section {
- /// main programme
- PROGRAM("Program", 0),
- /// first subject module
- SUBJECT1("Subject 1", 1),
- /// second subject module
- SUBJECT2("Subject 2", 2),
- /// elective courses
- ELECTIVE("Elective", 3);
- /// text label
- final String label;
- /// column position
- final int column;
- /// instantiation
- ///
- /// @param label text label
- /// @param column column position
- Section(final String label, final int column) {
- this.label = label;
- this.column = column;
- }
- }
- /* public static UI.Section asUISection () {
- return UI.Section.valueOf(this);
- }
- */
- }
|