Questions tagged [groovyfx]

GroovyFX is a Groovy binding for JavaFX 2.0.

GroovyFX is a Groovy Module focused on making developing JavaFX 2.0 based UIs in Groovy easy. The main project page is under the Groovy section at codehaus located at GroovyFX. From there, you can download the project jar files, source code, if you are so inclined, and of course the project documentation.

17 questions
5
votes
3 answers

How does javafx compare to swing in terms of features for griffon 1.2?

Technically it has been "possible" to create a javafx/groovyfx based griffon application for quite a while. How does swing compare to javafx nowadays ? Can the latter be generally recommended for a fresh application without legacy baggage ? Any…
Andreas Steffan
  • 6,039
  • 2
  • 23
  • 25
4
votes
1 answer

How to grab a dependency and make it work with IntelliJ project?

I am trying to start a GroovyFX project within IntelliJ 12. However, I have not been able to get IntelliJ to compile and run the following simple script (for reproducing the problem in the simplest manner…
Renato
  • 12,940
  • 3
  • 54
  • 85
3
votes
1 answer

How to properly size and wrap Tooltips

I’m adding Tooltips to various ListCells, that can have a very long (or very short) text. According to RT-5313, it’s only possible to have the tooltip wrap the text if the width is set. If no width is set, the tooltip on short texts looks good –…
Marcelo
  • 4,580
  • 7
  • 29
  • 46
2
votes
2 answers

Implement new JavaFX components using GroovyFX?

We are using GroovyFX in our project, to build our user interfaces. It already provides support for all the native UI components, such as TextArea and HTMLEditor, but we are also building a custom UI component (that actually extends…
Marcelo
  • 4,580
  • 7
  • 29
  • 46
2
votes
2 answers

Tutorial/Blog for GroovyFx

I need links for blog, tutorials that covers GroovyFx. I have tried searching it on google, i'm not getting any useful tutorials. I need a full coverage of GroovyFx from top to bottom! Thanks in advance.
Ant's
  • 13,545
  • 27
  • 98
  • 148
2
votes
1 answer

Update TreeView on custom TreeItem property change

I have extended TreeCell and TreeItem class. MyTreeItem contains a custom property which I use inside MyTreeCell to render graphics/font etc. The problem is when I set MyTreeCell.customProperty I'm not sure how to make the TreeView/Cell…
shnplr
  • 230
  • 3
  • 12
1
vote
1 answer

Bind number property to boolean property

I'm using a TitledPane inside of GridPane and I want to set the percentHeight on the grid panes row constraints depending on whether or not the TitledPane is expanded. e.g. gridPane { columnConstraints(hgrow: 'always') rowConstraints(vgrow:…
shnplr
  • 230
  • 3
  • 12
1
vote
1 answer

GroovyFX application run with gradle

i have the next sample (from groovyfx site), it's simple window. import static groovyx.javafx.GroovyFX.start start { stage(title: 'GroovyFX Hello World', visible: true) { scene(fill: BLACK, width: 700, height: 250) { hbox(padding: 60)…
lito
  • 989
  • 8
  • 21
1
vote
1 answer

Griffon groovyfx controller access

Real newbie to the JavaFX scene so here goes. griffon 1.4.0 - jdk 1.7.0_45 griffon plugins ( groovyfx-0.9.1, javafx-0.10.0) I'm trying to implement a simple focus listener to one of my textfields. The idea is that once the textfield is focused I…
zorkle
  • 369
  • 3
  • 6
1
vote
1 answer

groovyfx multiple scenes

I'm trying to implement multipage application with groovyfx and i'm stuck with the scene changing. Suppose i have the following code: start { stage(id: 'stageId', title: 'sometitle'){ scene(id:'scene1'){ button(text:'goto scene 2',…
Daniil
  • 88
  • 1
  • 8
1
vote
0 answers

GroovyFX: using calendarTextField from jfxtras

I would like to use the calendarTextField fomr jfxtras in the same way I use textFields. I.e. I would like to be able to set row, column, columnSpan in a gridPane. I registered the calenderTextField with registerBeanFactory "calendarTextField",…
Thirdman
  • 621
  • 7
  • 13
1
vote
1 answer

View navigation in GroovyFX

I'd like to adapt a MVVM WPF app to GroovyFX. I don't have so much experience in Groovy nor in GroovyFX itself, and there isn't so much information available. The design consist in a main window with a panel inside. When the user, let's say, pushes…
alberto
  • 11
  • 1
0
votes
0 answers

how to iterate a map in Groovyfx? keep getting errors! how can i solve this

I am new to the groovyfx part and i didn't understood how to keep iteration for map can any one help me on this thanks in advance import javafx.collections.FXCollections import javafx.scene.chart.PieChart import static…
0
votes
1 answer

Classes , groovy FX and calling self

I'm trying to define my groovy FX frame "frame" within a class. I then have a button that does "frame.setenabled(false)" but for some reason "frame" cannot be found. My code : class Contact_Books extends JFrame { public Contact_Books() { …
0
votes
1 answer

GroovyFX: how to bind a collection to a table for dynamic updates?

I want to bind a collection of items to a TableView in GroovyFX, but I'm not getting the table updated after tableView() is called. I can update the table in JavaFX, but not in GroovyFX. I guess there's some binding missing. Code is import static…
alexramos
  • 61
  • 7
1
2