Klasse ApiKeyWindow
java.lang.Object
com.currencycalc.currencycalculatorjavafx.utils.ApiKeyWindow
Utility class for displaying a modal window where users can enter their API key.
This window is invoked when the API key is not available or needs to be set up.
The modal ensures that the user cannot interact with other parts of the application
until the API key is provided and saved.
- Version:
- 1.0.0
- Autor:
- Tim Platzer
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
-
Konstruktordetails
-
ApiKeyWindow
public ApiKeyWindow()
-
-
Methodendetails
-
show
Displays the modal window for entering the API key. The window contains an input field, a "Save" button, and an instructional label. The "Save" button is enabled only when the input field is not empty.- Gibt zurück:
- The API key entered by the user, or
null
if no key was provided.
-