On Fri, Sep 18, 2009 at 11:47, dmbaggett <[email protected]> wrote:

>
> Is it possible to define a class that has a static initializer? In other
> words, one that runs an arbitrary function to set up static class variables
> using an arbitrary function, then the class is first defined?
>
>
You can, in theory, put your initialization after the class definition, i.e.
after the closing parenthesis of qx.Class.define(). That's not terribly
clean. A better bet would be to create a function in the defer: key which
will execute after class loading, and you can initialize everything there.

Derrell
------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to