Class AbstractDemoApplication

    • Nested Class Summary

      • Nested classes/interfaces inherited from class javafx.application.Application

        javafx.application.Application.Parameters
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected static double DEFAULT_SCENE_HEIGTH  
      protected static double DEFAULT_SCENE_WIDTH  
      protected static java.util.Random RANDOM  
      protected double sceneHeight  
      protected double sceneWidth  
      • Fields inherited from class javafx.application.Application

        STYLESHEET_CASPIAN, STYLESHEET_MODENA
    • Method Summary

      All Methods Static Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      abstract javafx.scene.Node getContent()  
      static void main​(java.lang.String[] args)  
      void start​(javafx.stage.Stage primaryStage)  
      • Methods inherited from class javafx.application.Application

        getHostServices, getParameters, getUserAgentStylesheet, init, launch, launch, notifyPreloader, setUserAgentStylesheet, stop
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • RANDOM

        protected static final java.util.Random RANDOM
      • DEFAULT_SCENE_HEIGTH

        protected static final double DEFAULT_SCENE_HEIGTH
        See Also:
        Constant Field Values
      • sceneWidth

        protected double sceneWidth
      • sceneHeight

        protected double sceneHeight
    • Constructor Detail

      • AbstractDemoApplication

        public AbstractDemoApplication()
      • AbstractDemoApplication

        public AbstractDemoApplication​(double sceneWidth,
                                       double sceneHeight)
    • Method Detail

      • getContent

        public abstract javafx.scene.Node getContent()
      • start

        public void start​(javafx.stage.Stage primaryStage)
        Specified by:
        start in class javafx.application.Application
      • main

        public static void main​(java.lang.String[] args)
        Parameters:
        args - the command line arguments