I find good to have some subobjects for selection, data in the table class,
because otherwise it would need to have a lot 
of methods/properties.

The qx.ui.core.Target class has already the method getChildren() that
returns an array.


Jim Hunter-2 wrote:
> 
> I have been saying all along that the
> programmer should not need to know about all the little pieces used to
> make
> up a control in order to use it. A very good example of this is the Table
> object. I am always getting confused as to which part of the Table I have
> to
> reference in order to get to column values or header info or ???. I spend
> a
> lot of time in the Table API. I feel there should be properties of the
> Table
> that take care of that indirection for us.
>   And while I am at it, every object should have basic methods like
> hasChildren(). This way you can easily iterate through all controls to see
> if they contain other controls if you are looking for something specific.
> I
> add this to the base Object at runtime and by default it returns false but
> objects that inherit from Object override it to return a true value.
>   The bottom line is that the developer should be able to code quickly and
> intuitively without spending a ton of time in the API looking up basic
> syntax.
> 
> Jim Hunter
> www.D4PHP.org
> www.DiamondComputing.com
> 
> 
> On 4/21/07, Christian Boulanger <[EMAIL PROTECTED]> wrote:
>>
>> Hello all,
>>
>> I find it confusing that some widgets use the property "label" (Atom,
>> Button), others "text" (most widgets) and "html" (label) for the same
>> purpose, i.e. the placement of visible text. Couldn't this be normalized
>> into one solution? What is the purpose of the difference that makes me
>> having to consult the API needlessly? Of course, after a few times, one
>> learns which widget takes which property, but do we need to make it more
>> complicated than necessary?
>>
>> Thanks,
>>
>> Christian
>>
>> -------------------------------------------------------------------------
>> 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
>>
> 
> -------------------------------------------------------------------------
> 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
> 
> 

-- 
View this message in context: 
http://www.nabble.com/attribute-label-text-html-tf3622487.html#a10136677
Sent from the qooxdoo-devel mailing list archive at Nabble.com.


-------------------------------------------------------------------------
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