- java.lang.Object
-
- javafx.application.Application
-
- org.tentackle.fx.rdc.app.FxApplication
-
- Direct Known Subclasses:
LoginApplication
public abstract class FxApplication extends javafx.application.ApplicationTentackle FX application base class.Usually the application initially launched is the
LoginApplication.- Author:
- harald
-
-
Constructor Summary
Constructors Constructor Description FxApplication()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract voidshowApplicationStatus(java.lang.String msg, double progress)Updates the status in the main application scene.voidstart(javafx.stage.Stage stage)abstract voidstartApplication(javafx.stage.Stage primaryStage)The main entry point for all Tentackle JavaFX applications.voidstop()
-
-
-
Method Detail
-
start
public void start(javafx.stage.Stage stage) throws java.lang.Exception- Specified by:
startin classjavafx.application.Application- Throws:
java.lang.Exception
-
stop
public void stop() throws java.lang.Exception- Overrides:
stopin classjavafx.application.Application- Throws:
java.lang.Exception
-
startApplication
public abstract void startApplication(javafx.stage.Stage primaryStage)
The main entry point for all Tentackle JavaFX applications.This is just a replacement for
Application.start(javafx.stage.Stage)to make sure the client application is really implementing this method.- Parameters:
primaryStage- the primary stage
-
showApplicationStatus
public abstract void showApplicationStatus(java.lang.String msg, double progress)Updates the status in the main application scene.- Parameters:
msg- the message shown in the viewprogress- the progress, 0 to disable, negative if infinite, 1.0 if done
-
-