Package hsafx

Class ConsoleView

  • Direct Known Subclasses:
    ConsoleTemplate

    public abstract class ConsoleView
    extends javafx.application.Application
    This is a re-implementation of the old hsa console by Holt Software Associates, in order to use Java FX, and to present an API consistent with the GraphicsContext and Scanner classes. For more details and version history, see Console.java.
    Version:
    6.0, May 24, 2018
    Author:
    Sam Scott
    • 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 
      Constructor Description
      ConsoleView()  
    • Constructor Detail

      • ConsoleView

        public ConsoleView()
    • Method Detail

      • start

        public void start​(javafx.stage.Stage stage)
        start method sets up the window
        Specified by:
        start in class javafx.application.Application
        Parameters:
        stage - The FX stage to draw on
      • run

        public abstract void run()
      • setTitle

        void setTitle​(String title)
      • show

        void show()
      • getLiveCanvas

        javafx.scene.canvas.Canvas getLiveCanvas()
      • getGlassPane

        javafx.scene.canvas.Canvas getGlassPane()