Hi Hansjoerg,

try to imagine what the demobrowser classes represent - they are not 
self-contained, they are just "food" for the demobrowser application, 
which is a qooxdoo app itself. Think of the demobrowser as kind of a 
runtime environment for the classes which you see when you click on the 
"JS Code" button.
So it becomes obvious that the table examples are being shown inside a 
qx.ui.window.Window (which too you cannot see in the code excerpt), and 
getCaption() is a method to tell the window which caption to show.
If you want to know what exactly happens inside the demobrowser, you 
should begin studying it's source code itself (I haven't, but it might 
be of interest some day), like here
qooxdoo-1.0-sdk\application\demobrowser\source\class\demobrowser\demo\table\TableDemo.js

HTH,

greetings,
Stefan

On 03.02.2010 15:37, Qoodary Doo wrote:
> Hi Stefan,
>
> thanks a lot for your help.
> Now it is clear and it works fine.
>
> So, in the demobrowser you see always the complete class and functions,
> but not how they are called?
> for example, You cannot see how getCaption is called?
>
> getCaption  :function() {
>        return  "Table using conditional cell renderer";
>      },


------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to