io.sarl.api.javafx
Class FxApplication
abstract class FxApplication
extends java.lang.Object
Abstract implementation of a JavaFX application that is embedding SARL agents.
Maven Group Identifier:
io.sarl.sdk
Maven Artifact Identifier:
api.javafx
Since:
0.7
Action Summary
Modifier and type Action and description
protected abstract javafx.fxml.FXMLLoader doApplicationStart(Stage)
Start the application.
final void start(Stage)
Start the JavaFX application.
void stop
Kill the agents and stop the JavaFX application.
Action Details
doApplicationStart(Stage)
protected def doApplicationStart(Stage) : javafx.fxml.FXMLLoader
Start the application. This function must be overridden within the application software in order to initialize the JavaFX user interface that is dedicated to the application.
Parameters:
stage - the JavaFX stage. That is used for initializing JavaFX.
Returns:
the loader of FXML, i.e. of uuser interface, that is dedicated to the application.
start(Stage)
def start(Stage)
Start the JavaFX application.
Parameters:
stage - the JavaFX stage.
stop
def stop
Kill the agents and stop the JavaFX application.