Hi All,

Does anyone know if there a nice way of defining an immutable property? 

I want to set a class member once only (in the constructor) with the benefit of qx.OO.addProperty()'s type, possibleValues and allowsNull checks.

But I don't want a setter method to be able to modify the value later - and so I don't need any of qx.OO.addProperty() generated event handling.

Is there an efficient way to do this?

Thanks,

Simon


On Yahoo!7
Answers: 25 million answers and counting. Learn something new today
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to