« Return to Thread: "Scala FX" and properties

Re: "Scala FX" and properties

by Ingo Maier-3 :: Rate this Message:

Reply to Author | View in Thread

Naftoli Gugenheim wrote:
> Did you see the ScalaFX project? It's pretty ambitious.
> I'm sure its author wouldn't mind if you download it and try to fix some bugs. :) But you have to use -Xexperimental.
> I did start working on a more basic property/animation framework.

May I ask what you need that could not be supplied by sfx?

Thanks

Ingo

>
> -----Original Message-----
> From: Walter Smith <walter.smith@...>
> Sent: Sunday, June 21, 2009 1:32 AM
> To: scala-debate@...
> Subject: [scala-debate] "Scala FX" and properties
>
>
> Hi!
>
> did I understand it correctly, that Scala couldn't be used as a direct
> alternative to Java FX Script? I think that Scala is powerful enough so it
> should be possible to wrap properties into a class that allows you to bind
> them; i.e. when one property of one object changes (e.g. a check box is
> toggled) then another property of a different object changes as well (e.g. a
> boolean property of a business model object). In Java FX Script, this
> feature is a very fundamental part of the language, automatically enabled
> for all properties, but not so in Scala.
>
> Scala has so many powerful and simplifying features, so I think this would
> suit it perfectly.
>
> Kind regards
> Walter

 « Return to Thread: "Scala FX" and properties