|
||||||||||
| 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
org.apache.myfaces.html5.renderkit.input.delegate.HtmlDataListSuggestionRendererHelper
public class HtmlDataListSuggestionRendererHelper
Implementation of SuggestionRendererHelper for usage in HtmlDataLists.
| Constructor Summary | |
|---|---|
HtmlDataListSuggestionRendererHelper()
|
|
| Method Summary | |
|---|---|
void |
checkSuggestions(javax.faces.component.UIComponent uiComponent)
Check if suggestion conditions are OK. |
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 |
renderDataListOptions(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent component,
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 org.apache.myfaces.html5.renderkit.input.delegate.HtmlTextInputSuggestionRendererHelper |
|---|
extractSelectItemsCollectionFromObject, getSelectItemsList, renderDataListEnd, renderOptionsFromSelectItemsCollection |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HtmlDataListSuggestionRendererHelper()
| Method Detail |
|---|
public boolean shouldGenerateDatalist(javax.faces.component.UIComponent uiComponent)
SuggestionRendererHelper
shouldGenerateDatalist in interface SuggestionRendererHelpershouldGenerateDatalist in class HtmlTextInputSuggestionRendererHelperpublic void checkSuggestions(javax.faces.component.UIComponent uiComponent)
SuggestionRendererHelper
checkSuggestions in interface SuggestionRendererHelpercheckSuggestions in class HtmlTextInputSuggestionRendererHelper
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 SuggestionRendererHelperrenderDataList in class HtmlTextInputSuggestionRendererHelperIOException
protected void renderDataListBegin(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent component)
throws IOException
renderDataListBegin in class HtmlTextInputSuggestionRendererHelperIOException
protected void renderDataListOptions(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent component,
javax.faces.convert.Converter converter)
throws IOException
renderDataListOptions in class HtmlTextInputSuggestionRendererHelperIOException
protected void renderOptionsOfSuggestionsAttr(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent uiComponent,
javax.faces.convert.Converter converter)
throws IOException
renderOptionsOfSuggestionsAttr in class HtmlTextInputSuggestionRendererHelperIOException
protected void renderOptionsOfChildren(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent component,
javax.faces.convert.Converter converter)
throws IOException
renderOptionsOfChildren in class HtmlTextInputSuggestionRendererHelperIOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||