## Deprecated API

Contents

- Deprecated Methods

Deprecated Methods
com.google.gwt.user.client.DeferredCommand.add(Command) As of release 1.4, replaced by `DeferredCommand.addCommand(Command)`
com.google.gwt.junit.client.GWTTestCase.addCheckpoint(String) This method will be removed when web mode supports stack traces. It can be useful for debugging web mode failures, but production code should not depend on it.
com.google.gwt.user.client.ui.Panel.adopt(Widget, Element) Use `Panel.adopt(Widget)`.
com.google.gwt.junit.client.GWTTestCase.clearCheckpoints() This method will be removed when web mode supports stack traces. It can be useful for debugging web mode failures, but production code should not depend on it.
com.google.gwt.user.client.ui.Panel.disown(Widget) Use `Panel.orphan(Widget)`.
com.google.gwt.user.client.DOM.getAttribute(Element, String) Use the more appropriately named `DOM.getElementProperty(Element, String)` instead.
com.google.gwt.user.client.DOM.getBooleanAttribute(Element, String) Use the more appropriately named `DOM.getElementPropertyBoolean(Element, String)` instead.
com.google.gwt.junit.client.GWTTestCase.getCheckpoints() This method will be removed when web mode supports stack traces. It can be useful for debugging web mode failures, but production code should not depend on it.
com.google.gwt.user.client.ui.Tree.getImageBase() Use `Tree.Tree(TreeImages)` as it provides a more efficent and manageable way to supply a set of images to be used within a tree.
com.google.gwt.user.client.DOM.getIntAttribute(Element, String) Use the more appropriately named `DOM.getElementPropertyInt(Element, String)` instead.
com.google.gwt.user.client.ui.ComplexPanel.insert(Widget, Element, int) Use `ComplexPanel.insert(Widget, Element, int, boolean)`.
com.google.gwt.user.client.DOM.setAttribute(Element, String, String) Use the more appropriately named `DOM.setElementProperty(Element, String, String)` instead.
com.google.gwt.user.client.DOM.setBooleanAttribute(Element, String, boolean) Use the more appropriately named `DOM.setElementPropertyBoolean(Element, String, boolean)` instead.
com.google.gwt.user.client.ui.Tree.setImageBase(String) Use `Tree.Tree(TreeImages)` as it provides a more efficent and manageable way to supply a set of images to be used within a tree.
com.google.gwt.user.client.DOM.setIntAttribute(Element, String, int) Use the more appropriately named `DOM.setElementPropertyInt(Element, String, int)` instead.
com.google.gwt.user.client.ui.Composite.setWidget(Widget) this method is deprecated, and will be removed (use `Composite.initWidget(Widget)` instead)