Created
March 25, 2013 19:54
-
-
Save phdoerfler/5240113 to your computer and use it in GitHub Desktop.
Example Output for sbtFX
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// This FXML: | |
<?xml version="1.0" encoding="UTF-8"?> | |
<?import java.lang.*?> | |
<?import java.util.*?> | |
<?import javafx.scene.control.*?> | |
<?import javafx.scene.layout.*?> | |
<?import javafx.scene.paint.*?> | |
<AnchorPane id="AnchorPane" prefHeight="400.0" prefWidth="600.0" xmlns:fx="http://javafx.com/fxml" fx:controller="org.fancy.Controller"> | |
<children> | |
<Button fx:id="meep" layoutX="89.0" layoutY="33.0" text="Button" /> | |
</children> | |
</AnchorPane> | |
// results in this .scala code: | |
package org.fancy | |
import javafx.fxml.FXML | |
import javafx.scene.control.Button | |
object Controller { | |
@FXML | |
Button meep | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment