Hi Dietrich,

it does indeed "compress" them. The queues remember which objects added.

Sebastian



Dietrich Streifert schrieb:
> Hello List,
> 
> I introduced some additional states to TextField to reflect the validity 
> of input data.
> In some cases I have multiple calls to removeState consecutively.
> 
> In the code I can see that each call to removeState/addState contains 
> the enqueing of the current object to the state queue:
> 
>     qx.ui.core.Widget.addToGlobalStateQueue(this);
> 
> Does this queue compress multiple consecutive calls?
> 
> If not: would it be possible to have a pair of methods add/remove which 
> allows adding or removing of mulitple states?
> 
> Something like:
> 
>     removeStates("mystate1","mystate2","mystate3");
> 
> I've also seen this calls in qx.ui.core.Widget:
> 
>         this.removeState("pressed");
>         this.removeState("abandoned");
> 
> Regards.
> 


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to