You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@groovy.apache.org by Pascal Walter <pa...@jalbum.net> on 2016/07/19 10:20:58 UTC

[GroovyFX] using ColorPicker

Hello Community, 
Is there a way to use the Javafx ColorPicker with groovyfx?
If not is it possible to send a feature request for that?

Best Regards
Pascal


Re: [GroovyFX] using ColorPicker

Posted by Pascal Walter <pa...@jalbum.net>.
Thank you! That helped me a lot.

Best Regards
Pascal
On 19 Jul 2016, at 14:26, Andres Almiray <aa...@gmail.com> wrote:

> Hmm looks like we missed `ColorPicker` in the 8.0.0 release. If you could create an issue 
> at https://github.com/groovyfx-project/groovyfx/issues 
> 
> In the meantime, you can manually register a factory that can handle a `colorPicker` node, like this
> 
>     SceneGraphBuilder sgb = new SceneGraphBuilder()
>     sgb.registerFactory('colorPicker', new ControlFactory(ColorPicker))
> 
> Cheers,
> Andres
> 
> -------------------------------------------
> Java Champion; Groovy Enthusiast
> http://jroller.com/aalmiray
> http://www.linkedin.com/in/aalmiray
> --
> What goes up, must come down. Ask any system administrator.
> There are 10 types of people in the world: Those who understand binary, and those who don't.
> To understand recursion, we must first understand recursion.
> 
> On Tue, Jul 19, 2016 at 12:20 PM, Pascal Walter <pa...@jalbum.net> wrote:
> Hello Community,
> Is there a way to use the Javafx ColorPicker with groovyfx?
> If not is it possible to send a feature request for that?
> 
> Best Regards
> Pascal
> 
> 


Re: [GroovyFX] using ColorPicker

Posted by Andres Almiray <aa...@gmail.com>.
Hmm looks like we missed `ColorPicker` in the 8.0.0 release. If you could
create an issue
at https://github.com/groovyfx-project/groovyfx/issues

In the meantime, you can manually register a factory that can handle a
`colorPicker` node, like this

    SceneGraphBuilder sgb = new SceneGraphBuilder()
    sgb.registerFactory('colorPicker', new ControlFactory(ColorPicker))

Cheers,
Andres

-------------------------------------------
Java Champion; Groovy Enthusiast
http://jroller.com/aalmiray
http://www.linkedin.com/in/aalmiray
--
What goes up, must come down. Ask any system administrator.
There are 10 types of people in the world: Those who understand binary, and
those who don't.
To understand recursion, we must first understand recursion.

On Tue, Jul 19, 2016 at 12:20 PM, Pascal Walter <pa...@jalbum.net> wrote:

> Hello Community,
> Is there a way to use the Javafx ColorPicker with groovyfx?
> If not is it possible to send a feature request for that?
>
> Best Regards
> Pascal
>
>