## Deprecated API

Contents

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

Deprecated Interfaces
com.google.gwt.benchmarks.client.Category
com.google.gwt.user.client.ui.ChangeListener As of GWT 1.6, DOM and logical change events are separate. Use `ChangeHandler` for changes triggered by a DOM-based change event and `ValueChangeHandler` for changes resulting from a logical event such as a method call that changes state
com.google.gwt.user.client.ui.ClickListener Use `ClickHandler` instead
com.google.gwt.user.client.ui.DisclosureHandler Use `CloseHandler` and/or `OpenHandler` instead
com.google.gwt.user.client.EventPreview replaced by `Event.NativePreviewHandler`
com.google.gwt.user.client.ui.FiresDisclosureEvents Use `HasOpenHandlers` and `HasCloseHandlers` instead
com.google.gwt.user.client.ui.FiresFormEvents This interface was specific to `FormPanel`; it is not generally useful and will be removed in a future version. Use `FormPanel.addSubmitHandler` and `FormPanel.addSubmitCompleteHandler` instead
com.google.gwt.user.client.ui.FiresSuggestionEvents Use `HasSelectionHandlers` instead.
com.google.gwt.user.client.ui.FocusListener Use `FocusHandler` and/or `BlurHandler` instead
com.google.gwt.user.client.ui.FormHandler Use `FormPanel.SubmitCompleteHandler` and/or `FormPanel.SubmitHandler` instead
com.google.gwt.user.client.ui.HasFocus Use `Focusable` instead
com.google.gwt.user.client.ui.HasKeyPreview This interface is no longer implemented by any GWT library. Use `Event.addNativePreviewHandler(com.google.gwt.user.client.Event.NativePreviewHandler)` instead.
com.google.gwt.user.client.HistoryListener use `History.addValueChangeHandler(com.google.gwt.event.logical.shared.ValueChangeHandler)` instead
com.google.gwt.user.client.ui.KeyboardListener use `KeyDownHandler`, `KeyUpHandler` and/or `KeyPressHandler` instead
com.google.gwt.user.client.ui.LoadListener use `LoadHandler` and `ErrorHandler` instead
com.google.gwt.user.client.ui.MouseListener use `MouseDownHandler`, `MouseUpHandler`, `MouseOverHandler`, `MouseMoveHandler`, and `MouseOutHandler` instead
com.google.gwt.user.client.ui.MouseWheelListener use `MouseWheelHandler` instead
com.google.gwt.user.client.ui.PopupListener use `CloseHandler` instead
com.google.gwt.user.client.ui.ScrollListener use `ScrollHandler` instead
com.google.gwt.user.client.ui.SourcesChangeEvents we have now separated dom and logical change events. Use `HasChangeHandlers` if the change listener was triggered by a dom change event or `HasValueChangeHandlers` if it was based on a logical event
com.google.gwt.user.client.ui.SourcesClickEvents use `HasClickHandlers` instead
com.google.gwt.user.client.ui.SourcesFocusEvents use `HasAllFocusHandlers` instead
com.google.gwt.user.client.ui.SourcesKeyboardEvents use `HasAllKeyHandlers` instead
com.google.gwt.user.client.ui.SourcesLoadEvents use `HasErrorHandlers` and `HasLoadHandlers` instead
com.google.gwt.user.client.ui.SourcesMouseEvents use `HasAllMouseHandlers` instead
com.google.gwt.user.client.ui.SourcesMouseWheelEvents Use `HasMouseWheelHandlers` instead
com.google.gwt.user.client.ui.SourcesPopupEvents use `HasCloseHandlers` instead
com.google.gwt.user.client.ui.SourcesScrollEvents use `HasScrollHandlers` instead
com.google.gwt.user.client.ui.SourcesTabEvents use `SelectionHandler` and `HasBeforeSelectionHandlers` instead
com.google.gwt.user.client.ui.SourcesTableEvents use `HasClickHandlers` instead. Event sources should implement methods similar to `HTMLTable.getCellForEvent(com.google.gwt.event.dom.client.ClickEvent)`
com.google.gwt.user.client.ui.SourcesTreeEvents use `HasBeforeSelectionHandlers`, `HasOpenHandlers` and `HasClickHandlers` instead
com.google.gwt.user.client.ui.SuggestionHandler use `SelectionHandler` instead
com.google.gwt.user.client.ui.TableListener use `ClickHandler` and `HTMLTable.getCellForEvent(com.google.gwt.event.dom.client.ClickEvent)` instead
com.google.gwt.user.client.ui.TabListener use `TabPanel.addBeforeSelectionHandler(com.google.gwt.event.logical.shared.BeforeSelectionHandler)` and/or `TabPanel.addSelectionHandler(com.google.gwt.event.logical.shared.SelectionHandler)` instead
com.google.gwt.user.client.ui.TreeListener Use `SelectionHandler`, `OpenHandler`, and `CloseHandler` instead
com.google.gwt.user.client.WindowCloseListener use `Window.ClosingHandler` and `CloseHandler` instead
com.google.gwt.user.client.WindowResizeListener use `ResizeHandler` instead
com.google.gwt.user.client.WindowScrollListener use `Window.addWindowScrollHandler(com.google.gwt.user.client.Window.ScrollHandler)` instead instead

Deprecated Classes
com.google.gwt.user.client.BaseListenerWrapper will be removed in GWT 2.0 with the handler listeners themselves
com.google.gwt.user.client.ui.ChangeListenerCollection Widgets should now manage their own handlers via `Widget.addDomHandler(H, com.google.gwt.event.dom.client.DomEvent.Type<H>)`
com.google.gwt.user.client.ui.ClickListenerCollection As of GWT 1.6, call ``addDomHandler`(myHandler, ClickEvent.getType())` to manage handlers for your widget instead
com.google.gwt.user.client.ui.DelegatingChangeListenerCollection Use `Widget.delegateEvent` instead
com.google.gwt.user.client.ui.DelegatingClickListenerCollection Use `Widget.delegateEvent(com.google.gwt.user.client.ui.Widget, com.google.gwt.event.shared.GwtEvent<?>)` instead
com.google.gwt.user.client.ui.DelegatingFocusListenerCollection Use `Widget.delegateEvent(com.google.gwt.user.client.ui.Widget, com.google.gwt.event.shared.GwtEvent<?>)` instead
com.google.gwt.user.client.ui.DelegatingKeyboardListenerCollection Use `Widget.delegateEvent(com.google.gwt.user.client.ui.Widget, com.google.gwt.event.shared.GwtEvent<?>)` instead
com.google.gwt.user.client.ui.DisclosureEvent Use `CloseEvent` and `OpenEvent` instead
com.google.gwt.user.client.ui.FocusListenerAdapter Use `FocusHandler` and `BlurHandler` instead
com.google.gwt.user.client.ui.FocusListenerCollection Widgets should now manage their own handlers via `Widget.addDomHandler(H, com.google.gwt.event.dom.client.DomEvent.Type<H>)`
com.google.gwt.user.client.ui.FormHandlerCollection Widgets should now manage their own handlers via `Widget.addDomHandler(H, com.google.gwt.event.dom.client.DomEvent.Type<H>)`
com.google.gwt.user.client.HTTPRequest As of GWT 1.5, replaced by `RequestBuilder`.
com.google.gwt.user.client.ui.KeyboardListenerAdapter use `KeyDownHandler`, `KeyUpHandler` and/or `KeyPressHandler` instead
com.google.gwt.user.client.ui.KeyboardListenerCollection Widgets should now manage their own handlers via `Widget.addDomHandler(H, com.google.gwt.event.dom.client.DomEvent.Type<H>)`
com.google.gwt.user.client.ui.ListenerWrapper will be removed in GWT 2.0 with the handler listeners themselves
com.google.gwt.user.client.ui.ListenerWrapper.WrappedChangeListener will be removed in GWT 2.0 along with the listeners being wrapped
com.google.gwt.user.client.ui.ListenerWrapper.WrappedClickListener will be removed in GWT 2.0 along with the listeners being wrapped
com.google.gwt.user.client.ui.ListenerWrapper.WrappedLogicalChangeListener will be removed in GWT 2.0 along with the listeners being wrapped
com.google.gwt.user.client.ui.LoadListenerCollection Widgets should now manage their own handlers via `Widget.addDomHandler(H, com.google.gwt.event.dom.client.DomEvent.Type<H>)`
com.google.gwt.user.client.ui.MouseListenerAdapter use `MouseDownHandler`, `MouseUpHandler`, `MouseOverHandler`, `MouseMoveHandler`, and/or `MouseOutHandler` instead
com.google.gwt.user.client.ui.MouseListenerCollection Widgets should now manage their own handlers via `Widget.addDomHandler(H, com.google.gwt.event.dom.client.DomEvent.Type<H>)`
com.google.gwt.user.client.ui.MouseWheelListenerCollection Widgets should now manage their own handlers via `Widget.addDomHandler(H, com.google.gwt.event.dom.client.DomEvent.Type<H>)`
com.google.gwt.user.client.ui.MouseWheelVelocity use `MouseWheelEvent.getDeltaY()` instead
com.google.gwt.user.client.ui.PopupListenerCollection Widgets should now manage their own handlers via `Widget.addDomHandler(H, com.google.gwt.event.dom.client.DomEvent.Type<H>)`
com.google.gwt.user.client.ui.ScrollListenerCollection Widgets should now manage their own handlers via `Widget.addDomHandler(H, com.google.gwt.event.dom.client.DomEvent.Type<H>)`
com.google.gwt.user.client.ui.TableListenerCollection Widgets should now manage their own handlers via `Widget.addDomHandler(H, com.google.gwt.event.dom.client.DomEvent.Type<H>)`
com.google.gwt.user.client.ui.TabListenerCollection Widgets should now manage their own handlers via `Widget.addDomHandler(H, com.google.gwt.event.dom.client.DomEvent.Type<H>)`
com.google.gwt.user.client.ui.TreeListenerCollection Widgets should now manage their own handlers via `Widget.addDomHandler(H, com.google.gwt.event.dom.client.DomEvent.Type<H>)`

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.ui.KeyboardListener.KEY_ALT use `KeyCodes.KEY_ALT` instead
com.google.gwt.user.client.ui.KeyboardListener.KEY_BACKSPACE use `KeyCodes.KEY_BACKSPACE` instead
com.google.gwt.user.client.ui.KeyboardListener.KEY_CTRL use `KeyCodes.KEY_CTRL` instead
com.google.gwt.user.client.ui.KeyboardListener.KEY_DELETE use `KeyCodes.KEY_DELETE` instead
com.google.gwt.user.client.ui.KeyboardListener.KEY_DOWN use `KeyCodes.KEY_DOWN` instead
com.google.gwt.user.client.ui.KeyboardListener.KEY_END use `KeyCodes.KEY_END` instead
com.google.gwt.user.client.ui.KeyboardListener.KEY_ENTER use `KeyCodes.KEY_ENTER` instead
com.google.gwt.user.client.ui.KeyboardListener.KEY_ESCAPE use `KeyCodes.KEY_ESCAPE` instead
com.google.gwt.user.client.ui.KeyboardListener.KEY_HOME use `KeyCodes.KEY_HOME` instead
com.google.gwt.user.client.ui.KeyboardListener.KEY_LEFT use `KeyCodes.KEY_LEFT` instead
com.google.gwt.user.client.ui.KeyboardListener.KEY_PAGEDOWN use `KeyCodes.KEY_PAGEDOWN` instead
com.google.gwt.user.client.ui.KeyboardListener.KEY_PAGEUP use `KeyCodes.KEY_PAGEUP` instead
com.google.gwt.user.client.ui.KeyboardListener.KEY_RIGHT use `KeyCodes.KEY_RIGHT` instead
com.google.gwt.user.client.ui.KeyboardListener.KEY_SHIFT use `KeyCodes.KEY_SHIFT` instead
com.google.gwt.user.client.ui.KeyboardListener.KEY_TAB use `KeyCodes.KEY_TAB` instead
com.google.gwt.user.client.ui.KeyboardListener.KEY_UP use `KeyCodes.KEY_UP` instead
com.google.gwt.user.client.ui.KeyboardListener.MODIFIER_ALT use `KeyEvent.isAltKeyDown()` instead
com.google.gwt.user.client.ui.KeyboardListener.MODIFIER_CTRL use `KeyEvent.isControlKeyDown()` instead
com.google.gwt.user.client.ui.KeyboardListener.MODIFIER_META use `KeyEvent.isMetaKeyDown()` instead
com.google.gwt.user.client.ui.KeyboardListener.MODIFIER_SHIFT use `KeyEvent.isShiftKeyDown()` instead
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.user.client.ui.ListenerWrapper.WrappedMouseListener.add(E, MouseListener) will be removed in GWT 2.0 along with the listener classes
com.google.gwt.user.client.ui.ListenerWrapper.WrappedFocusListener.add(HasAllFocusHandlers, FocusListener) will be removed in GWT 2.0 along with the listener classes
com.google.gwt.user.client.ui.ListenerWrapper.WrappedKeyboardListener.add(HasAllKeyHandlers, KeyboardListener) will be removed in GWT 2.0 along with the listener classes
com.google.gwt.user.client.ui.ListenerWrapper.WrappedChangeListener.add(HasChangeHandlers, ChangeListener) will be removed in GWT 2.0 along with the listener classes
com.google.gwt.user.client.ui.ListenerWrapper.WrappedClickListener.add(HasClickHandlers, ClickListener) will be removed in GWT 2.0 along with the listener classes
com.google.gwt.user.client.ui.ListenerWrapper.WrappedMouseWheelListener.add(HasMouseWheelHandlers, MouseWheelListener) will be removed in GWT 2.0 along with the listener classes
com.google.gwt.user.client.ui.ListenerWrapper.WrappedScrollListener.add(HasScrollHandlers, ScrollListener) will be removed in GWT 2.0 along with the listener classes
com.google.gwt.user.client.ui.ListenerWrapper.WrappedLogicalChangeListener.add(HasValueChangeHandlers<V>, ChangeListener) will be removed in GWT 2.0 along with the listener classes
com.google.gwt.user.client.ui.ListenerWrapper.WrappedLoadListener.add(S, LoadListener) will be removed in GWT 2.0 along with the listener classes
com.google.gwt.user.client.ui.ListBox.addChangeListener(ChangeListener) Use `ListBox.addChangeHandler(com.google.gwt.event.dom.client.ChangeHandler)` instead
com.google.gwt.user.client.ui.SourcesChangeEvents.addChangeListener(ChangeListener) use `addChangeHandler` or `addValueChangeHandler` instead
com.google.gwt.user.client.ui.SuggestBox.addChangeListener(ChangeListener) use `SuggestBox.getTextBox()`().addChangeHandler instead
com.google.gwt.user.client.ui.TextBoxBase.addChangeListener(ChangeListener) Use `addChangeHandler` instead
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.FocusPanel.addClickListener(ClickListener) Use `FocusPanel.addClickHandler(com.google.gwt.event.dom.client.ClickHandler)` instead
com.google.gwt.user.client.ui.FocusWidget.addClickListener(ClickListener) Use `FocusWidget.addClickHandler(com.google.gwt.event.dom.client.ClickHandler)` instead
com.google.gwt.user.client.ui.Hyperlink.addClickListener(ClickListener) Use `Hyperlink.addClickHandler(com.google.gwt.event.dom.client.ClickHandler)` instead
com.google.gwt.user.client.ui.Image.addClickListener(ClickListener) Use `Image.addClickHandler(com.google.gwt.event.dom.client.ClickHandler)` instead
com.google.gwt.user.client.ui.Label.addClickListener(ClickListener) Use `Label.addClickHandler(com.google.gwt.event.dom.client.ClickHandler)` instead
com.google.gwt.user.client.ui.SourcesClickEvents.addClickListener(ClickListener) use `addClickHandler` instead
com.google.gwt.user.client.ui.SuggestBox.addClickListener(ClickListener) use `SuggestBox.getTextBox()`().addClickHandler instead
com.google.gwt.user.client.ui.DisclosurePanel.addEventHandler(DisclosureHandler) Use `DisclosurePanel.addOpenHandler(OpenHandler)` and `DisclosurePanel.addCloseHandler(CloseHandler)` instead
com.google.gwt.user.client.ui.FiresDisclosureEvents.addEventHandler(DisclosureHandler) Add an open or close handler to the event source instead
com.google.gwt.user.client.ui.FiresSuggestionEvents.addEventHandler(SuggestionHandler) Add a selection handler instead
com.google.gwt.user.client.ui.SuggestBox.addEventHandler(SuggestionHandler) use `SuggestBox.addSelectionHandler(com.google.gwt.event.logical.shared.SelectionHandler<com.google.gwt.user.client.ui.SuggestOracle.Suggestion>)` instead.
com.google.gwt.user.client.DOM.addEventPreview(EventPreview) replaced by `Event.addNativePreviewHandler(Event.NativePreviewHandler)`
com.google.gwt.user.client.Event.addEventPreview(EventPreview) replaced by `Event.addNativePreviewHandler(NativePreviewHandler)`
com.google.gwt.user.client.ui.FocusPanel.addFocusListener(FocusListener) Use `FocusPanel.addFocusHandler(com.google.gwt.event.dom.client.FocusHandler)` instead
com.google.gwt.user.client.ui.FocusWidget.addFocusListener(FocusListener) Use `FocusWidget.addFocusHandler(com.google.gwt.event.dom.client.FocusHandler)` instead
com.google.gwt.user.client.ui.SourcesFocusEvents.addFocusListener(FocusListener) use `addFocusHandler` and <cod>addBlurHandler instead.
com.google.gwt.user.client.ui.SuggestBox.addFocusListener(FocusListener) use `getTextBox`().addFocusHandler/addBlurHandler() instead
com.google.gwt.user.client.ui.Tree.addFocusListener(FocusListener)
com.google.gwt.user.client.ui.FiresFormEvents.addFormHandler(FormHandler) Use `FormPanel.addSubmitCompleteHandler` and `FormPanel.addSubmitHandler` instead
com.google.gwt.user.client.ui.FormPanel.addFormHandler(FormHandler) Use `FormPanel.addSubmitCompleteHandler(com.google.gwt.user.client.ui.FormPanel.SubmitCompleteHandler)` and `FormPanel.addSubmitHandler(com.google.gwt.user.client.ui.FormPanel.SubmitHandler)` instead
com.google.gwt.user.client.History.addHistoryListener(HistoryListener) use `History.addValueChangeHandler(ValueChangeHandler)` instead
com.google.gwt.user.client.ui.FocusPanel.addKeyboardListener(KeyboardListener) Use `FocusPanel.addKeyDownHandler(com.google.gwt.event.dom.client.KeyDownHandler)`, `FocusPanel.addKeyUpHandler(com.google.gwt.event.dom.client.KeyUpHandler)` and `FocusPanel.addKeyPressHandler(com.google.gwt.event.dom.client.KeyPressHandler)` instead
com.google.gwt.user.client.ui.FocusWidget.addKeyboardListener(KeyboardListener) Use `FocusWidget.addKeyDownHandler(com.google.gwt.event.dom.client.KeyDownHandler)`, `FocusWidget.addKeyUpHandler(com.google.gwt.event.dom.client.KeyUpHandler)` and `FocusWidget.addKeyPressHandler(com.google.gwt.event.dom.client.KeyPressHandler)` instead
com.google.gwt.user.client.ui.SourcesKeyboardEvents.addKeyboardListener(KeyboardListener) use `addKeyPressHandler/addKeyDownKeyDownHandler/addKeyUpHandler` instead
com.google.gwt.user.client.ui.SuggestBox.addKeyboardListener(KeyboardListener) Use `SuggestBox.addKeyDownHandler(com.google.gwt.event.dom.client.KeyDownHandler)`, `SuggestBox.addKeyUpHandler(com.google.gwt.event.dom.client.KeyUpHandler)` and `SuggestBox.addKeyPressHandler(com.google.gwt.event.dom.client.KeyPressHandler)` instead
com.google.gwt.user.client.ui.Tree.addKeyboardListener(KeyboardListener) Use `Tree.addKeyDownHandler(com.google.gwt.event.dom.client.KeyDownHandler)`, `Tree.addKeyUpHandler(com.google.gwt.event.dom.client.KeyUpHandler)` and `Tree.addKeyPressHandler(com.google.gwt.event.dom.client.KeyPressHandler)` instead
com.google.gwt.user.client.ui.Image.addLoadListener(LoadListener) use `LoadHandler` and `ErrorHandler` instead
com.google.gwt.user.client.ui.SourcesLoadEvents.addLoadListener(LoadListener) use `HasLoadHandlers#addLoadHandler` instead
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.FocusPanel.addMouseListener(MouseListener)
Use `FocusPanel.addMouseOverHandler(com.google.gwt.event.dom.client.MouseOverHandler)`, `FocusPanel.addMouseMoveHandler(com.google.gwt.event.dom.client.MouseMoveHandler)`, `FocusPanel.addMouseDownHandler(com.google.gwt.event.dom.client.MouseDownHandler)`, `FocusPanel.addMouseUpHandler(com.google.gwt.event.dom.client.MouseUpHandler)` and `FocusPanel.addMouseOutHandler(com.google.gwt.event.dom.client.MouseOutHandler)` instead

com.google.gwt.user.client.ui.FocusWidget.addMouseListener(MouseListener)
Use `FocusWidget.addMouseOverHandler(com.google.gwt.event.dom.client.MouseOverHandler)` `FocusWidget.addMouseMoveHandler(com.google.gwt.event.dom.client.MouseMoveHandler)`, `FocusWidget.addMouseDownHandler(com.google.gwt.event.dom.client.MouseDownHandler)`, `FocusWidget.addMouseUpHandler(com.google.gwt.event.dom.client.MouseUpHandler)` and `FocusWidget.addMouseOutHandler(com.google.gwt.event.dom.client.MouseOutHandler)` instead

com.google.gwt.user.client.ui.Image.addMouseListener(MouseListener)
Use `Image.addMouseOverHandler(com.google.gwt.event.dom.client.MouseOverHandler)` `Image.addMouseMoveHandler(com.google.gwt.event.dom.client.MouseMoveHandler)`, `Image.addMouseDownHandler(com.google.gwt.event.dom.client.MouseDownHandler)`, `Image.addMouseUpHandler(com.google.gwt.event.dom.client.MouseUpHandler)` and `Image.addMouseOutHandler(com.google.gwt.event.dom.client.MouseOutHandler)` instead

com.google.gwt.user.client.ui.Label.addMouseListener(MouseListener)
Use `Label.addMouseOverHandler(com.google.gwt.event.dom.client.MouseOverHandler)` `Label.addMouseMoveHandler(com.google.gwt.event.dom.client.MouseMoveHandler)`, `Label.addMouseDownHandler(com.google.gwt.event.dom.client.MouseDownHandler)`, `Label.addMouseUpHandler(com.google.gwt.event.dom.client.MouseUpHandler)` and `Label.addMouseOutHandler(com.google.gwt.event.dom.client.MouseOutHandler)` instead

com.google.gwt.user.client.ui.SourcesMouseEvents.addMouseListener(MouseListener) use add* methods of `HasAllMouseHandlers` instead

com.google.gwt.user.client.ui.Tree.addMouseListener(MouseListener)
Use `Tree.addMouseOverHandler(com.google.gwt.event.dom.client.MouseOverHandler)` `Tree.addMouseMoveHandler(com.google.gwt.event.dom.client.MouseMoveHandler)`, `Tree.addMouseDownHandler(com.google.gwt.event.dom.client.MouseDownHandler)`, `Tree.addMouseUpHandler(com.google.gwt.event.dom.client.MouseUpHandler)` and `Tree.addMouseOutHandler(com.google.gwt.event.dom.client.MouseOutHandler)` instead

com.google.gwt.user.client.ui.FocusPanel.addMouseWheelListener(MouseWheelListener) Use `FocusPanel.addMouseWheelHandler(com.google.gwt.event.dom.client.MouseWheelHandler)` instead
com.google.gwt.user.client.ui.FocusWidget.addMouseWheelListener(MouseWheelListener) Use `FocusWidget.addMouseWheelHandler(com.google.gwt.event.dom.client.MouseWheelHandler)` instead
com.google.gwt.user.client.ui.Image.addMouseWheelListener(MouseWheelListener) Use `Image.addMouseWheelHandler(com.google.gwt.event.dom.client.MouseWheelHandler)` instead
com.google.gwt.user.client.ui.Label.addMouseWheelListener(MouseWheelListener) Use `Label.addMouseWheelHandler(com.google.gwt.event.dom.client.MouseWheelHandler)` instead
com.google.gwt.user.client.ui.SourcesMouseWheelEvents.addMouseWheelListener(MouseWheelListener) Use `HasMouseWheelHandlers.addMouseWheelHandler(com.google.gwt.event.dom.client.MouseWheelHandler)` instead
com.google.gwt.user.client.ui.PopupPanel.addPopupListener(PopupListener) Use `PopupPanel.addCloseHandler(com.google.gwt.event.logical.shared.CloseHandler<com.google.gwt.user.client.ui.PopupPanel>)` instead
com.google.gwt.user.client.ui.SourcesPopupEvents.addPopupListener(PopupListener) use `HasCloseHandlers.addCloseHandler(com.google.gwt.event.logical.shared.CloseHandler<T>)` instead
com.google.gwt.user.client.ui.ScrollPanel.addScrollListener(ScrollListener) Use `ScrollPanel.addScrollHandler(com.google.gwt.event.dom.client.ScrollHandler)` instead
com.google.gwt.user.client.ui.SourcesScrollEvents.addScrollListener(ScrollListener) use `HasScrollHandlers.addScrollHandler(com.google.gwt.event.dom.client.ScrollHandler)` instead
com.google.gwt.user.client.ui.HTMLTable.addTableListener(TableListener) add a click handler instead and use `HTMLTable.getCellForEvent(ClickEvent)` to get the cell information (remember to check for a null return value)
com.google.gwt.user.client.ui.SourcesTableEvents.addTableListener(TableListener) See the `interface doc` instead
com.google.gwt.user.client.ui.SourcesTabEvents.addTabListener(TabListener) use (@link com.google.gwt.event.logical.shared.HasBeforeSelectionHandlers#addBeforeSelectionHandler} and `com.google.gwt.event.logical.shared.SelectionHandler#addSelectionHandler` instead
com.google.gwt.user.client.ui.TabBar.addTabListener(TabListener) Use `TabBar.addBeforeSelectionHandler(com.google.gwt.event.logical.shared.BeforeSelectionHandler<java.lang.Integer>)` and {#link #addSelectionHandler} instead
com.google.gwt.user.client.ui.TabPanel.addTabListener(TabListener) Use `TabPanel.addBeforeSelectionHandler(com.google.gwt.event.logical.shared.BeforeSelectionHandler<java.lang.Integer>)` and `TabPanel.addSelectionHandler(com.google.gwt.event.logical.shared.SelectionHandler<java.lang.Integer>)` instead
com.google.gwt.user.client.ui.SourcesTreeEvents.addTreeListener(TreeListener) use `HasBeforeSelectionHandlers.addBeforeSelectionHandler(com.google.gwt.event.logical.shared.BeforeSelectionHandler)`, `HasOpenHandlers.addOpenHandler(com.google.gwt.event.logical.shared.OpenHandler<T>)` and `HasClickHandlers.addClickHandler(com.google.gwt.event.dom.client.ClickHandler)` instead

com.google.gwt.user.client.ui.Tree.addTreeListener(TreeListener)
Use `Tree.addSelectionHandler(com.google.gwt.event.logical.shared.SelectionHandler<com.google.gwt.user.client.ui.TreeItem>)`, `Tree.addOpenHandler(com.google.gwt.event.logical.shared.OpenHandler<com.google.gwt.user.client.ui.TreeItem>)`, and `Tree.addCloseHandler(com.google.gwt.event.logical.shared.CloseHandler<com.google.gwt.user.client.ui.TreeItem>)` instead

com.google.gwt.user.client.Window.addWindowCloseListener(WindowCloseListener) use `Window.addWindowClosingHandler(ClosingHandler)` and `Window.addCloseHandler(CloseHandler)` instead
com.google.gwt.user.client.Window.addWindowResizeListener(WindowResizeListener) use `Window.addResizeHandler(ResizeHandler)` instead
com.google.gwt.user.client.Window.addWindowScrollListener(WindowScrollListener) use `Window.addWindowScrollHandler(ScrollHandler)` instead
com.google.gwt.user.client.ui.Panel.adopt(Widget, Element) Use `Panel.adopt(Widget)`.
com.google.gwt.user.client.Event.cancelBubble(boolean) use `NativeEvent.stopPropagation()` instead
com.google.gwt.junit.client.GWTTestCase.clearCheckpoints() This method will be removed if and 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.eventGetRepeat(Event) not supported in any browser but IE
com.google.gwt.user.client.DOM.eventSetKeyCode(Event, char) this method only works in IE and should not have been added to the API
com.google.gwt.user.client.ui.TableListenerCollection.fireCellClicked(SourcesTableEvents, int, int)
com.google.gwt.user.client.ui.FormHandlerCollection.fireOnComplete(FormPanel, String) `FormPanel` now implements all handler management internally
com.google.gwt.user.client.ui.FormHandlerCollection.fireOnSubmit(FormPanel) `FormPanel` now implements all handler management internally
com.google.gwt.user.client.ui.PopupListenerCollection.firePopupClosed(PopupPanel, boolean) use `CloseHandler.onClose(com.google.gwt.event.logical.shared.CloseEvent<T>)` instead
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 if and 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.Event.getCurrentTarget() use `NativeEvent.getCurrentEventTarget()` instead
com.google.gwt.user.client.ui.MouseWheelVelocity.getDeltaY() use `MouseWheelEvent.getDeltaY()` instead
com.google.gwt.user.client.ui.TreeItem.getFocusableWidget() use `TreeItem.getFocusable()` instead
com.google.gwt.user.client.Event.getFromElement() use `NativeEvent#getRelatedTarget()` instead
com.google.gwt.user.client.ui.Tree.getImageBase() Use `Tree.Tree(TreeImages)` as it provides a more efficient 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.user.client.Event.getRelatedTarget() use `NativeEvent.getRelatedEventTarget()` instead
com.google.gwt.user.client.Event.getRepeat() not supported on all browsers
com.google.gwt.user.client.Event.getTarget() use `NativeEvent.getEventTarget()` instead
com.google.gwt.user.client.Event.getToElement() use `NativeEvent#getRelatedTarget()` instead
com.google.gwt.core.client.GWT.getTypeName(Object) Use `Object.getClass()`, `Class.getName()`
com.google.gwt.json.client.JSONNumber.getValue() See `JSONNumber.doubleValue()`
com.google.gwt.user.client.ui.ComplexPanel.insert(Widget, Element, int) Use `ComplexPanel.insert(Widget, Element, int, boolean)` instead
com.google.gwt.user.client.ui.CheckBox.isChecked() Use `CheckBox.getValue()` instead
com.google.gwt.user.client.ui.MouseWheelVelocity.isNorth() use `MouseWheelEvent.isNorth()` instead
com.google.gwt.user.client.ui.MouseWheelVelocity.isSouth() use `MouseWheelEvent.isSouth()` instead
com.google.gwt.user.server.rpc.SerializationPolicyLoader.loadFromStream(InputStream) see `SerializationPolicyLoader.loadFromStream(InputStream, List)`
com.google.gwt.user.client.ui.TabListener.onBeforeTabSelected(SourcesTabEvents, int) use `TabPanel.addBeforeSelectionHandler(com.google.gwt.event.logical.shared.BeforeSelectionHandler)` instead
com.google.gwt.user.client.ui.TabPanel.onBeforeTabSelected(SourcesTabEvents, int) Use `BeforeSelectionHandler.onBeforeSelection(com.google.gwt.event.logical.shared.BeforeSelectionEvent)` instead
com.google.gwt.user.client.ui.TableListener.onCellClicked(SourcesTableEvents, int, int) use `ClickHandler` and `HTMLTable.getCellForEvent(com.google.gwt.event.dom.client.ClickEvent)` instead
com.google.gwt.user.client.ui.ChangeListener.onChange(Widget) See the deprecation message on this interface for details
com.google.gwt.user.client.ui.ClickListener.onClick(Widget) Use `ClickHandler.onClick(com.google.gwt.event.dom.client.ClickEvent)` instead
com.google.gwt.user.client.ui.TabBar.onClick(Widget) add a `BeforeSelectionHandler` instead. Alternatively, if you need to access to the individual tabs, add a click handler to each `TabBar.Tab` element instead.
com.google.gwt.user.client.ui.DisclosureHandler.onClose(DisclosureEvent) Use `CloseHandler` instead
com.google.gwt.user.client.EventPreview.onEventPreview(Event) replaced by `Event.NativePreviewHandler.onPreviewNativeEvent(com.google.gwt.user.client.Event.NativePreviewEvent)`
com.google.gwt.user.client.ui.PopupPanel.onEventPreview(Event) Use `#onPreviewNativeEvent(NativePreviewEvent)` instead
com.google.gwt.user.client.ui.FocusListener.onFocus(Widget) Use `FocusHandler.onFocus(com.google.gwt.event.dom.client.FocusEvent)` instead
com.google.gwt.user.client.History.onHistoryChanged(String) Use `History.fireCurrentHistoryState()` instead.
com.google.gwt.user.client.HistoryListener.onHistoryChanged(String)
com.google.gwt.user.client.ui.KeyboardListener.onKeyDown(Widget, char, int) use `KeyDownHandler.onKeyDown(com.google.gwt.event.dom.client.KeyDownEvent)` instead
com.google.gwt.user.client.ui.TabBar.onKeyDown(Widget, char, int) add a key down handler to the individual `TabBar.Tab` objects instead.
com.google.gwt.user.client.ui.PopupPanel.onKeyDownPreview(char, int) Use `#onPreviewNativeEvent(NativePreviewEvent)` instead
com.google.gwt.user.client.ui.KeyboardListener.onKeyPress(Widget, char, int) use `KeyPressHandler.onKeyPress(com.google.gwt.event.dom.client.KeyPressEvent)` instead
com.google.gwt.user.client.ui.TabBar.onKeyPress(Widget, char, int) this method has been doing nothing for the entire last release, if what you wanted to do was to listen to key press events on tabs, add the key press handler to the individual tab wrappers instead.
com.google.gwt.user.client.ui.PopupPanel.onKeyPressPreview(char, int) Use `#onPreviewNativeEvent(NativePreviewEvent)` instead
com.google.gwt.user.client.ui.KeyboardListener.onKeyUp(Widget, char, int) use `KeyUpHandler.onKeyUp(com.google.gwt.event.dom.client.KeyUpEvent)` instead
com.google.gwt.user.client.ui.TabBar.onKeyUp(Widget, char, int) this method has been doing nothing for the entire last release, if what you wanted to do was to listen to key up events on tabs, add the key up handler to the individual tab wrappers instead.
com.google.gwt.user.client.ui.PopupPanel.onKeyUpPreview(char, int) Use `#onPreviewNativeEvent(NativePreviewEvent)` instead
com.google.gwt.user.client.ui.FocusListener.onLostFocus(Widget) Use `BlurHandler.onBlur(com.google.gwt.event.dom.client.BlurEvent)` instead
com.google.gwt.user.client.ui.DialogBox.onMouseDown(Widget, int, int) Use `DialogBox.beginDragging(com.google.gwt.event.dom.client.MouseDownEvent)` and `DialogBox.getCaption()` instead
com.google.gwt.user.client.ui.MouseListener.onMouseDown(Widget, int, int) use `MouseDownHandler.onMouseDown(com.google.gwt.event.dom.client.MouseDownEvent)` instead
com.google.gwt.user.client.ui.DialogBox.onMouseEnter(Widget) Use `HasMouseOverHandlers.addMouseOverHandler(com.google.gwt.event.dom.client.MouseOverHandler)` instead
com.google.gwt.user.client.ui.MouseListener.onMouseEnter(Widget) use `MouseOverHandler.onMouseOver(com.google.gwt.event.dom.client.MouseOverEvent)` instead
com.google.gwt.user.client.ui.DialogBox.onMouseLeave(Widget) Use `HasMouseOutHandlers.addMouseOutHandler(com.google.gwt.event.dom.client.MouseOutHandler)` instead
com.google.gwt.user.client.ui.MouseListener.onMouseLeave(Widget) use `MouseOutHandler.onMouseOut(com.google.gwt.event.dom.client.MouseOutEvent)` instead
com.google.gwt.user.client.ui.DialogBox.onMouseMove(Widget, int, int) Use `DialogBox.continueDragging(com.google.gwt.event.dom.client.MouseMoveEvent)` and `DialogBox.getCaption()` instead
com.google.gwt.user.client.ui.MouseListener.onMouseMove(Widget, int, int) use `MouseMoveHandler.onMouseMove(com.google.gwt.event.dom.client.MouseMoveEvent)` instead
com.google.gwt.user.client.ui.DialogBox.onMouseUp(Widget, int, int) Use `DialogBox.endDragging(com.google.gwt.event.dom.client.MouseUpEvent)` and `DialogBox.getCaption()` instead
com.google.gwt.user.client.ui.MouseListener.onMouseUp(Widget, int, int) use `MouseUpHandler.onMouseUp(com.google.gwt.event.dom.client.MouseUpEvent)` instead
com.google.gwt.user.client.ui.MouseWheelListener.onMouseWheel(Widget, MouseWheelVelocity) use `MouseWheelHandler.onMouseWheel(com.google.gwt.event.dom.client.MouseWheelEvent)` instead
com.google.gwt.user.client.ui.DisclosureHandler.onOpen(DisclosureEvent) Use `OpenHandler` instead
com.google.gwt.user.client.ui.MenuBar.onPopupClosed(PopupPanel, boolean) Use `MenuBar.addCloseHandler(CloseHandler)` instead
com.google.gwt.user.client.ui.PopupListener.onPopupClosed(PopupPanel, boolean) use `CloseHandler.onClose(com.google.gwt.event.logical.shared.CloseEvent<T>)` instead
com.google.gwt.user.client.ui.FormHandler.onSubmit(FormSubmitEvent) Use `FormPanel.SubmitHandler` instead
com.google.gwt.user.client.ui.FormHandler.onSubmitComplete(FormSubmitCompleteEvent) Use `FormPanel.SubmitCompleteHandler` instead
com.google.gwt.user.client.ui.TabListener.onTabSelected(SourcesTabEvents, int) use `TabPanel.addSelectionHandler(com.google.gwt.event.logical.shared.SelectionHandler)` instead
com.google.gwt.user.client.ui.TabPanel.onTabSelected(SourcesTabEvents, int) Use `SelectionHandler.onSelection(com.google.gwt.event.logical.shared.SelectionEvent)` instead
com.google.gwt.user.client.ui.TreeListener.onTreeItemSelected(TreeItem) use `SelectionHandler.onSelection(com.google.gwt.event.logical.shared.SelectionEvent)` instead
com.google.gwt.user.client.ui.TreeListener.onTreeItemStateChanged(TreeItem) use `OpenHandler.onOpen(com.google.gwt.event.logical.shared.OpenEvent)` and/or `CloseHandler.onClose(com.google.gwt.event.logical.shared.CloseEvent)`
com.google.gwt.user.client.WindowCloseListener.onWindowClosed()
com.google.gwt.user.client.WindowCloseListener.onWindowClosing()
com.google.gwt.user.client.WindowResizeListener.onWindowResized(int, int)
com.google.gwt.user.client.WindowScrollListener.onWindowScrolled(int, int)
com.google.gwt.user.client.ui.ListenerWrapper.WrappedChangeListener.remove(Widget, ChangeListener) will be removed in GWT 2.0 along with the listener classes
com.google.gwt.user.client.ui.ListenerWrapper.WrappedLogicalChangeListener.remove(Widget, ChangeListener) will be removed in GWT 2.0 along with the listener classes
com.google.gwt.user.client.ui.ListenerWrapper.WrappedClickListener.remove(Widget, ClickListener) will be removed in GWT 2.0 along with the listener classes
com.google.gwt.user.client.ui.ListenerWrapper.WrappedFocusListener.remove(Widget, FocusListener) will be removed in GWT 2.0 along with the listener classes
com.google.gwt.user.client.ui.ListenerWrapper.WrappedKeyboardListener.remove(Widget, KeyboardListener) will be removed in GWT 2.0 along with the listener classes
com.google.gwt.user.client.ui.ListenerWrapper.WrappedLoadListener.remove(Widget, LoadListener) will be removed in GWT 2.0 along with the listener classes
com.google.gwt.user.client.ui.ListenerWrapper.WrappedMouseListener.remove(Widget, MouseListener) will be removed in GWT 2.0 along with the listener classes
com.google.gwt.user.client.ui.ListenerWrapper.WrappedMouseWheelListener.remove(Widget, MouseWheelListener) will be removed in GWT 2.0 along with the listener classes
com.google.gwt.user.client.ui.ListenerWrapper.WrappedScrollListener.remove(Widget, ScrollListener) will be removed in GWT 2.0 along with the listener classes
com.google.gwt.user.client.ui.ListBox.removeChangeListener(ChangeListener) Use the `HandlerRegistration.removeHandler()` method on the object returned by `ListBox.addChangeHandler(com.google.gwt.event.dom.client.ChangeHandler)` instead
com.google.gwt.user.client.ui.SourcesChangeEvents.removeChangeListener(ChangeListener) Use the `HandlerRegistration#removeHandler` method on the object returned by `#addChangeHandler` instead
com.google.gwt.user.client.ui.SuggestBox.removeChangeListener(ChangeListener) Use the `HandlerRegistration.removeHandler()` method on the object returned by `SuggestBox.getTextBox()`().addChangeHandler instead
com.google.gwt.user.client.ui.TextBoxBase.removeChangeListener(ChangeListener) Use the `HandlerRegistration.removeHandler()` method on the object returned by `TextBoxBase.addChangeHandler(com.google.gwt.event.dom.client.ChangeHandler)` instead
com.google.gwt.user.client.ui.FocusPanel.removeClickListener(ClickListener) Use the `HandlerRegistration.removeHandler()` method on the object returned by `FocusPanel.addClickHandler(com.google.gwt.event.dom.client.ClickHandler)` instead
com.google.gwt.user.client.ui.FocusWidget.removeClickListener(ClickListener) Use the `HandlerRegistration.removeHandler()` method on the object returned by `FocusWidget.addClickHandler(com.google.gwt.event.dom.client.ClickHandler)` instead
com.google.gwt.user.client.ui.Hyperlink.removeClickListener(ClickListener) Use the `HandlerRegistration.removeHandler()` method on the object returned by an add*Handler method instead
com.google.gwt.user.client.ui.Image.removeClickListener(ClickListener) Use the `HandlerRegistration.removeHandler()` method on the object returned by `Image.addClickHandler(com.google.gwt.event.dom.client.ClickHandler)` instead
com.google.gwt.user.client.ui.Label.removeClickListener(ClickListener) Use the `HandlerRegistration.removeHandler()` method on the object returned by `Label.addClickHandler(com.google.gwt.event.dom.client.ClickHandler)` instead
com.google.gwt.user.client.ui.SourcesClickEvents.removeClickListener(ClickListener) Use the `HandlerRegistration#removeHandler` method on the object returned by `#addClickHandler` instead
com.google.gwt.user.client.ui.SuggestBox.removeClickListener(ClickListener) Use the `HandlerRegistration.removeHandler()` method on the object returned by `SuggestBox.getTextBox()`().addClickHandler instead
com.google.gwt.user.client.ui.DisclosurePanel.removeEventHandler(DisclosureHandler) Use the `HandlerRegistration.removeHandler()` method on the object returned by an add*Handler method instead
com.google.gwt.user.client.ui.FiresDisclosureEvents.removeEventHandler(DisclosureHandler) Use the `HandlerRegistration#removeHandler` method on the object returned by an add*Handler method instead
com.google.gwt.user.client.ui.FiresSuggestionEvents.removeEventHandler(SuggestionHandler) Use the `HandlerRegistration#removeHandler` method on the object returned by an add*Handler method instead
com.google.gwt.user.client.ui.SuggestBox.removeEventHandler(SuggestionHandler) Use the `HandlerRegistration.removeHandler()` method no the object returned by `SuggestBox.addSelectionHandler(com.google.gwt.event.logical.shared.SelectionHandler<com.google.gwt.user.client.ui.SuggestOracle.Suggestion>)` instead
com.google.gwt.user.client.DOM.removeEventPreview(EventPreview) use `HandlerRegistration` returned from `Event.addNativePreviewHandler(Event.NativePreviewHandler)`
com.google.gwt.user.client.Event.removeEventPreview(EventPreview) use `HandlerRegistration` returned from `Event.addNativePreviewHandler(NativePreviewHandler)`
com.google.gwt.user.client.ui.FocusPanel.removeFocusListener(FocusListener) Use the `HandlerRegistration.removeHandler()` method on the object returned by `FocusPanel.addFocusHandler(com.google.gwt.event.dom.client.FocusHandler)` instead
com.google.gwt.user.client.ui.FocusWidget.removeFocusListener(FocusListener) Use the `HandlerRegistration.removeHandler()` method on the object returned by `FocusWidget.addFocusHandler(com.google.gwt.event.dom.client.FocusHandler)` instead
com.google.gwt.user.client.ui.SourcesFocusEvents.removeFocusListener(FocusListener) Use the `HandlerRegistration#removeHandler` method on the object returned by `#addFocusHandler` instead
com.google.gwt.user.client.ui.SuggestBox.removeFocusListener(FocusListener) Use the `HandlerRegistration.removeHandler()` method on the object returned by `SuggestBox.getTextBox()`().addFocusListener instead
com.google.gwt.user.client.ui.Tree.removeFocusListener(FocusListener) Use the `HandlerRegistration.removeHandler()` method on the object returned by `Tree.addFocusHandler(com.google.gwt.event.dom.client.FocusHandler)` instead
com.google.gwt.user.client.ui.FiresFormEvents.removeFormHandler(FormHandler) Use the `HandlerRegistration#removeHandler` method on the object returned by an add*Handler method instead
com.google.gwt.user.client.ui.FormPanel.removeFormHandler(FormHandler) Use the `HandlerRegistration.removeHandler()` method on the object returned by and add*Handler method instead
com.google.gwt.event.shared.HandlerManager.removeHandler(GwtEvent.Type<H>, H) This method is likely to be removed along with "listener" interfaces in a future release. If you have a reason it should be retained beyond that time, please add your comments to GWT issue 3102
com.google.gwt.user.client.History.removeHistoryListener(HistoryListener)
com.google.gwt.user.client.ui.FocusPanel.removeKeyboardListener(KeyboardListener) Use the `HandlerRegistration.removeHandler()` method on the object returned by an add*Handler method instead
com.google.gwt.user.client.ui.FocusWidget.removeKeyboardListener(KeyboardListener) Use the `HandlerRegistration.removeHandler()` method on the object returned by an add*Handler method instead
com.google.gwt.user.client.ui.SourcesKeyboardEvents.removeKeyboardListener(KeyboardListener) Use the `HandlerRegistration#removeHandler` method on the object returned by an add*Handler method instead
com.google.gwt.user.client.ui.SuggestBox.removeKeyboardListener(KeyboardListener) Use the `HandlerRegistration.removeHandler()` method on the object returned by `SuggestBox.getTextBox()`().add*Handler instead
com.google.gwt.user.client.ui.Tree.removeKeyboardListener(KeyboardListener) Use the `HandlerRegistration.removeHandler()` method on the object returned by an add*Handler method instead
com.google.gwt.user.client.ui.Image.removeLoadListener(LoadListener) Use the `HandlerRegistration.removeHandler()` method on the object returned by an add*Handler method instead
com.google.gwt.user.client.ui.SourcesLoadEvents.removeLoadListener(LoadListener) Use the `HandlerRegistration#removeHandler` method on the object returned by `HasLoadHandlers#addLoadListener` instead
com.google.gwt.user.client.ui.FocusPanel.removeMouseListener(MouseListener) Use the `HandlerRegistration.removeHandler()` method on the object returned by an add*Handler method instead
com.google.gwt.user.client.ui.FocusWidget.removeMouseListener(MouseListener) Use the `HandlerRegistration.removeHandler()` method on the object returned by an add*Handler method instead
com.google.gwt.user.client.ui.Image.removeMouseListener(MouseListener) Use the `HandlerRegistration.removeHandler()` method on the object returned by an add*Handler method instead
com.google.gwt.user.client.ui.Label.removeMouseListener(MouseListener) Use the `HandlerRegistration.removeHandler()` method on the object returned by an add*Handler method instead
com.google.gwt.user.client.ui.SourcesMouseEvents.removeMouseListener(MouseListener) Use the `HandlerRegistration#removeHandler` method on the object returned by an add*Handler method instead
com.google.gwt.user.client.ui.Tree.removeMouseListener(MouseListener) Use the `HandlerRegistration.removeHandler()` method on the object returned by an add*Handler method instead
com.google.gwt.user.client.ui.FocusPanel.removeMouseWheelListener(MouseWheelListener) Use the `HandlerRegistration.removeHandler()` method on the object returned by `FocusPanel.addMouseWheelHandler(com.google.gwt.event.dom.client.MouseWheelHandler)` instead
com.google.gwt.user.client.ui.FocusWidget.removeMouseWheelListener(MouseWheelListener) Use the `HandlerRegistration.removeHandler()` method on the object returned by `FocusWidget.addMouseWheelHandler(com.google.gwt.event.dom.client.MouseWheelHandler)` instead
com.google.gwt.user.client.ui.Image.removeMouseWheelListener(MouseWheelListener) Use the `HandlerRegistration.removeHandler()` method on the object returned by `Image.addMouseWheelHandler(com.google.gwt.event.dom.client.MouseWheelHandler)` instead
com.google.gwt.user.client.ui.Label.removeMouseWheelListener(MouseWheelListener) Use the `HandlerRegistration.removeHandler()` method on the object returned by `Label.addMouseWheelHandler(com.google.gwt.event.dom.client.MouseWheelHandler)` instead
com.google.gwt.user.client.ui.SourcesMouseWheelEvents.removeMouseWheelListener(MouseWheelListener) Use the `HandlerRegistration#removeHandler` method on the object returned by `HasMouseWheelHandlers.addMouseWheelHandler(com.google.gwt.event.dom.client.MouseWheelHandler)` instead
com.google.gwt.user.client.ui.PopupPanel.removePopupListener(PopupListener) Use the `HandlerRegistration.removeHandler()` method on the object returned by `PopupPanel.addCloseHandler(com.google.gwt.event.logical.shared.CloseHandler<com.google.gwt.user.client.ui.PopupPanel>)` instead
com.google.gwt.user.client.ui.SourcesPopupEvents.removePopupListener(PopupListener) Use the `HandlerRegistration#removeHandler` method on the object returned by `HasCloseHandlers.addCloseHandler(com.google.gwt.event.logical.shared.CloseHandler<T>)` instead
com.google.gwt.user.client.ui.ScrollPanel.removeScrollListener(ScrollListener) Use the `HandlerRegistration.removeHandler()` method on the object returned by `addScrollHandler` instead
com.google.gwt.user.client.ui.SourcesScrollEvents.removeScrollListener(ScrollListener) Use the `HandlerRegistration#removeHandler` method on the object returned by `HasScrollHandlers.addScrollHandler(com.google.gwt.event.dom.client.ScrollHandler)` instead instead
com.google.gwt.user.client.ui.HTMLTable.removeTableListener(TableListener) Use the `HandlerRegistration.removeHandler()` method on the object returned by an add*Handler method instead
com.google.gwt.user.client.ui.SourcesTableEvents.removeTableListener(TableListener) Use the `HandlerRegistration#removeHandler` method on the object returned by an add*Handler method instead
com.google.gwt.user.client.ui.SourcesTabEvents.removeTabListener(TabListener) Use the `HandlerRegistration#removeHandler` method on the object returned by and add*Handler method instead
com.google.gwt.user.client.ui.TabBar.removeTabListener(TabListener) Instead use the `HandlerRegistration.removeHandler()` call on the object returned by an add*Handler method
com.google.gwt.user.client.ui.TabPanel.removeTabListener(TabListener) Use the `HandlerRegistration.removeHandler()` method on the object returned by and add*Handler method instead
com.google.gwt.user.client.ui.SourcesTreeEvents.removeTreeListener(TreeListener) Use the `HandlerRegistration#removeHandler` method on the object returned by an add*Handler method instead
com.google.gwt.user.client.ui.Tree.removeTreeListener(TreeListener) Use the `HandlerRegistration.removeHandler()` method on the object returned by an add*Handler method instead
com.google.gwt.user.client.Window.removeWindowCloseListener(WindowCloseListener)
com.google.gwt.user.client.Window.removeWindowResizeListener(WindowResizeListener)
com.google.gwt.user.client.Window.removeWindowScrollListener(WindowScrollListener)
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.CheckBox.setChecked(boolean) Use `CheckBox.setValue(Boolean)` instead
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.TextBoxBase.setKey(char) this method only works in IE and should not have been added to the API
com.google.gwt.user.client.ui.ListBox.setMultipleSelect(boolean) use `ListBox.ListBox(boolean)` instead
com.google.gwt.user.client.ui.Composite.setWidget(Widget) 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()`

Deprecated Constructors
com.google.gwt.user.client.ui.Button(String, ClickListener) Use `Button.Button(String, ClickHandler)` instead
com.google.gwt.user.client.ui.CustomButton(Image, ClickListener) Use `CustomButton.CustomButton(Image, ClickHandler)` instead
com.google.gwt.user.client.ui.CustomButton(Image, Image, ClickListener) Use `#CustomButton(Image, Image, ClickHandler` instead
com.google.gwt.user.client.ui.CustomButton(String, ClickListener) Use `CustomButton.CustomButton(String, ClickListener)` instead
com.google.gwt.user.client.ui.CustomButton(String, String, ClickListener) Use `CustomButton.CustomButton(String, String, ClickHandler)` instead
com.google.gwt.user.client.ui.DisclosureEvent(DisclosurePanel) Use `CloseEvent` and `OpenEvent` instead
com.google.gwt.user.client.ui.PushButton(Image, ClickListener) Use `PushButton.PushButton(Image, ClickHandler)` instead
com.google.gwt.user.client.ui.PushButton(Image, Image, ClickListener) Use `PushButton.PushButton(Image, Image, ClickHandler)` instead
com.google.gwt.user.client.ui.PushButton(String, ClickListener) Use `PushButton.PushButton(String, ClickHandler)` instead
com.google.gwt.user.client.ui.PushButton(String, String, ClickListener) Use `PushButton.PushButton(String, String, ClickHandler)` instead
com.google.gwt.user.client.ui.ToggleButton(Image, ClickListener) Use `#ToggleButton(Image, ClickHandler` instead
com.google.gwt.user.client.ui.ToggleButton(Image, Image, ClickListener) Use `#ToggleButton(Image, Image, ClickHandler` instead
com.google.gwt.user.client.ui.ToggleButton(String, ClickListener) Use `#ToggleButton(String, ClickHandler` instead