程序包 cc.wanforme.ofx

类 BaseOFXApplication

java.lang.Object
javafx.application.Application
cc.wanforme.ofx.BaseOFXApplication

public abstract class BaseOFXApplication extends javafx.application.Application
  • 嵌套类概要

    从类继承的嵌套类/接口 javafx.application.Application

    javafx.application.Application.Parameters
  • 字段概要

    从类继承的字段 javafx.application.Application

    STYLESHEET_CASPIAN, STYLESHEET_MODENA
  • 构造器概要

    构造器
    构造器
    说明
     
     
  • 方法概要

    修饰符和类型
    方法
    说明
    protected void
    do something after stage.show()
    static org.springframework.context.ConfigurableApplicationContext
     
    void
     
    static void
    launchOFX(Class<? extends BaseOFXApplication> app, Class<?> springApp, Class<? extends BaseView> mainView, String[] args)
    launch application ( SpringBoot and FXApplication )
    protected abstract void
    scene(javafx.scene.Scene scene)
    custom style for scene
    自定义场景的设置和样式
    protected abstract void
    stage(javafx.stage.Stage primaryStage)
    custom style for primary stage 自定义舞台的设置和样式
    void
    start(javafx.stage.Stage pStage)
     
    protected org.springframework.context.ConfigurableApplicationContext
    startSpringApp(Class<?> clazz, String[] args)
    启动 spring 程序

    从类继承的方法 javafx.application.Application

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

    从类继承的方法 java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 构造器详细资料

    • BaseOFXApplication

      public BaseOFXApplication()
    • BaseOFXApplication

      public BaseOFXApplication(String[] args)
  • 方法详细资料

    • launchOFX

      public static void launchOFX(Class<? extends BaseOFXApplication> app, Class<?> springApp, Class<? extends BaseView> mainView, String[] args)
      launch application ( SpringBoot and FXApplication )
      参数:
      app -
      mainView -
      args -
    • init

      public void init() throws Exception
      覆盖:
      init 在类中 javafx.application.Application
      抛出:
      Exception
    • start

      public void start(javafx.stage.Stage pStage) throws Exception
      指定者:
      start 在类中 javafx.application.Application
      抛出:
      Exception
    • startSpringApp

      protected org.springframework.context.ConfigurableApplicationContext startSpringApp(Class<?> clazz, String[] args)
      启动 spring 程序
    • scene

      protected abstract void scene(javafx.scene.Scene scene)
      custom style for scene
      自定义场景的设置和样式
      参数:
      scene -
    • stage

      protected abstract void stage(javafx.stage.Stage primaryStage)
      custom style for primary stage 自定义舞台的设置和样式
      参数:
      primaryStage -
    • afterShow

      protected void afterShow()
      do something after stage.show()
    • getSpringContext

      public static org.springframework.context.ConfigurableApplicationContext getSpringContext()