Package com.esprit.utils
Class AutoDemoScreenshotGenerator
java.lang.Object
javafx.application.Application
com.esprit.utils.AutoDemoScreenshotGenerator
public class AutoDemoScreenshotGenerator
extends javafx.application.Application
Automated Screenshot Generator for RAKCHA Desktop Demo
Generates high-quality screenshots programmatically using JavaFX
-
Nested Class Summary
Nested classes/interfaces inherited from class javafx.application.Application
javafx.application.Application.Parameters
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final int
private static CountDownLatch
private static final Logger
private static final String
private static final int
private static final int
private static int
Fields inherited from class javafx.application.Application
STYLESHEET_CASPIAN, STYLESHEET_MODENA
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate void
generateAnalyticsDashboard
(javafx.stage.Stage stage) private void
generateCinemaManagement
(javafx.stage.Stage stage) private void
generateDemoScenarios
(javafx.stage.Stage stage) private void
generateMainDashboard
(javafx.stage.Stage stage) private void
generateProductCatalog
(javafx.stage.Stage stage) private void
generateUserManagement
(javafx.stage.Stage stage) private void
generateWelcomeScreen
(javafx.stage.Stage stage) static void
void
start
(javafx.stage.Stage primaryStage) private void
takeScreenshot
(javafx.stage.Stage stage, String filename) Methods inherited from class javafx.application.Application
getHostServices, getParameters, getUserAgentStylesheet, init, launch, launch, notifyPreloader, setUserAgentStylesheet, stop
-
Field Details
-
logger
-
OUTPUT_DIR
- See Also:
-
SCREENSHOT_WIDTH
private static final int SCREENSHOT_WIDTH- See Also:
-
SCREENSHOT_HEIGHT
private static final int SCREENSHOT_HEIGHT- See Also:
-
DELAY_MS
private static final int DELAY_MS- See Also:
-
latch
-
screenshotCount
private static int screenshotCount
-
-
Constructor Details
-
AutoDemoScreenshotGenerator
public AutoDemoScreenshotGenerator()
-
-
Method Details
-
start
public void start(javafx.stage.Stage primaryStage) - Specified by:
start
in classjavafx.application.Application
-
generateDemoScenarios
- Throws:
InterruptedException
-
generateWelcomeScreen
private void generateWelcomeScreen(javafx.stage.Stage stage) -
generateMainDashboard
private void generateMainDashboard(javafx.stage.Stage stage) -
generateCinemaManagement
private void generateCinemaManagement(javafx.stage.Stage stage) -
generateProductCatalog
private void generateProductCatalog(javafx.stage.Stage stage) -
generateAnalyticsDashboard
private void generateAnalyticsDashboard(javafx.stage.Stage stage) -
generateUserManagement
private void generateUserManagement(javafx.stage.Stage stage) -
takeScreenshot
-
main
-