« Slides from JavaPolis 2007 JavaFX "Conference Presentation" | Main | Happy New Year - Formatting in Compiled JavaFX Script »

December 28, 2007

TrackBack

TrackBack URL for this entry:
http://www.typepad.com/services/trackback/6a00e54f133d69883400e54fb5442e8833

Listed below are links to weblogs that reference No Need for Setters and Constructors in Compiled JavaFX Script:

Comments

propecia

i like this part of the blog:"Please also note the toString() function in this example. When you use an object reference in a String, the toString() function is automatically called. Here, I've overridden the default toString() function to make it easy to print its contents in the desired format." is very good

rodrigo salado anaya

I transcribed the example (1.2 version) in www.javamexico.org, if they have a problem, I will remove it immediately. thanks :)

Jim Weaver

"thanks I was looking for such a article, but how can you create custom getter is a way c# or flex does it"

kamiseq,

You can create functions such as getVariableName() if needed. setVariableName() is unnecessary because of "on replace" triggers. To the extent that you can, it is best to keep the state of a public variable updated so that the getVeriableName() is not required. I agree that sometimes this is not practical.

Thanks,
Jim Weaver

The comments to this entry are closed.