Package mazealgo
Class MazeApp
java.lang.Object
javafx.application.Application
mazealgo.MazeApp
public class MazeApp
extends javafx.application.Application
JavaFX application entry point.
On startup, start(Stage) spawns two embedded
MyServer instances — one for GenerateMazeStrategy,
one for SolveMazeStrategy — on OS-assigned ephemeral ports,
then injects those ports into a MazeModel that goes to the
MazeViewController via the FXMLLoader's controller factory.
Every Generate / Solution Hint click in the UI is now a real socket
roundtrip through the Phase 2 server pipeline (Strategy + Decorator
compression + SHA-256 solution cache).
Application.stop() shuts the servers down cleanly so the
JVM can exit when the window closes.
-
Nested Class Summary
Nested classes/interfaces inherited from class javafx.application.Application
javafx.application.Application.Parameters -
Field Summary
Fields inherited from class javafx.application.Application
STYLESHEET_CASPIAN, STYLESHEET_MODENA -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class javafx.application.Application
getHostServices, getParameters, getUserAgentStylesheet, init, launch, launch, notifyPreloader, setUserAgentStylesheet
-
Constructor Details
-
MazeApp
public MazeApp()
-
-
Method Details
-
start
- Specified by:
startin classjavafx.application.Application- Throws:
Exception
-
stop
public void stop()- Overrides:
stopin classjavafx.application.Application
-
main
-