Hi,

I do not understand if addAndReplaceElement() is deprecated or 
not...because it seems that the alternative of the deprecated function is 
the same. Can you confirm ? (the link in the javadoc refers to eactly the 
same function). I just want to know if I should use this function or not...

Thanks you,


addAndReplaceElement

@Deprecatedpublic void *addAndReplaceElement*(Widget 
<http://google-web-toolkit.googlecode.com/svn/javadoc/2.5/com/google/gwt/user/client/ui/Widget.html>
 widget,
                                            Element 
<http://google-web-toolkit.googlecode.com/svn/javadoc/2.5/com/google/gwt/user/client/Element.html>
 toReplace)

*Deprecated.* *use addAndReplaceElement(Widget, 
Element)<http://google-web-toolkit.googlecode.com/svn/javadoc/2.5/com/google/gwt/user/client/ui/HTMLPanel.html#addAndReplaceElement(com.google.gwt.user.client.ui.Widget,
 
com.google.gwt.user.client.Element)>*

Adds a child widget to the panel, replacing the HTML element.

*Parameters:*widget - the widget to be addedtoReplace - the element to be 
replaced by the widget

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/6MdGZwhcYWEJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to