Save This Page
Home » trinidad-1.2.8-src-all » org.apache.myfaces.trinidadinternal » renderkit » core » xhtml » [javadoc | source]
org.apache.myfaces.trinidadinternal.renderkit.core.xhtml
abstract public class: SimpleSelectOneRenderer [javadoc | source]
java.lang.Object
   javax.faces.render.Renderer
      org.apache.myfaces.trinidad.render.CoreRenderer
         org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.XhtmlRenderer
            org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.ValueRenderer
               org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.EditableValueRenderer
                  org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.FormElementRenderer
                     org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.FormInputRenderer
                        org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.SimpleSelectOneRenderer

All Implemented Interfaces:
    Cloneable, TypedRenderer

Direct Known Subclasses:
    SimpleSelectOneChoiceRenderer, SimpleSelectOneListboxRenderer, SimpleSelectOneRadioRenderer

Fields inherited from org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.XhtmlRenderer:
TRANSPARENT_GIF
Fields inherited from org.apache.myfaces.trinidad.render.CoreRenderer:
CHAR_UNDEFINED,  NO_CHILD_INDEX
Constructor:
 public SimpleSelectOneRenderer(FacesBean.Type type) 
Method from org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.SimpleSelectOneRenderer Summary:
__getIndex,   encodeAllAsElement,   encodeElementContent,   encodeOption,   findTypeConstants,   getAutoSubmitScript,   getConvertedValue,   getItemValue,   getRequiredMessageKey,   getSelectItems,   getSelectItems,   getSubmittedValue,   getUnselectedLabel,   getValuePassThru,   renderNonElementContent
Methods from org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.FormInputRenderer:
findTypeConstants,   getContentStyleClass,   getRootStyleClass,   getShowRequired,   getSimple,   renderAllAttributes,   renderDisabledAttribute,   renderId,   renderRootDomElementStyles,   shouldRenderName
Methods from org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.FormElementRenderer:
detectAutoSubmit,   encodeAll,   encodeAllAsElement,   encodeAllAsNonElement,   findTypeConstants,   getContentStyle,   getDefaultStyleClass,   getHiddenLabel,   getLabel,   getOnblur,   getOnchange,   getOnfocus,   getRendersChildren,   getSubmittedValue,   isAutoSubmit,   isHiddenLabelRequired,   renderAsElement,   renderEventHandlers,   renderFormEventHandlers,   renderNonElementContent,   renderReadOnlyAsElement,   renderShortDescAsHiddenLabel
Methods from org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.EditableValueRenderer:
addOnSubmitConverterValidators,   decode,   findTypeConstants,   getConvertedString,   getConvertedValue,   getDisabled,   getReadOnly,   getRequired,   getRequiredMessageKey,   getSubmittedValue,   getSubmittedValue,   getValidators,   isImmediate,   shouldRenderId,   wasSubmitted
Methods from org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.ValueRenderer:
findTypeConstants,   getConvertedString,   getConverter,   getDefaultConverter,   getValue,   getValueExpression
Methods from org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.XhtmlRenderer:
canSkipRendering,   canSkipRendering,   cloneWithType,   findTypeConstants,   getAbsoluteImageUri,   getBaseImageUri,   getDefaultStyleClass,   getInlineStyle,   getOnclick,   getOndblclick,   getOnkeydown,   getOnkeypress,   getOnkeyup,   getOnmousedown,   getOnmousemove,   getOnmouseout,   getOnmouseover,   getOnmouseup,   getPartialTriggers,   getShortDesc,   getStyleClass,   renderAllAttributes,   renderAllAttributes,   renderDecorativeIcon,   renderDecorativeIcon,   renderEventHandlers,   renderFormattedText,   renderHAlign,   renderInlineStyle,   renderInlineStyleAttribute,   renderPossiblyFormattedText,   renderScriptDeferAttribute,   renderScriptTypeAttribute,   renderShortDescAttribute,   renderSpacer,   renderStyleAttributes,   renderStyleAttributes,   renderTransparent,   renderVerticalSpacer,   resolveProperty,   resolveProperty,   shouldRenderId,   skipDecode,   supportsAccessKeys,   supportsAdvancedForms,   supportsAutoCompleteFormElements,   supportsDisabledFormElements,   supportsEditing,   supportsIntrinsicEvents,   supportsNavigation,   supportsReadonlyFormElements,   supportsScripting,   supportsSeparateWindow,   supportsStyleAttributes,   supportsTarget,   supportsTextPresentation
Methods from org.apache.myfaces.trinidad.render.CoreRenderer:
afterEncode,   beforeEncode,   delegateRenderer,   delegateRendererBegin,   delegateRendererEnd,   encodeAll,   encodeAllChildren,   encodeBegin,   encodeBegin,   encodeChild,   encodeChildren,   encodeEnd,   encodeEnd,   getClientId,   getFacesBean,   getFacet,   getNextRenderedChildIndex,   getRenderedChildCount,   getRenderingProperty,   hasRenderedChildren,   isDesktop,   isGecko,   isIE,   isInaccessibleMode,   isPDA,   isScreenReaderMode,   renderEncodedActionURI,   renderEncodedResourceURI,   renderId,   renderStyleClass,   renderStyleClasses,   setRenderingProperty,   shouldRenderId,   skipDecode,   toActionUri,   toChar,   toInt,   toLong,   toResourceUri,   toString,   toUri
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.SimpleSelectOneRenderer Detail:
 static int __getIndex(Object submittedValue,
    List selectItems) 
    Convert a stringified index into an index, with range-checking.
 protected  void encodeAllAsElement(FacesContext context,
    RenderingContext arc,
    UIComponent component,
    FacesBean bean) throws IOException 
 abstract protected  void encodeElementContent(FacesContext context,
    RenderingContext arc,
    UIComponent component,
    FacesBean bean,
    List selectItems,
    int selectedIndex,
    Converter converter,
    boolean valuePassThru) throws IOException
 public static boolean encodeOption(FacesContext context,
    RenderingContext arc,
    UIComponent component,
    SelectItem item,
    Converter converter,
    boolean valuePassThru,
    int index,
    boolean isSelected) throws IOException 
 protected  void findTypeConstants(FacesBean.Type type) 
 protected String getAutoSubmitScript(RenderingContext arc,
    FacesBean bean) 
 public Object getConvertedValue(FacesContext context,
    UIComponent component,
    Object submittedValue) throws ConverterException 
 public static Object getItemValue(FacesContext context,
    UIComponent component,
    SelectItem item,
    Converter converter,
    boolean valuePassThru,
    int index) 
    Return the value to output for an item.
 protected String getRequiredMessageKey() 
 protected List getSelectItems(UIComponent component,
    Converter converter) 
 protected List getSelectItems(UIComponent component,
    Converter converter,
    boolean filteredItems) 
 protected Object getSubmittedValue(FacesContext context,
    UIComponent component,
    String clientId) 
 protected String getUnselectedLabel(FacesBean bean) 
 protected boolean getValuePassThru(FacesBean bean) 
 protected  void renderNonElementContent(FacesContext context,
    RenderingContext arc,
    UIComponent component,
    FacesBean bean) throws IOException