The Interface can check infoming values. If all is OK, you can simply
return true. Corrected in SVN.
Sebastian
dperez schrieb:
> Hi,
>
> I've done my 1st interface called IResizeable, that must be implemented when
> including the Mixin MResizeable.
> The problem is that I must comment the implement, because otherwise it fails
> when calling the interface method _changeWidth(). See demo Resizer_1.html.
> The error is about failing the pre-condition.
>
> qx.Class.define("qx.ui.resizer.Resizer",
> {
> extend : qx.ui.layout.CanvasLayout,
> include : qx.ui.resizer.MResizeable,
> //implement : qx.ui.resizer.IResizeable,
> ....
> }
>
> For functionality I don't need to implement this interface, it is just for
> documentation, but I don't understand what's wrong.
>
> Regards,
> David
-------------------------------------------------------------------------
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