Read his question again:
>How much of the upset would be to *return* *Element* *from* *addElement*,
>removeElement and other methods that normally return the more specific
>class(A, Html, Table etc.)?

I didn't say it was a good idea, but he seems to want it for some reason.
Does my proposal answer his question?

-----Original Message-----
No.

Table table = new Table().addElement(new TR().addElement(new TD
())).setWidth("100%").setCellSpacing("10")); // currently works.

If we made that change it wouldn't because Element knows nothing about
setWidth or setCellSpacing as they are specific to Table.

-stephan


--
------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html>
Problems?:           [EMAIL PROTECTED]

Reply via email to