diff --git a/docs/clojurefx.html b/docs/clojurefx.html index 17caaef..9b7bc2c 100644 --- a/docs/clojurefx.html +++ b/docs/clojurefx.html @@ -3,9 +3,10 @@ - +Copyright (C) 2016-2018 Daniel Ziltener. --> +
+This is the documentation to ClojureFX, version 0.4.0. +
This is the documentation to ClojureFX, version 0.5.0.
• Installation and deployment: | adding ClojureFX and probably tools.jar to your build tool.
@@ -120,9 +120,9 @@ Next: Getting started, P
1 Installation and deployment-The first, straightforward part of this is to add the dependency to your project.clj or build.boot, which consists simply of adding The first, straightforward part of this is to add the dependency to your project.clj or build.boot, which consists simply of adding For the users of OpenJDK 7 and 8, OpenJFX, the opensource implementation of JavaFX, is not included yet (it will be starting with OpenJDK 9). Luckily, many Linux distributions ship a separate OpenJFX package by now, but for those that don’t, the OpenJDK wiki has an article “Building OpenJFX”. Alternatively, you can of course install the Oracle JDK manually. + For the users of OpenJDK 7 and 8, OpenJFX, the opensource implementation of JavaFX, is not included. Luckily, many Linux distributions ship a separate OpenJFX package by now, but for those that don’t, the OpenJDK wiki has an article “Building OpenJFX”. Starting with OpenJDK 9, JavaFX is available as a library. Alternatively, you can of course install the Oracle JDK manually. @@ -141,25 +141,24 @@ Next: Coding a scenegrap
Subclassing ‘ Alternatively, and preferredly, you can use (ns example.core (:require [clojurefx.clojurefx :as fx]) - (:gen-class :main true - :extends javafx.application.Application)) + (:gen-class)) -(defn -init [this] +(defn init [] nil) -(defn -start [this ^javafx.stage.Stage stage] +(defn start [^javafx.stage.Stage stage] (.show stage)) -(defn -stop [this] +(defn stop [] nil) (defn -main [& args] - (javafx.application.Application/launch example.core args)) + (fx/start-app init start stop))
|