- All Implemented Interfaces:
Serializable
,Comparable<GUI.Window>
,Constable
- Enclosing class:
GUI
The windows/scenes/views that are available in the graphical user interface of the Friedolyn application.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionA window where the user can contact the developers of the application.A dialog that asks the user how the developers should reply to their contact request.The window that is shown when the application is launched for the very first time, i.e.The primary window of the application where the user can interact with the application and start fetching their grades from Friedolin.The window that is shown after logging in viaFIRST_LAUNCH
.A dialog that asks the user to configure anEMailNotifier
for push notifications.A dialog that asks the user to configure aNtfyNotifier
for push notifications.A dialog that asks the user to configure aUnifiedPushNotifier
for push notifications. -
Field Summary
FieldsModifier and TypeFieldDescriptionfinal String
The name of the FXML file that represents theGUI.Window
. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic GUI.Window
Returns the enum constant of this class with the specified name.static GUI.Window[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
FIRST_LAUNCH
The window that is shown when the application is launched for the very first time, i.e. when no configuration has been set yet. -
SETUP
The window that is shown after logging in viaFIRST_LAUNCH
. It asks the user to set their preferences for the application. -
SETUP_EMAIL_DIALOG
A dialog that asks the user to configure anEMailNotifier
for push notifications. -
SETUP_NTFY_DIALOG
A dialog that asks the user to configure aNtfyNotifier
for push notifications. -
SETUP_UNIFIED_PUSH_DIALOG
A dialog that asks the user to configure aUnifiedPushNotifier
for push notifications. -
MAIN
The primary window of the application where the user can interact with the application and start fetching their grades from Friedolin. -
CONTACT
A window where the user can contact the developers of the application. -
CONTACT_REPLY_METHOD_DIALOG
A dialog that asks the user how the developers should reply to their contact request. Shown after theCONTACT
window.
-
-
Field Details
-
label
The name of the FXML file that represents theGUI.Window
.
-
-
Constructor Details
-
Window
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-