org.apache.myfaces.html5.renderkit.input
Class HtmlInputColorRenderer

java.lang.Object
  extended by javax.faces.render.Renderer
      extended by org.apache.myfaces.html5.renderkit.input.Html5BaseInputTextRenderer
          extended by org.apache.myfaces.html5.renderkit.input.HtmlInputColorRenderer

@JSFRenderer(renderKitId="HTML_BASIC",
             family="javax.faces.Input",
             type="org.apache.myfaces.html5.Color")
public class HtmlInputColorRenderer
extends Html5BaseInputTextRenderer

Renderer for < hx:inputColor > component.

Author:
Ali Ok

Constructor Summary
HtmlInputColorRenderer()
           
 
Method Summary
protected  Class<? extends javax.faces.component.html.HtmlInputText> getComponentClass()
          Component class to check the type of rendered component.
 Object getConvertedValue(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent uiComponent, Object submittedValue)
           
protected  Map<String,String> getExtraPassThroughAttributes()
          Returns pass through attributes that are not present in HtmlInputText Child component classes can override this method to modify pass through attributes, which are rendered at Html5BaseInputTextRenderer.renderInputBegin(FacesContext, UIComponent)
protected  String getInputHtmlType(Html5BaseInputText component)
          Returns the HTML type attribute of HTML input element, which is being rendered.
 SuggestionRendererHelper getSuggestionRendererHelper(Html5BaseInputText component)
          Returns the SuggestionRendererHelper instance, to render suggestion related markup.
 
Methods inherited from class org.apache.myfaces.html5.renderkit.input.Html5BaseInputTextRenderer
encodeEnd, getRendersChildren, renderInput, renderInputBegin, renderInputEnd, renderPassThruAttrsAndEvents
 
Methods inherited from class javax.faces.render.Renderer
convertClientId, decode, encodeBegin, encodeChildren
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HtmlInputColorRenderer

public HtmlInputColorRenderer()
Method Detail

getConvertedValue

public Object getConvertedValue(javax.faces.context.FacesContext facesContext,
                                javax.faces.component.UIComponent uiComponent,
                                Object submittedValue)
                         throws javax.faces.convert.ConverterException
Overrides:
getConvertedValue in class javax.faces.render.Renderer
Throws:
javax.faces.convert.ConverterException

getExtraPassThroughAttributes

protected Map<String,String> getExtraPassThroughAttributes()
Description copied from class: Html5BaseInputTextRenderer
Returns pass through attributes that are not present in HtmlInputText Child component classes can override this method to modify pass through attributes, which are rendered at Html5BaseInputTextRenderer.renderInputBegin(FacesContext, UIComponent)

Specified by:
getExtraPassThroughAttributes in class Html5BaseInputTextRenderer

getInputHtmlType

protected String getInputHtmlType(Html5BaseInputText component)
Description copied from class: Html5BaseInputTextRenderer
Returns the HTML type attribute of HTML input element, which is being rendered.

Specified by:
getInputHtmlType in class Html5BaseInputTextRenderer

getComponentClass

protected Class<? extends javax.faces.component.html.HtmlInputText> getComponentClass()
Description copied from class: Html5BaseInputTextRenderer
Component class to check the type of rendered component.

Specified by:
getComponentClass in class Html5BaseInputTextRenderer

getSuggestionRendererHelper

public SuggestionRendererHelper getSuggestionRendererHelper(Html5BaseInputText component)
Description copied from class: Html5BaseInputTextRenderer
Returns the SuggestionRendererHelper instance, to render suggestion related markup.

Specified by:
getSuggestionRendererHelper in class Html5BaseInputTextRenderer


Copyright © 2011 The Apache Software Foundation. All Rights Reserved.