java.lang.Object
javafx.application.Application
com.jpro.webapi.JProApplication
public abstract class JProApplication
extends javafx.application.Application
This class can be used as the starting point of your application.
It only adds the benefit, of making the
WebAPI
accessible.-
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 -
Method Summary
Methods inherited from class javafx.application.Application
getHostServices, getParameters, getUserAgentStylesheet, init, launch, launch, notifyPreloader, setUserAgentStylesheet, start, stop
-
Constructor Details
-
JProApplication
public JProApplication()
-
-
Method Details
-
setWebAPI
Sets the value of the application'sWebAPI
to the specifiedwebAPI
This method is used internally by JPro.- Parameters:
webAPI
- theWebAPI
instance to be set for this application
-
getWebAPI
Gets the value of the application'sWebAPI
.- Returns:
- the
WebAPI
instance associated with this application, ornull
if not set
-