Message-ID: <355530602.22641.1394227068505.JavaMail.firstname.lastname@example.org> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_22640_1887230856.1394227068505" ------=_Part_22640_1887230856.1394227068505 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html
Please join us at our new site. This page still serves as a sou= rce of documentation, but will be taken down once all of the information ha= s been migrated.
GroovyFX is an API that makes working with JavaFX in Groovy much = simpler and more natural to those well-versed in Groovy. GroovyFX is f= ocused on leveraging the Builder pattern for JavaFX applications, but more = than that, it leverages some of the DSL capabilities that Groovy provides a= nd makes the Groovy based JavaFX code easier to write and, just as imp= ortant, easier to read. For example, JavaFX colors can be set using pseudo = variables, like red or= blue.
The primary goal of GroovyFX is to make JavaFX development simpler and m= ore concise than what it takes in Java. This is done via numerous built-in = features that Groovy provides, including the Tree Structured Language = supported through Groovy=E2=80=99s Builder framework that makes declaring a= JavaFX SceneGraph more closely resemble the actual SceneGraph itself.= This is done through GroovyFX=E2=80=99s SceneGraphBuilder object, that sup= ports all the Controls, Shapes, Effects, and other JavaFX objects, as well = as support for using Groovy closures for event handling.
Features include a SceneGraphBuilder, a TimelineBuilder and Groovy DSL f= eatures to handle JavaFX objects, enumerations, binding, and paints/colors.=
The following screenshots show two GroovyFX applications, one demonstrat= ing the visual effect features available with JavaFX and the other demonstr= ating the JavaFX Charts. The ChartDemo.groovy source is listed below the sc= reen snapshots.