程序包 cc.wanforme.ofx

类 BaseView

java.lang.Object
cc.wanforme.ofx.BaseView

public abstract class BaseView extends Object
  • 构造器详细资料

    • BaseView

      public BaseView()
  • 方法详细资料

    • customFXMLLoader

      public javafx.fxml.FXMLLoader customFXMLLoader()
      custom fxml loader 自定义 fxml 的加载器
      返回:
    • isLoadEager

      public boolean isLoadEager()
      load fxml when bean created
      在 bean 创建的时候立即加载 fxml 文件
      返回:
      default false
    • loaded

      public void loaded()
      fxml loaded
    • loadFxml

      protected void loadFxml()
      load fxml file
    • getLoader

      public javafx.fxml.FXMLLoader getLoader()
    • getPane

      public javafx.scene.Parent getPane()
    • getPane

      public javafx.scene.Parent getPane(boolean recreate)
      get Pane , regenerate a pane if 'recreate' is true
      参数:
      recreate -
      返回:
    • getScene

      public javafx.scene.Scene getScene()
    • getBeanName

      public String getBeanName()
      spring bean name (auto set by spring)
    • loadFXMLResource

      protected InputStream loadFXMLResource(String path) throws IOException
      if you want to change how to load fxml file, override this method.
      参数:
      path -
      返回:
      抛出:
      IOException
    • loadResource

      public static InputStream loadResource(String path) throws IOException
      load resource. order:
      1. {project}/{path}
      2. {project}/src/main/resources/{path}
      1. {jar-classpath}/{path}
      参数:
      path -
      返回:
      抛出:
      IOException