|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.myfaces.html5.renderkit.input.delegate.HtmlTextInputSuggestionRendererHelper
public class HtmlTextInputSuggestionRendererHelper
Implementation of SuggestionRendererHelper for usage in HtmlInputTexts.
| Constructor Summary | |
|---|---|
HtmlTextInputSuggestionRendererHelper()
|
|
| Method Summary | |
|---|---|
void |
checkSuggestions(javax.faces.component.UIComponent uiComponent)
Check if suggestion conditions are OK. |
protected Collection<javax.faces.model.SelectItem> |
extractSelectItemsCollectionFromObject(Object objSuggestions)
|
protected List<javax.faces.model.SelectItem> |
getSelectItemsList(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent component)
|
void |
renderDataList(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent component)
Renders the datalist. |
protected void |
renderDataListBegin(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent component)
|
protected void |
renderDataListEnd(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent component)
|
protected void |
renderDataListOptions(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent component,
javax.faces.convert.Converter converter)
|
protected void |
renderOptionsFromSelectItemsCollection(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent component,
Collection<javax.faces.model.SelectItem> selectItemsCollection,
javax.faces.convert.Converter converter)
|
protected void |
renderOptionsOfChildren(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent component,
javax.faces.convert.Converter converter)
|
protected void |
renderOptionsOfSuggestionsAttr(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent uiComponent,
javax.faces.convert.Converter converter)
|
boolean |
shouldGenerateDatalist(javax.faces.component.UIComponent uiComponent)
Returns true if a datalist should be generated for given component. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HtmlTextInputSuggestionRendererHelper()
| Method Detail |
|---|
public void checkSuggestions(javax.faces.component.UIComponent uiComponent)
SuggestionRendererHelper
checkSuggestions in interface SuggestionRendererHelperpublic boolean shouldGenerateDatalist(javax.faces.component.UIComponent uiComponent)
SuggestionRendererHelper
shouldGenerateDatalist in interface SuggestionRendererHelper
public void renderDataList(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent component)
throws IOException
SuggestionRendererHelperImplementations of this method should not render any other markup.
renderDataList in interface SuggestionRendererHelperIOException
protected void renderDataListBegin(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent component)
throws IOException
IOException
protected void renderDataListOptions(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent component,
javax.faces.convert.Converter converter)
throws IOException
IOException
protected void renderDataListEnd(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent component)
throws IOException
IOException
protected void renderOptionsOfSuggestionsAttr(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent uiComponent,
javax.faces.convert.Converter converter)
throws IOException
IOExceptionprotected Collection<javax.faces.model.SelectItem> extractSelectItemsCollectionFromObject(Object objSuggestions)
protected void renderOptionsOfChildren(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent component,
javax.faces.convert.Converter converter)
throws IOException
IOException
protected void renderOptionsFromSelectItemsCollection(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent component,
Collection<javax.faces.model.SelectItem> selectItemsCollection,
javax.faces.convert.Converter converter)
throws IOException
IOException
protected List<javax.faces.model.SelectItem> getSelectItemsList(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent component)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||