Deprecated API
Contents
-
Deprecated InterfacesInterfaceDescriptionuse DateTimeFormatInfo insteaduse
DateTimeFormatInfoinsteadUseKeyGeneratorinstead.replaced byEvent.NativePreviewHandlerReplaced byScheduler.RepeatingCommandandScheduler.scheduleIncremental()As of GWT 1.6, DOM and logical change events are separate. UseChangeHandlerfor changes triggered by a DOM-based change event andValueChangeHandlerfor changes resulting from a logical event such as a method call that changes stateUseClickHandlerinsteadUseCloseHandlerand/orOpenHandlerinsteadUseHasOpenHandlersandHasCloseHandlersinsteadThis interface was specific toFormPanel; it is not generally useful and will be removed in a future version. UseFormPanel.addSubmitHandler(FormPanel.SubmitHandler)andFormPanel.addSubmitCompleteHandler(FormPanel.SubmitCompleteHandler)insteadUseHasSelectionHandlersinstead.UseFocusHandlerand/orBlurHandlerinsteadUseFormPanel.SubmitCompleteHandlerand/orFormPanel.SubmitHandlerinsteadUseFocusableinsteadThis interface is no longer implemented by any GWT library. UseEvent.addNativePreviewHandler(com.google.gwt.user.client.Event.NativePreviewHandler)instead.replaced byHorizontalSplitPanel.Resources.replaced byClientBundleandImageResourceuseLoadHandlerandErrorHandlerinsteadreplaced byMenuBar.ResourcesuseMouseDownHandler,MouseUpHandler,MouseOverHandler,MouseMoveHandler, andMouseOutHandlerinsteaduseMouseWheelHandlerinsteaduseCloseHandlerinsteaduseRichTextArea.FormatterinsteaduseRichTextArea.FormatterinsteaduseScrollHandlerinsteadwe have now separated dom and logical change events. UseHasChangeHandlersif the change listener was triggered by a dom change event orHasValueChangeHandlersif it was based on a logical eventuseHasClickHandlersinsteaduseHasAllFocusHandlersinsteaduseHasAllKeyHandlersinsteaduseHasErrorHandlersandHasLoadHandlersinsteaduseHasAllMouseHandlersinsteadUseHasMouseWheelHandlersinsteaduseHasCloseHandlersinsteaduseHasScrollHandlersinsteaduseHasSelectionHandlersandHasBeforeSelectionHandlersinsteaduseHasClickHandlersinstead. Event sources should implement methods similar toHTMLTable.getCellForEvent(com.google.gwt.event.dom.client.ClickEvent)useSelectionHandlerinsteadreplaced byTree.Resources.replaced byVerticalSplitPanel.Resources.useWindow.ClosingHandlerandCloseHandlerinsteaduseResizeHandlerinsteaduseWindow.addWindowScrollHandler(com.google.gwt.user.client.Window.ScrollHandler)instead insteadusers should upgrade to the fullConstraintViolationtype by switching theirReceiverimplementations to useReceiver.onConstraintViolation(java.util.Set)instead ofReceiver.onViolation(java.util.Set).
-
Deprecated ClassesClassDescriptionuse
CrossSiteIframeLinkerinstead.useCrossSiteIframeLinkerinstead.UseFullyQualifiedMethodNameKeyGeneratorinstead.UseMD5KeyGeneratorinstead.UseMethodNameKeyGeneratorinstead.Use com.google.gwt.core.server.StackTraceDeobfuscator instead.will be removed in GWT 2.7 with the handler listeners themselvesReplaced byScheduler.scheduleDeferred()because the static nature of this API prevents effective mocking for JRE-only tests.Use the new GWT ARIA library with the factory class for the ARIA rolesRoles. There are getters for all ARIA roles. For each role there are get/set/remove methods defined for all (own and inherited) supported states and properties.Widgets should now manage their own handlers viaWidget.addDomHandler(H, com.google.gwt.event.dom.client.DomEvent.Type<H>)As of GWT 1.6, callto manage handlers for your widget insteadaddDomHandler(myHandler, ClickEvent.getType())UseWidget.delegateEventinsteadUseCloseEventandOpenEventinsteadUseFocusHandlerandBlurHandlerinsteadWidgets should now manage their own handlers viaWidget.addDomHandler(H, com.google.gwt.event.dom.client.DomEvent.Type<H>)Widgets should now manage their own handlers viaWidget.addDomHandler(H, com.google.gwt.event.dom.client.DomEvent.Type<H>)UseSplitLayoutPanelinstead, but understand that it is not a drop in replacement for this class. It requires standards mode, and is most easily used under aRootLayoutPanel(as opposed to aRootPanelWidgets should now manage their own handlers viaWidget.addDomHandler(H, com.google.gwt.event.dom.client.DomEvent.Type<H>)will be removed in GWT 2.7 with the handler listeners themselveswill be removed in GWT 2.0 along with the listeners being wrappedwill be removed in GWT 2.0 along with the listeners being wrappedwill be removed in GWT 2.0 along with the listeners being wrappedWidgets should now manage their own handlers viaWidget.addDomHandler(H, com.google.gwt.event.dom.client.DomEvent.Type<H>)useMouseDownHandler,MouseUpHandler,MouseOverHandler,MouseMoveHandler, and/orMouseOutHandlerinsteadWidgets should now manage their own handlers viaWidget.addDomHandler(H, com.google.gwt.event.dom.client.DomEvent.Type<H>)Widgets should now manage their own handlers viaWidget.addDomHandler(H, com.google.gwt.event.dom.client.DomEvent.Type<H>)useMouseWheelEvent.getDeltaY()insteadWidgets should now manage their own handlers viaWidget.addDomHandler(H, com.google.gwt.event.dom.client.DomEvent.Type<H>)Widgets should now manage their own handlers viaWidget.addDomHandler(H, com.google.gwt.event.dom.client.DomEvent.Type<H>)UseSplitLayoutPanelinstead, but understand that it is not a drop in replacement for this class. It requires standards mode, and is most easily used under aRootLayoutPanel(as opposed to aRootPanelWidgets should now manage their own handlers viaWidget.addDomHandler(H, com.google.gwt.event.dom.client.DomEvent.Type<H>)Widgets should now manage their own handlers viaWidget.addDomHandler(H, com.google.gwt.event.dom.client.DomEvent.Type<H>)Widgets should now manage their own handlers viaWidget.addDomHandler(H, com.google.gwt.event.dom.client.DomEvent.Type<H>)UseSplitLayoutPanelinstead, but understand that it is not a drop in replacement for this class. It requires standards mode, and is most easily used under aRootLayoutPanel(as opposed to aRootPanelWill not be deleted from source, but will no longer be included in GWT artifacts, as this is only intended for use as a build tool.Will not be deleted from source, but will no longer be included in GWT artifacts, as this is only intended for use as a build tool.
-
Deprecated Exception ClassesException ClassDescriptionAs of GWT 1.5,
ExceptionimplementsSerializableand can be used in place of this class
-
Deprecated Annotation TypesAnnotation TypeDescriptionsince hosted/dev mode is deprecated and has no other uses.use
Messages.AlternateMessageinsteadStrict mode is now the default behavior for CssResourcenot needed anymore,
-
Deprecated FieldsFieldDescriptionuse
KeyCodes.KEY_ALTinsteaduseKeyCodes.KEY_BACKSPACEinsteaduseKeyCodes.KEY_CTRLinsteaduseKeyCodes.KEY_DELETEinsteaduseKeyCodes.KEY_DOWNinsteaduseKeyCodes.KEY_ENDinsteaduseKeyCodes.KEY_ENTERinsteaduseKeyCodes.KEY_ESCAPEinsteaduseKeyCodes.KEY_HOMEinsteaduseKeyCodes.KEY_LEFTinsteaduseKeyCodes.KEY_PAGEDOWNinsteaduseKeyCodes.KEY_PAGEUPinsteaduseKeyCodes.KEY_RIGHTinsteaduseKeyCodes.KEY_SHIFTinsteaduseKeyCodes.KEY_TABinsteaduseKeyCodes.KEY_UPinsteaduseKeyEvent.isAltKeyDown()insteaduseKeyEvent.isControlKeyDown()insteaduseKeyEvent.isMetaKeyDown()insteaduseKeyEvent.isShiftKeyDown()instead
-
Deprecated MethodsMethodDescriptiondeprecated in favor for
JavaScriptException.getThrown()andJavaScriptException.isThrownSet()UseJsDate.getFullYear().UseJsDate.toUTCString().useButtonElement.isDisabled()instead.useButtonElement.setDisabled(boolean)insteadas of GWT2.1 (keydown events don't have a charCode), useDocument.createKeyDownEvent(boolean, boolean, boolean, boolean, int)com.google.gwt.dom.client.Document.createKeyPressEvent(boolean, boolean, boolean, boolean, int, int) as of GWT 2.1 (keypress events don't have a keyCode), useDocument.createKeyPressEvent(boolean, boolean, boolean, boolean, int)as of GWT 2.1 (keyup events don't have a charCode), useDocument.createKeyUpEvent(boolean, boolean, boolean, boolean, int)useLinkElement.isDisabled()instead.use getDeltaY() insteaduseOptGroupElement.isDisabled()instead.useSelectElement.isDisabled()instead.useStyleElement.isDisabled()insteaduseTextAreaElement.isDisabled()insteaduseTextAreaElement.isReadOnly()instead.use getNativeDeltaY() insteadPlease usegetHandlerCount.The behavior of changing symbol map after construction is undefined, please provide it in construction time. If the directory needs to be changed after construction, a new instance of this class can be instantiated with the different one.UseDataResource.getSafeUri()instead.UseImageResource.getSafeUri()instead.useResourceContext.deploy(URL, String, boolean)insteadThis method is intended only for use in APIs that useSafeUrito represent URIs, but for backwards compatibility have methods that accept URI parameters as plain strings.as of GWT 2.5, use aCellTableBuilderto customize the table structure insteadas of GWT 2.5, use aCellTableBuilderto customize the table structure insteaduseAbstractHasData.getVisibleItem(int)insteaduseAbstractHasData.getVisibleItems()insteadthis method is never called by AbstractHasData, render the selected styles inAbstractHasData.renderRowValues(SafeHtmlBuilder, List, int, SelectionModel)as of GWT 2.3, useCellList.getEmptyListWidget()insteadas of GWT 2.3, useCellList.setEmptyListWidget(com.google.gwt.user.client.ui.Widget)insteadthis method is never called by AbstractHasData, render the selected styles inCellList.renderRowValues(SafeHtmlBuilder, List, int, SelectionModel)As of release 1.4, replaced byDeferredCommand.addCommand(Command)with no replacement because the presence of this method causes arbitrary scheduling decisionsUse identity comparison.there is no "options" element; useDOM.createOption()insteadUseNativeEvent.getAltKey()instead.UseNativeEvent.getButton()instead.UseNativeEvent.getClientX()instead.UseNativeEvent.getClientY()instead.UseNativeEvent.getCtrlKey()instead.UseNativeEvent.getKeyCode()instead.UseNativeEvent.getMetaKey()instead.UseNativeEvent.getMouseWheelVelocityY()instead.not supported in any browser but IEUseNativeEvent.getScreenX()instead.UseNativeEvent.getScreenY()instead.UseNativeEvent.getShiftKey()instead.UseNativeEvent.getType()instead.UseNativeEvent.preventDefault()instead.this method only works in IE and should not have been added to the APIUseNativeEvent.getString()instead.UseElement.getAbsoluteLeft()instead.UseElement.getAbsoluteTop()instead.Use the more appropriately namedElement.getPropertyString(String)instead.Use the more appropriately namedElement.getPropertyBoolean(String)instead.UseElement.getAttribute(String)instead.Useinstead.invalid reference
Element#getProperty(String)UseElement.getPropertyBoolean(String)instead.UseElement.getPropertyInt(String)instead.UseElement.getInnerHTML()instead.UseElement.getInnerText()instead.Use the more appropriately namedElement.getPropertyInt(String)instead.UseElement.getStyle()andinstead.invalid reference
Style#getProperty(String)UseNode.isOrHasChild(Element)instead.UseNode.removeChild(Element)instead.UseElement.removeAttribute(String)instead.useHandlerRegistrationreturned fromEvent.addNativePreviewHandler(Event.NativePreviewHandler)UseElement.scrollIntoView()instead.Use the more appropriately namedElement.setPropertyString(String, String)instead.Use the more appropriately namedElement.setPropertyBoolean(String, boolean)instead.UseElement.setAttribute(String, String)instead.UseElement.setPropertyString(String, String)instead.UseElement.setPropertyBoolean(String, boolean)instead.UseElement.setPropertyInt(String, int)instead.UseElement.setInnerHTML(String)instead.UseElement.setInnerText(String)instead.Use the more appropriately namedElement.setPropertyInt(String, int)instead.UseElement.getStyle()andinstead.invalid reference
Style#setProperty(String, String)UseElement.getString()instead.As of GWT 1.5, replaced byWindow.getClientHeight()As of GWT 1.5, replaced byWindow.getClientWidth()useNativeEvent.stopPropagation()insteaduseNativeEvent.getCurrentEventTarget()insteaduseNativeEvent.getRelatedEventTarget()insteaduseNativeEvent.getRelatedEventTarget()insteadnot supported on all browsersuseNativeEvent.getEventTarget()insteaduseNativeEvent.getRelatedEventTarget()insteaduseHandlerRegistrationreturned fromEvent.addNativePreviewHandler(NativePreviewHandler)UseHistory.fireCurrentHistoryState()instead.UseAnchor.setDirectionEstimator(boolean)and / or pass explicit direction toAnchor.setText(java.lang.String),Anchor.setHTML(com.google.gwt.safehtml.shared.SafeHtml)insteadCall and overrideCellPanel.setCellHorizontalAlignment(Element, HorizontalAlignmentConstant)instead.Call and overrideCellPanel.setCellVerticalAlignment(Element, VerticalAlignmentConstant)instead.See the deprecation message on this interface for detailsUseCheckBox.getValue()insteadCall and useCheckBox.replaceInputElement(com.google.gwt.dom.client.Element)instead.UseCheckBox.setValue(Boolean)insteadCall and overrideComplexPanel.add(Widget, Element)instead.Call and overrideComplexPanel.insert(com.google.gwt.user.client.ui.Widget,com.google.gwt.dom.client.Element,int,boolean)instead.UseComposite.initWidget(Widget)insteadUseCloseHandlerinsteadUseOpenHandlerinsteadUse theHandlerRegistration.removeHandler()method on the object returned by an add*Handler method insteadAdd an open or close handler to the event source insteadUse theHandlerRegistration.removeHandler()method on the object returned by an add*Handler method insteadUse theHandlerRegistration.removeHandler()method on the object returned by an add*Handler method insteadAdd a selection handler insteadUse theHandlerRegistration.removeHandler()method on the object returned by an add*Handler method insteadUseFocusPanel.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)andFocusPanel.addMouseOutHandler(com.google.gwt.event.dom.client.MouseOutHandler)insteadUse theHandlerRegistration.removeHandler()method on the object returned byFocusPanel.addClickHandler(com.google.gwt.event.dom.client.ClickHandler)insteadUse theHandlerRegistration.removeHandler()method on the object returned byFocusPanel.addFocusHandler(com.google.gwt.event.dom.client.FocusHandler)insteadUse theHandlerRegistration.removeHandler()method on the object returned by an add*Handler method insteadUse theHandlerRegistration.removeHandler()method on the object returned by an add*Handler method insteadUse theHandlerRegistration.removeHandler()method on the object returned byFocusPanel.addMouseWheelHandler(com.google.gwt.event.dom.client.MouseWheelHandler)insteadUseFocusWidget.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)andFocusWidget.addMouseOutHandler(com.google.gwt.event.dom.client.MouseOutHandler)insteadUse theHandlerRegistration.removeHandler()method on the object returned byFocusWidget.addClickHandler(com.google.gwt.event.dom.client.ClickHandler)insteadUse theHandlerRegistration.removeHandler()method on the object returned byFocusWidget.addFocusHandler(com.google.gwt.event.dom.client.FocusHandler)insteadUse theHandlerRegistration.removeHandler()method on the object returned by an add*Handler method insteadUse theHandlerRegistration.removeHandler()method on the object returned by an add*Handler method insteadUse theHandlerRegistration.removeHandler()method on the object returned byFocusWidget.addMouseWheelHandler(com.google.gwt.event.dom.client.MouseWheelHandler)insteadUseFormPanel.SubmitHandlerinsteadUseFormPanel.SubmitCompleteHandlerinsteadFormPanelnow implements all handler management internallyFormPanelnow implements all handler management internallyUse theHandlerRegistration.removeHandler()method on the object returned by and add*Handler method insteadUseFormPanel.SubmitEvent.cancel()insteadadd a click handler instead and useHTMLTable.getCellForEvent(ClickEvent)to get the cell information (remember to check for a null return value)Call and overrideHTMLTable.getDOMCellCount(Element, int)instead.Call and overrideHTMLTable.getDOMRowCount(Element)instead.Call and overrideHTMLTable.internalClearCell(com.google.gwt.dom.client.Element,boolean)instead.Use theHandlerRegistration.removeHandler()method on the object returned by an add*Handler method insteadCall and overrideHTMLTable.RowFormatter.getRow(Element, int)instead.UseFocusWidget.addClickHandler(com.google.gwt.event.dom.client.ClickHandler)instead and call History.newItem from the handler if you need to process the click before the history token is set.UseFocusWidget.addClickHandler(com.google.gwt.event.dom.client.ClickHandler)instead and call History.newItem from the handler if you need to process the click before the history token is set.Use theHandlerRegistration.removeHandler()method on the object returned by an add*Handler method insteaduseLoadHandlerandErrorHandlerinsteadUseImage.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)andImage.addMouseOutHandler(com.google.gwt.event.dom.client.MouseOutHandler)insteadUse theHandlerRegistration.removeHandler()method on the object returned byImage.addClickHandler(com.google.gwt.event.dom.client.ClickHandler)insteadUse theHandlerRegistration.removeHandler()method on the object returned by an add*Handler method insteadUse theHandlerRegistration.removeHandler()method on the object returned by an add*Handler method insteadUse theHandlerRegistration.removeHandler()method on the object returned byImage.addMouseWheelHandler(com.google.gwt.event.dom.client.MouseWheelHandler)insteadUseLabel.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)andLabel.addMouseOutHandler(com.google.gwt.event.dom.client.MouseOutHandler)insteadUseLabel.getTextDirection()insteadUse theHandlerRegistration.removeHandler()method on the object returned byLabel.addClickHandler(com.google.gwt.event.dom.client.ClickHandler)insteadUse theHandlerRegistration.removeHandler()method on the object returned by an add*Handler method insteadUse theHandlerRegistration.removeHandler()method on the object returned byLabel.addMouseWheelHandler(com.google.gwt.event.dom.client.MouseWheelHandler)insteadUseLabelBase.setDirectionEstimator(boolean)and / or pass explicit direction toLabel.setText(java.lang.String)insteadUse theHandlerRegistration.removeHandler()method on the object returned byListBox.addChangeHandler(com.google.gwt.event.dom.client.ChangeHandler)insteadwill be removed in GWT 2.0 along with the listener classeswill be removed in GWT 2.0 along with the listener classeswill be removed in GWT 2.0 along with the listener classeswill be removed in GWT 2.0 along with the listener classeswill be removed in GWT 2.0 along with the listener classeswill be removed in GWT 2.0 along with the listener classeswill be removed in GWT 2.0 along with the listener classeswill be removed in GWT 2.0 along with the listener classeswill be removed in GWT 2.0 along with the listener classeswill be removed in GWT 2.0 along with the listener classeswill be removed in GWT 2.0 along with the listener classeswill be removed in GWT 2.0 along with the listener classeswill be removed in GWT 2.0 along with the listener classeswill be removed in GWT 2.0 along with the listener classeswill be removed in GWT 2.0 along with the listener classeswill be removed in GWT 2.0 along with the listener classeswill be removed in GWT 2.0 along with the listener classeswill be removed in GWT 2.0 along with the listener classeswill be removed in GWT 2.0 along with the listener classeswill be removed in GWT 2.0 along with the listener classeswill be removed in GWT 2.0 along with the listener classeswill be removed in GWT 2.0 along with the listener classesUseMenuBar.addCloseHandler(CloseHandler)insteaduseMenuItem.getScheduledCommand()insteaduseMenuItem.setScheduledCommand(ScheduledCommand)insteaduseMouseWheelEvent.getDeltaY()insteaduseMouseWheelEvent.isNorth()insteaduseMouseWheelEvent.isSouth()insteadUse theHandlerRegistration.removeHandler()method on the object returned byPopupPanel.addCloseHandler(com.google.gwt.event.logical.shared.CloseHandler<com.google.gwt.user.client.ui.PopupPanel>)insteaduseRichTextArea.getFormatter()insteaduseRichTextArea.getFormatter()insteadSimply removing all DOM elements can cause issues with other elements in the page.Instead, useWidget.removeFromParent().While originally introduced to combat memory leaks in old browsers, this is no longer necessary, and the unload event used by this method is being removed from browsers. Additionally, it is unreliable as a means to ensure calls toWidget.onUnload(). See Issue 9908 for more information.See notice onRootPanel.detachOnWindowClose(Widget)and Issue 9908 for more information.Use of the detach list requires the unload event, which is planned to be removed in future browser updates. See notice onRootPanel.detachOnWindowClose(Widget)and Issue 9908 for more information.as of GWT 2.3, replaced byScrollPanel.getVerticalScrollPosition()Use theHandlerRegistration.removeHandler()method on the object returned byScrollPanel.addScrollHandler(com.google.gwt.event.dom.client.ScrollHandler)insteadas of GWT 2.3, replaced byScrollPanel.setVerticalScrollPosition(int)UseSimpleCheckBox.getValue()insteadUseSimpleCheckBox.setValue(Boolean)insteaduse addChangeHandler or addValueChangeHandler insteadUse theHandlerRegistration.removeHandler()method on the object returned byHasChangeHandlers.addChangeHandler(com.google.gwt.event.dom.client.ChangeHandler)insteaduseaddClickHandlerinsteadUse theHandlerRegistration.removeHandler()method on the object returned byHasClickHandlers.addClickHandler(com.google.gwt.event.dom.client.ClickHandler)insteaduse addFocusHandler and addBlurHandler instead.Use theHandlerRegistration.removeHandler()method on the object returned byHasFocusHandlers.addFocusHandler(com.google.gwt.event.dom.client.FocusHandler)insteaduse addKeyPressHandler/addKeyDownKeyDownHandler/addKeyUpHandler insteadUse theHandlerRegistration.removeHandler()method on the object returned by an add*Handler method insteadUse theHandlerRegistration.removeHandler()method on the object returned byHasLoadHandlers.addLoadHandler(com.google.gwt.event.dom.client.LoadHandler)insteaduse add* methods ofHasAllMouseHandlersinsteadUse theHandlerRegistration.removeHandler()method on the object returned by an add*Handler method insteadUse theHandlerRegistration.removeHandler()method on the object returned byHasMouseWheelHandlers.addMouseWheelHandler(com.google.gwt.event.dom.client.MouseWheelHandler)insteadUse theHandlerRegistration.removeHandler()method on the object returned byHasCloseHandlers.addCloseHandler(com.google.gwt.event.logical.shared.CloseHandler<T>)insteadUse theHandlerRegistration.removeHandler()method on the object returned byHasScrollHandlers.addScrollHandler(com.google.gwt.event.dom.client.ScrollHandler)insteadUse theHandlerRegistration.removeHandler()method on the object returned by and add*Handler method insteadSee theinterface docinsteadUse theHandlerRegistration.removeHandler()method on the object returned by an add*Handler method insteadUse theHandlerRegistration.removeHandler()method on the object returned by an add*Handler method insteaduseSuggestBox.getTextBox()().addChangeHandler insteaduseSuggestBox.getTextBox()().addClickHandler insteaduseSuggestBox.getTextBox()().addFocusHandler/addBlurHandler() insteadin favour of getValueBoxUse theHandlerRegistration.removeHandler()method on the object returned bySuggestBox.getTextBox()().addChangeHandler insteadUse theHandlerRegistration.removeHandler()method on the object returned bySuggestBox.getTextBox()().addClickHandler insteadUse theHandlerRegistration.removeHandler()method no the object returned bySuggestBox.addSelectionHandler(com.google.gwt.event.logical.shared.SelectionHandler<com.google.gwt.user.client.ui.SuggestOracle.Suggestion>)insteadUse theHandlerRegistration.removeHandler()method on the object returned bySuggestBox.getTextBox()().addFocusListener insteadUse theHandlerRegistration.removeHandler()method on the object returned bySuggestBox.getTextBox()().add*Handler insteadimplemented in DefaultSuggestionDisplayimplemented in DefaultSuggestionDisplayimplemented in DefaultSuggestionDisplayadd aBeforeSelectionHandlerinstead. Alternatively, if you need to access to the individual tabs, add a click handler to eachTabBar.Tabelement instead.add a key down handler to the individualTabBar.Tabobjects instead.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.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.Instead use theHandlerRegistration.removeHandler()call on the object returned by an add*Handler methodUse theHandlerRegistration.removeHandler()method on the object returned by and add*Handler method insteadUseTree.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)andTree.addMouseOutHandler(com.google.gwt.event.dom.client.MouseOutHandler)insteadUseTree.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>), andTree.addCloseHandler(com.google.gwt.event.logical.shared.CloseHandler<com.google.gwt.user.client.ui.TreeItem>)insteadUse theHandlerRegistration.removeHandler()method on the object returned byTree.addFocusHandler(com.google.gwt.event.dom.client.FocusHandler)insteadUse theHandlerRegistration.removeHandler()method on the object returned by an add*Handler method insteadUse theHandlerRegistration.removeHandler()method on the object returned by an add*Handler method insteadUse theHandlerRegistration.removeHandler()method on the object returned by an add*Handler method insteaduseTreeItem.getFocusable()insteadUse and overrideUIObject.setElement(Element)instead.Use theHandlerRegistration.removeHandler()method on the object returned byValueBoxBase.addChangeHandler(com.google.gwt.event.dom.client.ChangeHandler)insteadthis method only works in IE and should not have been added to the APIThis method requires the use of theunloadbrowser event, which is deprecated in all browsers.useWindow.addResizeHandler(ResizeHandler)insteaduseWindow.addWindowScrollHandler(ScrollHandler)insteadAlways returns truewith no replacementuseValueCodex.decode(Class, Splittable)instead.required by legacy features in GWT's old HandlerManagerrequired by legacy features in GWT's old HandlerManagerrequired by legacy features in GWT's old HandlerManagerrequired by legacy features in GWT's old HandlerManagerPlease usegetHandlerCount.Users should switch toEditorDriver.setConstraintViolations(Iterable)UseReceiver.onConstraintViolation(Set)instead
-
Deprecated ConstructorsConstructorDescriptionuse
CheckboxCell(boolean, boolean)insteadthe value of a text input is never treated as htmlplease useCellBrowser.Builderplease useCellBrowser.BuilderUseButton(String, ClickHandler)insteadUseCustomButton(Image, ClickHandler)insteadUseCustomButton(Image, Image, ClickHandler)insteadUseCustomButton(String, ClickListener)insteadUseCustomButton(String, String, ClickHandler)insteadUseCloseEventandOpenEventinsteadreplaced byHorizontalSplitPanel(Resources)useListBox.setMultipleSelect(boolean)instead.replaced byMenuBar(boolean, Resources)replaced byMenuBar(Resources)UsePushButton(Image, ClickHandler)insteadUsePushButton(Image, Image, ClickHandler)insteadUsePushButton(String, ClickHandler)insteadUsePushButton(String, String, ClickHandler)insteadUseToggleButton(Image, ClickHandler)insteadUseToggleButton(Image, Image, ClickHandler)insteadUseToggleButton(String, ClickHandler)insteadreplaced byTree(Resources)replaced byTree(Resources, boolean)replaced byVerticalSplitPanel(Resources)This is a legacy feature, required by GWT's old HandlerManager. Reverse order is not honored for handlers tied to a specific event source (viaSimpleEventBus.addHandlerToSource(com.google.web.bindery.event.shared.Event.Type<H>, java.lang.Object, H).