Overview | Package | Class | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

## Deprecated API

Contents

- Deprecated Interfaces
- Deprecated Classes
- Deprecated Exceptions
- Deprecated Fields
- Deprecated Methods

Deprecated Interfaces
com.google.gwt.benchmarks.client.Category

Deprecated Classes
com.google.gwt.user.client.HTTPRequest As of GWT 1.5, replaced by `RequestBuilder`.

Deprecated Exceptions
com.google.gwt.user.client.rpc.SerializableException As of GWT 1.5, `Exception` implements `Serializable` and can be used in place of this class.

Deprecated Fields
com.google.gwt.user.client.Event.UNDEFINED

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.core.ext.typeinfo.HasMetaData.addMetaData(String, String[]) Javadoc comment metadata has been deprecated in favor of proper Java annotations. The only way to add a Java annotation is via the source code.
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.DOM.compare(Element, Element) Use identity comparison.
com.google.gwt.user.client.DOM.createOptions() there is no "options" element; use `DOM.createOption()` instead
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.core.ext.typeinfo.HasMetaData.getMetaData(String) Javadoc comment metadata has been deprecated in favor of proper Java annotations. See `HasAnnotations.getAnnotation(Class)` for equivalent functionality.
com.google.gwt.core.ext.typeinfo.HasMetaData.getMetaDataTags() Javadoc comment metadata has been deprecated in favor of proper Java annotations. The `HasAnnotations` interface does not support a mechanism to enumerate all of the annotations on a member; the type of the desired annotation must be known.
com.google.gwt.core.ext.typeinfo.JParameterizedType.getNonParameterizedQualifiedSourceName() see `JParameterizedType.getQualifiedSourceName()`
com.google.gwt.core.client.GWT.getTypeName(Object) Use `Object.getClass()`, `Class.getName()`.
com.google.gwt.json.client.JSONNumber.getValue() use `JSONNumber.doubleValue()`
com.google.gwt.user.client.ui.ComplexPanel.insert(Widget, Element, int) Use `ComplexPanel.insert(Widget, Element, int, boolean)`.
com.google.gwt.user.server.rpc.SerializationPolicyLoader.loadFromStream(InputStream) see `SerializationPolicyLoader.loadFromStream(InputStream, List)`
com.google.gwt.user.client.History.onHistoryChanged(String) Use `History.fireCurrentHistoryState()` instead.
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)
com.google.gwt.user.client.DOM.windowGetClientHeight() As of GWT 1.5, replaced by `Window.getClientHeight()`
com.google.gwt.user.client.DOM.windowGetClientWidth() As of GWT 1.5, replaced by `Window.getClientWidth()`

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES