Deprecated API


Contents
Deprecated Interfaces
com.vaadin.client.ContainerResizedListener
          As of 7.0, serves no purpose. Use LayoutManager and its methods instead. 
com.vaadin.client.Paintable
           
 

Deprecated Classes
com.vaadin.client.ui.LegacyConnector
          This class is only intended to ease migration and should not be used for new projects. 
com.vaadin.client.ui.menubar.MenuBar
            
com.vaadin.client.ui.menubar.MenuItem
            
com.vaadin.client.ui.progressindicator.ProgressIndicatorConnector
          as of 7.1, use ProgressBarConnector combined with server push or UI polling. 
com.vaadin.client.SimpleTree
          as of 7.1. This class was mainly used by the old debug console but is retained for now for backwards compatibility. 
com.vaadin.client.UIDL.XML
          should not be used anymore 
com.vaadin.client.VConsole
          as of 7.1, use Logger from java.util.logging instead. 
com.vaadin.client.ui.VProgressIndicator
          as of 7.1, renamed to VProgressBar 
com.vaadin.client.ui.VTabsheet.PlaceHolder
          as of 7.1, VTabsheet only keeps the active tab in the DOM without any place holders. 
com.vaadin.client.VUIDLBrowser
          as of 7.1. This class was mainly used by the old debug console but is retained for now for backwards compatibility. 
 

Deprecated Fields
com.vaadin.client.ui.VLink.BORDER_STYLE_DEFAULT
           
com.vaadin.client.ui.VLink.BORDER_STYLE_MINIMAL
           
com.vaadin.client.ui.VLink.BORDER_STYLE_NONE
           
com.vaadin.client.ui.VFilterSelect.FILTERINGMODE_CONTAINS
           
com.vaadin.client.ui.VFilterSelect.FILTERINGMODE_OFF
           
com.vaadin.client.ui.VFilterSelect.FILTERINGMODE_STARTSWITH
           
com.vaadin.client.ui.VTree.MULTISELECT_MODE_DEFAULT
          As of 7.0, use MultiSelectMode.DEFAULT instead. 
com.vaadin.client.ui.VTree.MULTISELECT_MODE_SIMPLE
          As of 7.0, use MultiSelectMode.SIMPLE instead. 
com.vaadin.client.ui.VDateField.RESOLUTION_DAY
           
com.vaadin.client.ui.VDateField.RESOLUTION_HOUR
           
com.vaadin.client.ui.VDateField.RESOLUTION_MIN
           
com.vaadin.client.ui.VDateField.RESOLUTION_MONTH
           
com.vaadin.client.ui.VDateField.RESOLUTION_SEC
           
com.vaadin.client.ui.VDateField.RESOLUTION_YEAR
           
 

Deprecated Methods
com.vaadin.client.SimpleTree.add(Widget, com.google.gwt.user.client.Element)
          As of 7.2, call and override SimpleTree.add(Widget, Element) instead. 
com.vaadin.client.ui.calendar.schedule.DateCell.addEmphasisStyle(com.google.gwt.user.client.Element)
          As of 7.2, call or override DateCell.addEmphasisStyle(Element) instead 
com.vaadin.client.ui.orderedlayout.VAbstractOrderedLayout.addOrMoveSlot(Slot, int)
          since 7.1.4, use VAbstractOrderedLayout.addOrMoveSlot(Slot, int, boolean) 
com.vaadin.client.ApplicationConnection.analyzeLayouts()
          as of 7.1. Replaced by UIConnector.analyzeLayouts() 
com.vaadin.client.ApplicationConnection.captionSizeUpdated(Widget)
          As of 7.0.2, has not had any effect for a long time 
com.vaadin.client.ui.dd.VDragEvent.createDragImage(com.google.gwt.user.client.Element, boolean)
          As of 7.2, call or override VDragEvent.createDragImage(Element,boolean) instead 
com.vaadin.client.Util.equals(Object, Object)
          As of 7.1 use Object.equals(Object) instead 
com.vaadin.client.ui.VTabsheet.getApplicationConnection()
          since 7.2 - use more specific methods instead (getRpcProxy(), getConnectorForWidget(Widget) etc.) 
com.vaadin.client.ui.orderedlayout.VAbstractOrderedLayout.getCaptionPositionFromElement(com.google.gwt.user.client.Element)
          As of 7.2, call or override VAbstractOrderedLayout.getCaptionPositionFromElement(Element) instead 
com.vaadin.client.communication.StateChangeEvent.getChangedProperties()
          As of 7.0.1, use StateChangeEvent.hasPropertyChanged(String) instead for improved performance. 
com.vaadin.client.communication.StateChangeEvent.getChangedPropertiesFastSet()
          As of 7.0.1, use StateChangeEvent.hasPropertyChanged(String) instead for improved performance. 
com.vaadin.client.UIDL.getChildrenAsXML()
            
com.vaadin.client.ui.VGridLayout.getComponent(com.google.gwt.user.client.Element)
          As of 7.2, call or override VGridLayout.getComponent(Element) instead 
com.vaadin.client.ConnectorMap.getComponentConnectors()
          As of 7.0.1, use ConnectorMap.getComponentConnectorsAsJsArray() for better performance. 
com.vaadin.client.communication.Heartbeat.getConnection()
           
com.vaadin.client.ui.absolutelayout.AbsoluteLayoutConnector.getConnectorForElement(com.google.gwt.user.client.Element)
          As of 7.2, call or override AbsoluteLayoutConnector.getConnectorForElement(Element) instead 
com.vaadin.client.ConnectorMap.getConnectors()
          As of 7.0.1, use ConnectorMap.getConnectorsAsJsArray() for improved performance. 
com.vaadin.client.ui.layout.LayoutDependencyTree.getHorizontalLayoutTargets()
          As of 7.0.1, use LayoutDependencyTree.getHorizontalLayoutTargetsJsArray() for improved performance. 
com.vaadin.client.Util.getIEFocusedElement()
          Use #getFocusedElement instead 
com.vaadin.client.ui.layout.LayoutDependencyTree.getMeasureTargets()
          As of 7.0.1, use LayoutDependencyTree.getMeasureTargetsJsArray() for improved performance. 
com.vaadin.client.ui.VMenuBar.getMenuItemWithElement(com.google.gwt.user.client.Element)
          As of 7.2, call or override VMenuBar.getMenuItemWithElement(Element) instead 
com.vaadin.client.ui.VMenuBar.getNavigationSelectKey()
          use VMenuBar.isNavigationSelectKey(int) instead 
com.vaadin.client.ApplicationConnection.getPaintable(UIDL)
           
com.vaadin.client.componentlocator.ComponentLocator.getPathForElement(com.google.gwt.user.client.Element)
          As of 7.2, call and override ComponentLocator.getPathForElement(Element) instead 
com.vaadin.client.metadata.Type.getProperties()
          As of 7.0.1, use Type.getPropertiesAsArray() instead for improved performance 
com.vaadin.client.metadata.TypeDataStore.getProperties(Type)
          As of 7.0.1, use TypeDataStore.getPropertiesAsArray(Type) instead for improved performance 
com.vaadin.client.ui.orderedlayout.VAbstractOrderedLayout.getSlot(com.google.gwt.user.client.Element)
          As of 7.2, call or override VAbstractOrderedLayout.getSlot(Element) instead 
com.vaadin.client.ui.layout.LayoutDependencyTree.getVerticalLayoutTargets()
          As of 7.0.1, use LayoutDependencyTree.getVerticalLayoutTargetsJsArray() for improved performance. 
com.vaadin.client.ApplicationConnection.handleComponentRelativeSize(Widget)
          As of 7.0, serves no purpose 
com.vaadin.client.ApplicationConnection.hasEventListeners(ComponentConnector, String)
          As of 7.0. Use AbstractComponentState#hasEventListener(String) instead 
com.vaadin.client.ApplicationConnection.hasEventListeners(Widget, String)
          As of 7.0. Use AbstractConnector.hasEventListener(String) instead 
com.vaadin.client.ui.ui.UIConnector.hasSubWindow(WindowConnector)
          Should be replaced by a more generic mechanism for getting non-ComponentConnector children 
com.vaadin.client.ui.VDragAndDropWrapper.hookHtml5DragStart(com.google.gwt.user.client.Element)
          As of 7.2, call or override VDragAndDropWrapper.hookHtml5DragStart(Element) instead 
com.vaadin.client.ui.VDragAndDropWrapperIE.hookHtml5DragStart(com.google.gwt.user.client.Element)
           
com.vaadin.client.ui.VDragAndDropWrapper.hookHtml5Events(com.google.gwt.user.client.Element)
          As of 7.2, call or override VDragAndDropWrapper.hookHtml5Events(Element) instead 
com.vaadin.client.ui.VDragAndDropWrapperIE.hookHtml5Events(com.google.gwt.user.client.Element)
           
com.vaadin.client.ContainerResizedListener.iLayout()
          As of 7.0, this method is never called by the framework. 
com.vaadin.client.ui.orderedlayout.VAbstractOrderedLayout.insert(Widget, com.google.gwt.user.client.Element, int, boolean)
          As of 7.2, use or override VAbstractOrderedLayout.insert(Widget, Element, int, boolean) instead. 
com.vaadin.client.Util.isCached(UIDL)
           
com.vaadin.client.ApplicationConnection.isLoadingIndicatorVisible()
          As of 7.1. Use ApplicationConnection.getLoadingIndicator() and VLoadingIndicator.isVisible().isVisible() instead. 
com.vaadin.client.ComponentConnector.isReadOnly()
          This belongs in AbstractFieldConnector, see #8514 
com.vaadin.client.ui.AbstractComponentConnector.isReadOnly()
           
com.vaadin.client.ui.AbstractComponentConnector.isRealUpdate(UIDL)
           
com.vaadin.client.Util.notifyParentOfSizeChange(Widget, boolean)
          As of 7.0, use LayoutManager.setNeedsMeasure(ComponentConnector) instead 
com.vaadin.client.ComputedStyle.parseInt(String)
          Since 7.1.4, the method ComputedStyle.parseIntNative(String) is used internally and this method does not belong in the public API of ComputedStyle. ComputedStyle.parseInt(String) might be removed or moved to a utility class in future versions. 
com.vaadin.client.ui.calendar.schedule.DateCell.removeEmphasisStyle(com.google.gwt.user.client.Element)
          As of 7.2, call or override DateCell.removeEmphasisStyle(Element) instead 
com.vaadin.client.ApplicationConnection.runDescendentsLayout(HasWidgets)
          As of 7.0, serves no purpose 
com.vaadin.client.ApplicationConnection.scheduleHeartbeat()
          as of 7.2, use Heartbeat.schedule() instead 
com.vaadin.client.ApplicationConnection.sendHeartbeat()
          as of 7.2, use Heartbeat.send() instead 
com.vaadin.client.ui.orderedlayout.Slot.setCaption(String, String, List, String, boolean, boolean, boolean)
          Use Slot.setCaption(String, Icon, List, String, boolean, boolean, boolean) instead 
com.vaadin.client.ui.VCalendarPanel.FocusedDate.setDate(int)
           
com.vaadin.client.ui.dd.VDragEvent.setDragImage(com.google.gwt.user.client.Element)
          As of 7.2, call or override VDragEvent.setDragImage(Element) instead 
com.vaadin.client.ui.dd.VDragEvent.setDragImage(com.google.gwt.user.client.Element, int, int)
          As of 7.2, call or override VDragEvent.setDragImage(Element,int,int) instead 
com.vaadin.client.ui.dd.VDragEvent.setElementOver(com.google.gwt.user.client.Element)
          As of 7.2, call or override VDragEvent.setElementOver(Element) instead 
com.vaadin.client.ui.VCalendarPanel.FocusedDate.setMonth(int)
           
com.vaadin.client.ui.layout.LayoutDependencyTree.setNeedsHorizontalLayout(ManagedLayout, boolean)
          As of 7.0.1, use LayoutDependencyTree.setNeedsHorizontalLayout(String, boolean) for improved performance. 
com.vaadin.client.ui.layout.LayoutDependencyTree.setNeedsVerticalLayout(ManagedLayout, boolean)
          As of 7.0.1, use LayoutDependencyTree.setNeedsVerticalLayout(String, boolean) for improved performance. 
com.vaadin.client.ui.AbstractComponentConnector.setWidgetStyleNameWithPrefix(String, String, boolean)
          This will be removed once styles are no longer added with prefixes. 
com.vaadin.client.ui.VCalendarPanel.FocusedDate.setYear(int)
           
com.vaadin.client.VErrorMessage.showAt(com.google.gwt.user.client.Element)
          As of 7.2, call and override VErrorMessage.showAt(Element) instead 
com.vaadin.client.ApplicationConnection.unregisterPaintable(ServerConnector)
          As of 7.0. No longer serves any purpose. 
com.vaadin.client.ui.orderedlayout.VAbstractOrderedLayout.updateCaptionOffset(com.google.gwt.user.client.Element)
          As of 7.2, call or override VAbstractOrderedLayout.updateCaptionOffset(Element) instead 
com.vaadin.client.VCaption.updateCaptionWithoutOwner(String, boolean, boolean, boolean, String)
           
com.vaadin.client.VCaption.updateCaptionWithoutOwner(String, boolean, boolean, boolean, String, String)
           
com.vaadin.client.ApplicationConnection.updateComponent(Widget, UIDL, boolean)
          As of 7.0, no longer serves any purpose 
com.vaadin.client.ui.VOverlay.updateShadowSizeAndPosition()
          Call VOverlay.positionOrSizeUpdated() instead. 
com.vaadin.client.RenderInformation.updateSize(com.google.gwt.user.client.Element)
          As of 7.2, call and override RenderInformation.updateSize(Element) instead 
com.vaadin.client.ui.VUI.windowSizeMaybeChanged(int, int)
          use VUI.performSizeCheck() 
 

Deprecated Constructors
com.vaadin.client.communication.StateChangeEvent(ServerConnector, FastStringSet)
          As of 7.0.2, use StateChangeEvent.StateChangeEvent(ServerConnector, JSONObject, boolean) instead for improved performance. 
com.vaadin.client.communication.StateChangeEvent(ServerConnector, Set)
          As of 7.0.1, use StateChangeEvent.StateChangeEvent(ServerConnector, JSONObject, boolean) instead for improved performance. 
com.vaadin.client.ui.TouchScrollDelegate.TouchScrollHandler(Widget, Element...)
          Use GWT#create(Class) and TouchScrollDelegate.TouchScrollHandler.init(Widget, Element...) instead of this constructor to enable overriding. 
com.vaadin.client.VCaption(ApplicationConnection)
          all captions should be associated with a paintable widget and be updated from shared state, not UIDL 
com.vaadin.client.ui.VMenuBar.CustomMenuItem(String, Command)
          use the default constructor and VMenuBar.CustomMenuItem.setHTML(String) and VMenuBar.CustomMenuItem.setCommand(Command) instead 
com.vaadin.client.ui.VNotification(int)
          Use static #createNotification(int) instead to enable GWT deferred binding. 
com.vaadin.client.ui.VNotification(int, int, int)
          Use static #createNotification(int, int, int) instead to enable GWT deferred binding. 
 



Copyright © 2000-2014 Vaadin Ltd. All Rights Reserved.