|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.hivemind.impl.BaseLocatable org.apache.tapestry.AbstractComponent org.apache.tapestry.BaseComponent org.apache.tapestry.AbstractPage org.apache.tapestry.html.BasePage net.sf.tacos.demo.pages.ajax.AutocompleteExample
public abstract class AutocompleteExample
Provides example of using an autocompleteing text field.
Constructor Summary | |
---|---|
AutocompleteExample()
|
Method Summary | |
---|---|
ListItemRenderer |
getListRenderer()
The renderer |
abstract Collection |
getLocaleList()
Set by invocation of searchCountries(String) |
abstract String |
getNoteValue()
form note value |
abstract Collection |
getSearchList()
Set by invocation of searchCountries(String) |
List |
getTags()
Tags from which to autocomplete. |
void |
searchCountries(String search)
Invoked by ajax request to perform autocomplete search. |
void |
searchCountries(String search,
String suffix)
Invoked by ajax request to perform autocomplete search, and appends a suffix. |
abstract void |
setLocaleList(Collection values)
Sets the search list return |
abstract void |
setSearchList(Collection values)
Sets the search list return |
void |
storeNote(org.apache.tapestry.IRequestCycle cycle)
Stores a new note |
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, getComponents, getContainedComponent, getContainer, getId, getListeners, getMessage, getMessages, getNamespace, getPage, getProperty, getSpecification, isInActiveState, isParameterBound, isRendering, pageEndRender, prepareForRender, render, renderBody, renderInformalParameters, setBinding, setContainedComponent, 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, getComponents, getContainedComponent, getContainer, getId, getListeners, getMessage, getMessages, getNamespace, getPage, getProperty, getSpecification, isRendering, renderBody, setBinding, setContainedComponent, 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 |
---|
public AutocompleteExample()
Method Detail |
---|
public ListItemRenderer getListRenderer()
public void storeNote(org.apache.tapestry.IRequestCycle cycle)
cycle
- public void searchCountries(String search)
search
- The value to search onpublic void searchCountries(String search, String suffix)
search
- The value to search onsuffix
- The suffix to appendpublic List getTags()
public abstract Collection getSearchList()
searchCountries(String)
public abstract void setSearchList(Collection values)
public abstract Collection getLocaleList()
searchCountries(String)
public abstract void setLocaleList(Collection values)
public abstract String getNoteValue()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |