|
View:
New views
2 Messages
—
Rating Filter:
Alert me
|
|
|
"Scala FX" and propertiesDid 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. -----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 -- View this message in context: http://www.nabble.com/%22Scala-FX%22-and-properties-tp24131708p24131708.html Sent from the Scala - Debate mailing list archive at Nabble.com. |
|
|
Re: "Scala FX" and propertiesNaftoli 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 |
| Free embeddable forum powered by Nabble | Forum Help |