Deprecated API


Contents
Deprecated Classes
org.apache.click.util.ActionListenerAdaptor
          ActionListener only has a single method to implement, there is no need for an adaptor 
 

Deprecated Fields
org.apache.click.control.Table.nullifyRowListOnDestroy
          stateful pages are not supported anymore, use stateful Controls instead 
org.apache.click.Page.stateful
          stateful pages are not supported anymore, use stateful Controls instead 
org.apache.click.control.AbstractControl.styles
          use AbstractControl.addStyleClass(String) and AbstractControl.removeStyleClass(String) instead. 
 

Deprecated Methods
org.apache.click.control.Table.addControl(Control)
          use Table.add(org.apache.click.Control) instead 
org.apache.click.control.Panel.addControl(Control)
          use AbstractContainer.add(org.apache.click.Control) instead 
org.apache.click.Control.getContext()
          getContext() is now obsolete on the Control interface, but will still be available on AbstractControl: AbstractControl.getContext() 
org.apache.click.Page.getHtmlImports()
          use the new Page.getHeadElements() instead 
org.apache.click.control.AbstractControl.getHtmlImports()
          use the new AbstractControl.getHeadElements() instead 
org.apache.click.control.Form.getJavaScriptValidation()
          use Form.isJavaScriptValidation() instead 
org.apache.click.control.Select.getMultipleValues()
          use Select.getSelectedValues() instead, this method will be removed in subsequent releases 
org.apache.click.Page.getPageImports()
          use the new Page.getHeadElements() instead 
org.apache.click.control.AbstractControl.getStyles()
          use AbstractControl.getAttribute(String) instead 
org.apache.click.control.AbstractControl.hasStyles()
          use AbstractControl.hasAttribute(String) instead 
org.apache.click.Page.isStateful()
          stateful pages are not supported anymore, use stateful Controls instead 
org.apache.click.control.Panel.removeControl(Control)
          use Panel.remove(org.apache.click.Control) instead 
org.apache.click.util.PageImports.renderAllIncludes(HtmlStringBuffer)
          rather use PageImports.renderHeadElements(org.apache.click.util.HtmlStringBuffer) and PageImports.renderJsElements(org.apache.click.util.HtmlStringBuffer) 
org.apache.click.control.OptionGroup.renderHTML(Select)
          use OptionGroup.render(org.apache.click.control.Select, org.apache.click.util.HtmlStringBuffer) instead 
org.apache.click.control.Option.renderHTML(Select)
          use Option.render(org.apache.click.control.Select, org.apache.click.util.HtmlStringBuffer) instead 
org.apache.click.control.Table.renderPagingControls(HtmlStringBuffer)
          use Table.renderPaginator(HtmlStringBuffer) instead, this method is provided to support backward compatibility older Click 1.4 customized tables. In these scenarios please override Table.renderPaginator(HtmlStringBuffer) method to invoke Table.renderTableBanner(HtmlStringBuffer) and Table.renderPagingControls(HtmlStringBuffer). 
org.apache.click.control.Table.renderTableBanner(HtmlStringBuffer)
          use Table.renderPaginator(HtmlStringBuffer) instead, this method is provided to support backward compatibility older Click 1.4 customized tables. In these scenarios please override Table.renderPaginator(HtmlStringBuffer) method to invoke Table.renderTableBanner(HtmlStringBuffer) and Table.renderPagingControls(HtmlStringBuffer). 
org.apache.click.util.ContainerUtils.replace(Container, Control, Control, int, Map)
          this method was used for stateful pages, which have been deprecated 
org.apache.click.control.Panel.replace(Control, Control)
          this method was used for stateful pages, which have been deprecated 
org.apache.click.control.Form.replace(Control, Control)
          this method was used for stateful pages, which have been deprecated 
org.apache.click.control.FieldSet.replace(Control, Control)
          this method was used for stateful pages, which have been deprecated 
org.apache.click.control.Container.replace(Control, Control)
          this method was used for stateful pages, which have been deprecated 
org.apache.click.control.AbstractContainer.replace(Control, Control)
          this method was used for stateful pages, which have been deprecated 
org.apache.click.Control.setListener(Object, String)
          this method is now obsolete on the Control interface, but will still be available on AbstractControl: AbstractControl.setListener(java.lang.Object, java.lang.String) 
org.apache.click.control.Select.setMultipleValues(List)
          use Select.getSelectedValues() instead, this method will be removed in subsequent releases 
org.apache.click.Page.setPageImports(PageImports)
          use the new Page.getHeadElements() instead 
org.apache.click.Page.setStateful(boolean)
          stateful pages are not supported anymore, use stateful Controls instead