net.sf.tacos.demo.partial
Class FormEffects

java.lang.Object
  extended byorg.apache.hivemind.impl.BaseLocatable
      extended byorg.apache.tapestry.AbstractComponent
          extended byorg.apache.tapestry.BaseComponent
              extended byorg.apache.tapestry.AbstractPage
                  extended byorg.apache.tapestry.html.BasePage
                      extended bynet.sf.tacos.demo.partial.FormEffects
All Implemented Interfaces:
IComponent, IPage, IRender, ITemplateComponent, org.apache.hivemind.Locatable, org.apache.hivemind.LocationHolder

public abstract class FormEffects
extends BasePage

Demonstrates a combination of effects now possible.

Author:
jkuhnert

Constructor Summary
FormEffects()
           
 
Method Summary
 void chooseCountry(IRequestCycle cycle)
          Invoked by form
 void chooseRegion(IRequestCycle cycle)
          Does nothing
 void clearCountry(IRequestCycle cycle)
          Invoked to clear the chosen country.
 ListItemRenderer getListRenderer()
           
abstract  Collection getLocaleList()
          Set by invocation of searchCountries(String)
abstract  Collection getSearchList()
          Set by invocation of searchCountries(String)
 void searchCountries(String search)
          Invoked by ajax request to perform autocomplete search.
abstract  void setCountry(Locale country)
          Sets the chosen country
abstract  void setLocaleList(Collection values)
          Sets the search list return
abstract  void setSearchList(Collection values)
          Sets the search list return
 
Methods inherited from class org.apache.tapestry.html.BasePage
getResponseContentType
 
Methods inherited from class org.apache.tapestry.AbstractPage
addPageAttachListener, addPageBeginRenderListener, addPageDetachListener, addPageEndRenderListener, addPageRenderListener, addPageValidateListener, attach, beginPageRender, beginResponse, detach, endPageRender, firePageAttached, firePageBeginRender, firePageDetached, firePageEndRender, firePageValidate, getChangeObserver, getEngine, getExtendedId, getGlobal, getIdPath, getLocale, getNestedComponent, getOutputEncoding, getPageName, getRequestCycle, getVisit, initialize, removePageAttachListener, removePageBeginRenderListener, removePageDetachListener, removePageEndRenderListener, removePageRenderListener, removePageValidateListener, renderPage, setChangeObserver, setLocale, setPageName, validate
 
Methods inherited from class org.apache.tapestry.BaseComponent
addOuter, finishLoad, renderComponent
 
Methods inherited from class org.apache.tapestry.AbstractComponent
addAsset, addBody, addComponent, checkActiveLock, cleanupAfterRender, enterActiveState, finishLoad, format, format, format, format, getAsset, getAssets, getBeans, getBinding, getBindingNames, getBindings, getBody, getBodyCount, getComponent, getComponent, getComponents, getContainer, getId, getListeners, getMessage, getMessages, getNamespace, getPage, getProperty, getSpecification, isInActiveState, isParameterBound, isRendering, pageEndRender, prepareForRender, render, renderBody, renderInformalParameters, setBinding, setContainer, setId, setNamespace, setPage, setProperty, toString
 
Methods inherited from class org.apache.hivemind.impl.BaseLocatable
getLocation, setLocation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.apache.tapestry.IComponent
addAsset, addBody, addComponent, enterActiveState, finishLoad, getAsset, getAssets, getBeans, getBinding, getBindingNames, getBindings, getComponent, getComponent, getComponents, getContainer, getId, getListeners, getMessage, getMessages, getNamespace, getPage, getProperty, getSpecification, isRendering, renderBody, setBinding, setContainer, setId, setNamespace, setPage, setProperty
 
Methods inherited from interface org.apache.tapestry.IRender
render
 
Methods inherited from interface org.apache.hivemind.LocationHolder
setLocation
 
Methods inherited from interface org.apache.hivemind.Locatable
getLocation
 

Constructor Detail

FormEffects

public FormEffects()
Method Detail

getListRenderer

public ListItemRenderer getListRenderer()

searchCountries

public void searchCountries(String search)
Invoked by ajax request to perform autocomplete search.

Parameters:
search - The value to search on

chooseCountry

public void chooseCountry(IRequestCycle cycle)
Invoked by form

Parameters:
cycle -

clearCountry

public void clearCountry(IRequestCycle cycle)
Invoked to clear the chosen country.

Parameters:
cycle -

chooseRegion

public void chooseRegion(IRequestCycle cycle)
Does nothing

Parameters:
cycle -

getSearchList

public abstract Collection getSearchList()
Set by invocation of searchCountries(String)


setSearchList

public abstract void setSearchList(Collection values)
Sets the search list return


getLocaleList

public abstract Collection getLocaleList()
Set by invocation of searchCountries(String)


setLocaleList

public abstract void setLocaleList(Collection values)
Sets the search list return


setCountry

public abstract void setCountry(Locale country)
Sets the chosen country