Module jpro.webapi

Class JProApplication

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
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the value of the application's WebAPI.
    void
    setWebAPI(WebAPI webAPI)
    Sets the value of the application's WebAPI to the specified webAPI This method is used internally by JPro.

    Methods inherited from class javafx.application.Application

    getHostServices, getParameters, getUserAgentStylesheet, init, launch, launch, notifyPreloader, setUserAgentStylesheet, start, stop

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • JProApplication

      public JProApplication()
  • Method Details

    • setWebAPI

      public void setWebAPI(WebAPI webAPI)
      Sets the value of the application's WebAPI to the specified webAPI This method is used internally by JPro.
      Parameters:
      webAPI - the WebAPI instance to be set for this application
    • getWebAPI

      public WebAPI getWebAPI()
      Gets the value of the application's WebAPI.
      Returns:
      the WebAPI instance associated with this application, or null if not set