org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.table
Class TableSelectOneRenderer.Radio

java.lang.Object
  extended by javax.faces.render.Renderer
      extended by org.apache.myfaces.trinidad.render.CoreRenderer
          extended by org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.XhtmlRenderer
              extended by org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.ValueRenderer
                  extended by org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.EditableValueRenderer
                      extended by org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.FormElementRenderer
                          extended by org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.FormInputRenderer
                              extended by org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.SimpleSelectBooleanRenderer
                                  extended by org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.SimpleSelectBooleanCheckboxRenderer
                                      extended by org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.table.TableSelectOneRenderer.Radio
All Implemented Interfaces:
java.lang.Cloneable, org.apache.myfaces.trinidad.render.TypedRenderer
Enclosing class:
TableSelectOneRenderer

public static class TableSelectOneRenderer.Radio
extends SimpleSelectBooleanCheckboxRenderer


Field Summary
 
Fields inherited from class org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.XhtmlRenderer
TRANSPARENT_GIF
 
Fields inherited from class org.apache.myfaces.trinidad.render.CoreRenderer
CHAR_UNDEFINED, NO_CHILD_INDEX
 
Constructor Summary
TableSelectOneRenderer.Radio(org.apache.myfaces.trinidad.bean.FacesBean.Type type)
           
 
Method Summary
protected  char getAccessKey(javax.faces.component.UIComponent component, org.apache.myfaces.trinidad.bean.FacesBean bean)
           
protected  java.lang.String getClientId(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component)
           
protected  java.lang.String getCompositeId(java.lang.String clientId)
           
protected  java.lang.String getContentStyleClass(javax.faces.component.UIComponent component, org.apache.myfaces.trinidad.bean.FacesBean bean)
          don't render a special content style class on the radio.
protected  java.lang.String getDefaultShortDescKey()
           
protected  boolean getDisabled(javax.faces.component.UIComponent component, org.apache.myfaces.trinidad.bean.FacesBean bean)
           
protected  java.lang.String getOnblur(javax.faces.component.UIComponent component, org.apache.myfaces.trinidad.bean.FacesBean bean)
           
protected  java.lang.String getOnchange(javax.faces.component.UIComponent component, org.apache.myfaces.trinidad.bean.FacesBean bean)
           
protected  java.lang.String getOnfocus(javax.faces.component.UIComponent component, org.apache.myfaces.trinidad.bean.FacesBean bean)
           
protected  java.lang.String getOnselect(javax.faces.component.UIComponent component, org.apache.myfaces.trinidad.bean.FacesBean bean)
           
protected  boolean getReadOnly(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component, org.apache.myfaces.trinidad.bean.FacesBean bean)
           
protected  boolean getRenderSimpleSpan(javax.faces.component.UIComponent component, org.apache.myfaces.trinidad.bean.FacesBean bean)
          we do not want to render the simple span for the checkbox.
protected  java.lang.String getShortDesc(javax.faces.component.UIComponent component, org.apache.myfaces.trinidad.bean.FacesBean bean)
           
protected  java.lang.Object getSubmittedValue(javax.faces.component.UIComponent component, org.apache.myfaces.trinidad.bean.FacesBean bean)
           
protected  java.lang.String getText(javax.faces.component.UIComponent component, org.apache.myfaces.trinidad.bean.FacesBean bean)
           
protected  java.lang.Object getType()
           
protected  java.lang.Object getValueAttr(org.apache.myfaces.trinidad.context.RenderingContext rc)
           
protected  boolean isImmediate(javax.faces.component.UIComponent component, org.apache.myfaces.trinidad.bean.FacesBean bean)
           
protected  void renderId(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component)
          Render the client ID as both an "id" and a "name"
 
Methods inherited from class org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.SimpleSelectBooleanCheckboxRenderer
getIconAltTextName, getIconName, getOnclick, getRootStyleClass, getSubmittedValue
 
Methods inherited from class org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.SimpleSelectBooleanRenderer
encodeAllAsElement, encodeAllAsNonElement, findTypeConstants, getAutoSubmitScript, isRadio, renderAccessKeyAttribute, renderInputEventHandlers, renderNameAttribute, renderSpanEventHandlers, renderText
 
Methods inherited from class org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.FormInputRenderer
getShowRequired, getSimple, renderAllAttributes, renderDisabledAttribute, renderRootDomElementStyles, shouldRenderName
 
Methods inherited from class org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.FormElementRenderer
detectAutoSubmit, encodeAll, getContentStyle, getDefaultStyleClass, getHiddenLabel, getLabel, getRendersChildren, isAutoSubmit, isHiddenLabelRequired, renderAsElement, renderEventHandlers, renderFormEventHandlers, renderNonElementContent, renderReadOnlyAsElement, renderShortDescAsHiddenLabel
 
Methods inherited from class org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.EditableValueRenderer
addOnSubmitConverterValidators, decode, getConvertedString, getConvertedValue, getRequired, getRequiredMessageKey, getValidators, shouldRenderId, wasSubmitted
 
Methods inherited from class org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.ValueRenderer
getConverter, getDefaultConverter, getValue, getValueExpression
 
Methods inherited from class org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.XhtmlRenderer
canSkipRendering, canSkipRendering, cloneWithType, getAbsoluteImageUri, getBaseImageUri, getInlineStyle, getOndblclick, getOnkeydown, getOnkeypress, getOnkeyup, getOnmousedown, getOnmousemove, getOnmouseout, getOnmouseover, getOnmouseup, getPartialTriggers, getStyleClass, renderAllAttributes, renderDecorativeIcon, renderDecorativeIcon, renderFormattedText, renderHAlign, renderInlineStyle, renderInlineStyleAttribute, renderPossiblyFormattedText, renderScriptDeferAttribute, renderScriptTypeAttribute, renderShortDescAttribute, renderSpacer, renderStyleAttributes, renderStyleAttributes, renderSubmitButtonNonJSBrowser, renderTransparent, renderVerticalSpacer, resolveProperty, resolveProperty, skipDecode, supportsAccessKeys, supportsAdvancedForms, supportsAutoCompleteFormElements, supportsDisabledFormElements, supportsEditing, supportsIntrinsicEvents, supportsNarrowScreen, supportsNavigation, supportsOnClickOnImgInput, supportsReadonlyFormElements, supportsScripting, supportsSeparateWindow, supportsStyleAttributes, supportsTarget, supportsTextPresentation
 
Methods inherited from class org.apache.myfaces.trinidad.render.CoreRenderer
afterEncode, beforeEncode, decode, decodeBehaviors, delegateRenderer, delegateRendererBegin, delegateRendererEnd, encodeAllChildren, encodeBegin, encodeBegin, encodeChild, encodeChildren, encodeComponentResources, encodeEnd, encodeEnd, getBehaviorParameters, getFacesBean, getFacet, getNextRenderedChildIndex, getRenderedChildCount, getRenderedFacetsAndChildren, getRenderingProperty, hasRenderedChildren, isDesktop, isGecko, isGenericPDA, isIE, isInaccessibleMode, isIPhone, isKonqueror, isNokiaS60, isOpera, isPDA, isScreenReaderMode, isWebKit, partialEncodeVisit, renderEncodedActionURI, renderEncodedResourceURI, renderStyleClass, renderStyleClasses, setRenderingProperty, setupChildrenEncodingContext, setupEncodingContext, setupEncodingContext, tearDownChildrenEncodingContext, tearDownEncodingContext, tearDownEncodingContext, toActionUri, toChar, toInt, toLong, toResourceUri, toString, toUri, visitChildrenForEncoding
 
Methods inherited from class javax.faces.render.Renderer
convertClientId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TableSelectOneRenderer.Radio

public TableSelectOneRenderer.Radio(org.apache.myfaces.trinidad.bean.FacesBean.Type type)
Method Detail

getCompositeId

protected java.lang.String getCompositeId(java.lang.String clientId)
Overrides:
getCompositeId in class SimpleSelectBooleanRenderer

getRenderSimpleSpan

protected boolean getRenderSimpleSpan(javax.faces.component.UIComponent component,
                                      org.apache.myfaces.trinidad.bean.FacesBean bean)
we do not want to render the simple span for the checkbox.

Overrides:
getRenderSimpleSpan in class SimpleSelectBooleanRenderer

getContentStyleClass

protected java.lang.String getContentStyleClass(javax.faces.component.UIComponent component,
                                                org.apache.myfaces.trinidad.bean.FacesBean bean)
don't render a special content style class on the radio.

Overrides:
getContentStyleClass in class SimpleSelectBooleanCheckboxRenderer

renderId

protected void renderId(javax.faces.context.FacesContext context,
                        javax.faces.component.UIComponent component)
                 throws java.io.IOException
Description copied from class: FormInputRenderer
Render the client ID as both an "id" and a "name"

Overrides:
renderId in class FormInputRenderer
Throws:
java.io.IOException

getClientId

protected java.lang.String getClientId(javax.faces.context.FacesContext context,
                                       javax.faces.component.UIComponent component)
Overrides:
getClientId in class org.apache.myfaces.trinidad.render.CoreRenderer

getSubmittedValue

protected java.lang.Object getSubmittedValue(javax.faces.component.UIComponent component,
                                             org.apache.myfaces.trinidad.bean.FacesBean bean)
Overrides:
getSubmittedValue in class EditableValueRenderer

getType

protected java.lang.Object getType()
Overrides:
getType in class SimpleSelectBooleanCheckboxRenderer

getValueAttr

protected java.lang.Object getValueAttr(org.apache.myfaces.trinidad.context.RenderingContext rc)
Overrides:
getValueAttr in class SimpleSelectBooleanCheckboxRenderer

getShortDesc

protected java.lang.String getShortDesc(javax.faces.component.UIComponent component,
                                        org.apache.myfaces.trinidad.bean.FacesBean bean)
Overrides:
getShortDesc in class XhtmlRenderer

getDefaultShortDescKey

protected java.lang.String getDefaultShortDescKey()

getAccessKey

protected char getAccessKey(javax.faces.component.UIComponent component,
                            org.apache.myfaces.trinidad.bean.FacesBean bean)
Overrides:
getAccessKey in class SimpleSelectBooleanRenderer

isImmediate

protected boolean isImmediate(javax.faces.component.UIComponent component,
                              org.apache.myfaces.trinidad.bean.FacesBean bean)
Overrides:
isImmediate in class EditableValueRenderer

getReadOnly

protected boolean getReadOnly(javax.faces.context.FacesContext context,
                              javax.faces.component.UIComponent component,
                              org.apache.myfaces.trinidad.bean.FacesBean bean)
Overrides:
getReadOnly in class EditableValueRenderer

getDisabled

protected boolean getDisabled(javax.faces.component.UIComponent component,
                              org.apache.myfaces.trinidad.bean.FacesBean bean)
Overrides:
getDisabled in class EditableValueRenderer

getOnblur

protected java.lang.String getOnblur(javax.faces.component.UIComponent component,
                                     org.apache.myfaces.trinidad.bean.FacesBean bean)
Overrides:
getOnblur in class FormElementRenderer

getOnfocus

protected java.lang.String getOnfocus(javax.faces.component.UIComponent component,
                                      org.apache.myfaces.trinidad.bean.FacesBean bean)
Overrides:
getOnfocus in class FormElementRenderer

getOnchange

protected java.lang.String getOnchange(javax.faces.component.UIComponent component,
                                       org.apache.myfaces.trinidad.bean.FacesBean bean)
Overrides:
getOnchange in class FormElementRenderer

getOnselect

protected java.lang.String getOnselect(javax.faces.component.UIComponent component,
                                       org.apache.myfaces.trinidad.bean.FacesBean bean)

getText

protected java.lang.String getText(javax.faces.component.UIComponent component,
                                   org.apache.myfaces.trinidad.bean.FacesBean bean)
Overrides:
getText in class SimpleSelectBooleanRenderer


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