Thanks Alex!
Alex Back wrote: > Hi Siarhei, > > Siarhei Barysiuk wrote: > >> Hello folks, >> >> How to check if class includes particular mixin? >> >> For example I have object: >> var firstName = new qx.ui.form.TextField(); >> >> how to check if class(qx.ui.form.TextField) of this object includes >> mixin (qx.xxx.MXXX) ? >> >> I saw at Mixin class but it seems that it doesn't have necessary method. >> > You can use the methods defined in "qx.Class". > > getMixins(Class clazz) > Returns a list of all mixins available in a given class. > > hasMixin(Class clazz, Mixin mixin) > Whether a given class or any of its superclasses includes a given mixin. > > hasOwnMixin(Class clazz, Mixin mixin) > Whether a class directly includes a mixin. > > Direct link: <http://demo.qooxdoo.org/current/apiviewer/#qx.Class> > > cheers, > Alex > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > qooxdoo-devel mailing list > qooxdoo-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel > > ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ qooxdoo-devel mailing list qooxdoo-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel