clojurefx/README.md
dziltener@lyrion.ch c10b14359b Some extends and fully working declarative scenegraph creation.
FXValue, FXId, FXParent, FXGraphic and FXContainer provide functionality to get and set values, ids, children, graphics and content.
Declarative structures can be created and compiled into JavaFX scenegraphs, similar to Hiccup.
2015-01-16 03:27:37 +00:00

21 lines
576 B
Markdown

# ClojureFX
A Clojure wrapper to make working with [JavaFX](http://download.java.net/jdk8/jfxdocs/index.html) simpler and more idiomatic.
## Features
This is in a very early state, so there isn't much yet, except one thing.
### Declarative UI programming
```clojure
(compile [:VBox {:id "TopLevelVBox"
:children [:Label {:text "Hi!"}
:Label {:text "I'm ClojureFX!"}
:HBox {:id "HorizontalBox"
:children [:Button {:text "Alright."}]}]}])
```
## TODO
Everything.