org.primefaces.extensions.component.tristatecheckbox
Class TriStateCheckboxRenderer

java.lang.Object
  extended by javax.faces.render.Renderer
      extended by org.primefaces.renderkit.CoreRenderer
          extended by org.primefaces.renderkit.InputRenderer
              extended by org.primefaces.extensions.component.tristatecheckbox.TriStateCheckboxRenderer

public class TriStateCheckboxRenderer
extends org.primefaces.renderkit.InputRenderer

TriStateCheckboxRenderer

Since:
0.3
Version:
$Revision$
Author:
Mauricio Fenoglio / last modified by $Author$

Constructor Summary
TriStateCheckboxRenderer()
           
 
Method Summary
 void decode(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component)
           
 void encodeEnd(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component)
           
protected  void encodeInput(javax.faces.context.FacesContext context, TriStateCheckbox checkbox, java.lang.String clientId, int valCheck, boolean disabled)
           
protected  void encodeItemLabel(javax.faces.context.FacesContext context, TriStateCheckbox checkbox)
           
protected  void encodeMarkup(javax.faces.context.FacesContext context, TriStateCheckbox checkbox)
           
protected  void encodeOutput(javax.faces.context.FacesContext context, TriStateCheckbox checkbox, int valCheck, boolean disabled)
           
protected  void encodeScript(javax.faces.context.FacesContext context, TriStateCheckbox checkbox)
           
 
Methods inherited from class org.primefaces.renderkit.InputRenderer
coerceToModelType, createSelectItem, createSelectItem, findConverter, findImplicitConverter, getConvertedValue, getOptionAsString, getSelectItems, shouldDecode
 
Methods inherited from class org.primefaces.renderkit.CoreRenderer
buildAjaxRequest, buildNonAjaxRequest, decodeBehaviors, encodeClientBehaviors, encodeClientBehaviors, endScript, escapeText, getActionURL, getEscapedClientId, getOnclickBehaviors, getResourceRequestPath, getResourceURL, getWidgetBuilder, isAjaxRequest, isPostBack, isPostback, isValueBlank, isValueEmpty, renderChild, renderChildren, renderPassThruAttributes, renderPassThruAttributes, renderPassThruAttributes, shouldRenderAttribute, shouldWriteId, startScript
 
Methods inherited from class javax.faces.render.Renderer
convertClientId, encodeBegin, encodeChildren, getRendersChildren
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TriStateCheckboxRenderer

public TriStateCheckboxRenderer()
Method Detail

decode

public void decode(javax.faces.context.FacesContext context,
                   javax.faces.component.UIComponent component)
Overrides:
decode in class javax.faces.render.Renderer

encodeEnd

public void encodeEnd(javax.faces.context.FacesContext context,
                      javax.faces.component.UIComponent component)
               throws java.io.IOException
Overrides:
encodeEnd in class javax.faces.render.Renderer
Throws:
java.io.IOException

encodeMarkup

protected void encodeMarkup(javax.faces.context.FacesContext context,
                            TriStateCheckbox checkbox)
                     throws java.io.IOException
Throws:
java.io.IOException

encodeInput

protected void encodeInput(javax.faces.context.FacesContext context,
                           TriStateCheckbox checkbox,
                           java.lang.String clientId,
                           int valCheck,
                           boolean disabled)
                    throws java.io.IOException
Throws:
java.io.IOException

encodeOutput

protected void encodeOutput(javax.faces.context.FacesContext context,
                            TriStateCheckbox checkbox,
                            int valCheck,
                            boolean disabled)
                     throws java.io.IOException
Throws:
java.io.IOException

encodeItemLabel

protected void encodeItemLabel(javax.faces.context.FacesContext context,
                               TriStateCheckbox checkbox)
                        throws java.io.IOException
Throws:
java.io.IOException

encodeScript

protected void encodeScript(javax.faces.context.FacesContext context,
                            TriStateCheckbox checkbox)
                     throws java.io.IOException
Throws:
java.io.IOException


Copyright © 2011-2013. All Rights Reserved.