aboutsummaryrefslogtreecommitdiff
path: root/src/com.example.portfolio2/com/example/portfolio2/UI.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/com.example.portfolio2/com/example/portfolio2/UI.java')
-rw-r--r--src/com.example.portfolio2/com/example/portfolio2/UI.java38
1 files changed, 38 insertions, 0 deletions
diff --git a/src/com.example.portfolio2/com/example/portfolio2/UI.java b/src/com.example.portfolio2/com/example/portfolio2/UI.java
new file mode 100644
index 0000000..6f2c1ec
--- /dev/null
+++ b/src/com.example.portfolio2/com/example/portfolio2/UI.java
@@ -0,0 +1,38 @@
+// 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;
+ }
+ }
+}