ron
03/26/2017, 7:15 PMedvin
03/26/2017, 7:15 PMron
03/26/2017, 7:15 PMedvin
03/26/2017, 7:16 PMedvin
03/26/2017, 7:16 PMron
03/26/2017, 7:20 PMron
03/26/2017, 7:20 PMedvin
03/26/2017, 7:23 PMedvin
03/26/2017, 7:23 PMron
03/26/2017, 7:24 PMedvin
03/26/2017, 7:24 PMron
03/26/2017, 7:24 PMedvin
03/26/2017, 7:24 PMron
03/26/2017, 7:31 PMron
03/26/2017, 7:32 PMron
03/26/2017, 7:33 PMedvin
03/26/2017, 7:39 PMron
03/26/2017, 7:40 PMron
03/26/2017, 7:40 PMedvin
03/26/2017, 7:42 PMron
03/26/2017, 7:56 PMxml
<build>
<plugins>
<plugin>
<groupId>no.tornadofx.fxlauncher</groupId>
<artifactId>fxlauncher-maven-plugin</artifactId>
<version>0.1.0-SNAPSHOT</version>
<configuration>
<appName>name</appName>
<baseUrl>http://localhost</baseUrl>
<mainClass>main</mainClass>
<whatsNew>readme.txt</whatsNew>
<identityFile>${user.home}/.ssh/id_rsa</identityFile>
<deployTarget>ron@ronsmits.org:www/demo/</deployTarget>
</configuration>
<executions>
<execution>
<goals>
<goal>package</goal>
<goal>install</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
| Parameter | Type | Required | Description |
| --------- | ---- | -------- | ------------|
|appName|String|true|Name of the app as how it will be used by the native installer|
|baseUrl|URL|true|Location where Fxlauncher will go to download the files from|
|mainclass|String|true|Main entry point into the application|
|whatsNew|String|false|If set fxlauncher will show a webview with the contents of the whatsNew variable in it|
|privateKeyFile|String|true|Location of the ssh private key file that will be used to upload the files|
|deployTarget|String|true|Location where the files will be uploaded to|
|cacheDir|String|false|Location where fxlauncher will store the files. Default is `USERLIB/${appName}/cache`|
|parameters|String|false|parameters that need to be passed to the application when Fxlauncher starts it up|
|vendor|String|false|Used when building a native installer|
|version|String|false|Used when building a native installer|
|buildDir|String|false|Used to assemble the files that need to be uploaded. Default is `${project.build.directory}/app`|
|includeExtensions|List|false|Extension, like md or txt, that need to be included |ron
03/26/2017, 8:14 PMloloof64
03/26/2017, 8:50 PMloloof64
03/26/2017, 8:51 PMloloof64
03/26/2017, 8:51 PMedvin
03/26/2017, 9:09 PMedvin
03/26/2017, 9:11 PMaddEventFilter
exactly the same way as in a JavaFX application. I think maybe you tried to add an event filter to a subclass of View
? Remember, View
holds the scene graph for the view in it's root
variable. root
is always a Node
, and you can add an event filter to that or any other node inside your view. Normally you'd add an event filter while you build the UI, i.e inside the builder for the Node that you want to apply the filter to. I would recommend reading the first chapters of the guide to familiarize yourself with TornadoFX. https://github.com/edvin/tornadofx-guide/edvin
03/26/2017, 9:12 PM