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
Richard McKinley
<RichardM@keystonelea To: "'ECS'"
<[EMAIL PROTECTED]>
rning.com> cc:
Sent by: Subject: RE: More XHTML...
<[EMAIL PROTECTED]
s.com>
09/27/00 09:58 AM
Please respond to
"ECS"
Here is the the method as it is now:
public Table addElement(Element element)
{
addElementToRegistry(element);
return(this);
}
Would it not be as easy as changing it to this:
public Table addElement(Element element)
{
addElementToRegistry(element);
return(element); //replace *this* with *element* (which is the
newly added element)
}
Is that what you need?
-----Original Message-----
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.)?
--
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives and Other: <http://java.apache.org/main/mail.html>
Problems?: [EMAIL PROTECTED]
--
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives and Other: <http://java.apache.org/main/mail.html>
Problems?: [EMAIL PROTECTED]
- More XHTML... Bojan Smojver
- Re: More XHTML... Zaid
- RE: More XHTML... Richard McKinley
- RE: More XHTML... snagy
- RE: More XHTML... Richard McKinley
- RE: More XHTML... snagy
- RE: More XHTML... Richard McKinley
- RE: More XHTML... snagy
- Re: More XHTML... Jon Stevens
- Re: More XHTML... snagy
- RE: More XHTML... Bojan Smojver
- RE: More XHTML... Bojan Smojver
- RE: More XHTML... Bojan Smojver
