What about to add ebableProperty() on Node class ?
Tadashi Ohmura
omurata at ga2.so-net.ne.jp
Mon Jul 30 08:20:49 PDT 2012
Dear Sebastian Rheinnecker
Thank you very much for your helpful answer.
Tadashi Ohmura
(2012/07/31 0:12), Sebastian Rheinnecker wrote:
> Hello Tadashi,
>
> The property "disable" on Node is probably what you are looking for.
> Your example could be written like this:
>
> Button button = new Button("Button");
> CheckBox check = new CheckBox("selectable");
> button.disableProperty().bind( check.selectedProperty().not() );
>
>
> kind regards,
>
> Sebastian Rheinnecker
>
>
>
More information about the openjfx-dev
mailing list