Package hsafx
Class ConsoleView
- java.lang.Object
-
- javafx.application.Application
-
- hsafx.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
-
-
Constructor Summary
Constructors Constructor Description ConsoleView()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description (package private) javafx.scene.canvas.Canvas
getGlassPane()
(package private) javafx.scene.canvas.Canvas
getLiveCanvas()
abstract void
run()
(package private) void
setTitle(String title)
(package private) void
show()
void
start(javafx.stage.Stage stage)
start method sets up the window
-
-
-
Method Detail
-
start
public void start(javafx.stage.Stage stage)
start method sets up the window- Specified by:
start
in classjavafx.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()
-
-