Deprecated API


Contents
Deprecated Enums
com.smartgwt.client.types.TimeDisplayFormat
          Use DateDisplayFormatter instead 
com.smartgwt.client.types.TimeFormatter
          Use DateDisplayFormatter instead 
 

Deprecated Methods
com.smartgwt.client.widgets.grid.ListGrid.closeRecord(ListGridRecord)
          use ListGrid.setCanExpandRecords(Boolean) with ListGrid.setExpansionMode(com.smartgwt.client.types.ExpansionMode), or override ListGrid.getExpansionComponent(ListGridRecord) 
com.smartgwt.client.widgets.layout.PortalLayout.getCanResizeRows()
          Use canResizePortlets instead. 
com.smartgwt.client.widgets.form.DynamicForm.getCellSpacing()
          use DynamicForm.getCellPadding() instead 
com.smartgwt.client.data.RequestTransformer.getDefaultTransformResponse(DSRequest)
          use RequestTransformer.getDefaultTransformRequest(DSRequest) instead 
com.smartgwt.client.util.EnumUtil.getEnums(TYPE[], String[])
          use {EnumUtil.getEnums(ValueEnum[], String[], ValueEnum[]) method 
com.smartgwt.client.widgets.form.events.SubmitValuesEvent.getForm()
          Use GwtEvent.getSource() to determine the source of this event (could be a DynamicForm or ValuesManager 
com.smartgwt.client.widgets.grid.ListGrid.getSelection()
          use ListGrid.getSelectedRecords() instead 
com.smartgwt.client.widgets.grid.ListGrid.getSelection(boolean)
          use ListGrid.getSelectedRecords(boolean) instead 
com.smartgwt.client.widgets.grid.ListGridField.getSummaryTitle()
          Rather than customizing the summaryTitle developers should typically use the headerTitle attribute to show a different title in the column header button than the title used elsewhere. 
com.smartgwt.client.widgets.grid.ListGrid.openRecordDetailGrid(ListGridRecord, DataSource)
          use ListGrid.setCanExpandRecords(Boolean) with ListGrid.setExpansionMode(com.smartgwt.client.types.ExpansionMode), or override ListGrid.getExpansionComponent(ListGridRecord) 
com.smartgwt.client.widgets.grid.ListGrid.openRecordEditor(ListGridRecord)
          use ListGrid.setCanExpandRecords(Boolean) with ListGrid.setExpansionMode(com.smartgwt.client.types.ExpansionMode), or override ListGrid.getExpansionComponent(ListGridRecord) 
com.smartgwt.client.widgets.layout.PortalLayout.setCanResizeRows(Boolean)
          Use canResizePortlets instead. 
com.smartgwt.client.widgets.form.DynamicForm.setCellSpacing(int)
          use DynamicForm.setCellPadding(int) instead 
com.smartgwt.client.util.DateUtil.setDateInputFormatter(DateInputFormatter)
          in favor of setDateParser() 
com.smartgwt.client.widgets.form.fields.TimeItem.setDisplayFormat(TimeFormatter)
          Use TimeItem.setDisplayFormat(TimeDisplayFormat) instead. 
com.smartgwt.client.util.DateUtil.setNormalDateDisplayFormat(DateDisplayFormat)
          This method is deprecated in favor of DateUtil.setNormalDateDisplayFormatter(DateDisplayFormatter). 
com.smartgwt.client.widgets.form.fields.SelectItem.setPickListFilterCriteriaFunction(FilterCriteriaFunction)
          in favor of SelectItem.setPickListFilterCriteriaFunction(FormItemCriteriaFunction) 
com.smartgwt.client.widgets.form.fields.ComboBoxItem.setPickListFilterCriteriaFunction(FilterCriteriaFunction)
          in favor of ComboBoxItem.setPickListFilterCriteriaFunction(FormItemCriteriaFunction) 
com.smartgwt.client.widgets.Canvas.setResizeFrom(String...)
          use #setResizeFrom(EdgeName) instead. 
com.smartgwt.client.util.DateUtil.setShortDateDisplayFormat(DateDisplayFormat)
          This method is deprecated in favor of DateUtil.setShortDateDisplayFormatter(DateDisplayFormatter). 
com.smartgwt.client.util.DateUtil.setShortDatetimeDisplayFormat(DateDisplayFormat)
          This method is deprecated in favor of DateUtil.setShortDatetimeDisplayFormatter(DateDisplayFormatter). 
com.smartgwt.client.widgets.grid.ListGridField.setSummaryTitle(String)
          Rather than customizing the summaryTitle developers should typically use the headerTitle attribute to show a different title in the column header button than the title used elsewhere. 
com.smartgwt.client.widgets.calendar.Calendar.setTimeFormatter(TimeFormatter)
          use Calendar.setTimeFormatter(TimeDisplayFormat) instead. 
com.smartgwt.client.data.DataSourceField.setType(DataSource)
          use #setTypeAsDataSource