blob: 6f2c1ec16108c99d44d1d01bc6c118f5ab30d5cd (
plain)
- // SPDX-FileCopyrightText: 2025 Jonas Smedegaard <dr@jones.dk>
- // SPDX-License-Identifier: GPL-3.0-or-later
- package com.example.portfolio2;
- /// Bachelorizer - reference user interface model
- public abstract class UI {
- /// Default constructor
- // (declared explicitly only to silence javadoc)
- public UI() { }
- /// structural sections of user interface
- public enum Section {
- /// main programme
- PROGRAM("Program"),
- /// first subject module
- SUBJECT1("Subject 1"),
- /// second subject module
- SUBJECT2("Subject 2"),
- /// elective courses
- ELECTIVE("Elective");
- /// text label
- public final String label;
- /// instantiation
- ///
- /// @param label text label
- private Section(String label) {
- this.label = label;
- }
- }
- }
|