org.apache.myfaces.trinidadinternal.renderkit.core.xhtml
Class SimpleInputDateRenderer

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.SimpleInputTextRenderer
                                  extended by org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.SimpleInputListOfValuesRenderer
                                      extended by org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.SimpleInputDateRenderer
All Implemented Interfaces:
java.lang.Cloneable, org.apache.myfaces.trinidad.render.TypedRenderer

public class SimpleInputDateRenderer
extends SimpleInputListOfValuesRenderer


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
SimpleInputDateRenderer()
           
SimpleInputDateRenderer(org.apache.myfaces.trinidad.bean.FacesBean.Type type)
           
 
Method Summary
protected  void encodeAllAsElement(javax.faces.context.FacesContext context, org.apache.myfaces.trinidad.context.RenderingContext arc, javax.faces.component.UIComponent component, org.apache.myfaces.trinidad.bean.FacesBean bean)
           
protected  void findTypeConstants(org.apache.myfaces.trinidad.bean.FacesBean.Type type)
           
protected  java.lang.String getButtonIconName()
           
protected  java.lang.String getChooseId(org.apache.myfaces.trinidad.bean.FacesBean bean)
           
protected  java.lang.String getContentStyleClass(org.apache.myfaces.trinidad.bean.FacesBean bean)
           
protected  java.lang.Integer getDefaultColumns(org.apache.myfaces.trinidad.context.RenderingContext arc, org.apache.myfaces.trinidad.bean.FacesBean bean)
          Returns the default number of text input columns Note that this is often over-written by subclasses to provide their own defaults.
protected  javax.faces.convert.Converter getDefaultConverter(javax.faces.context.FacesContext context, org.apache.myfaces.trinidad.bean.FacesBean bean)
           
protected  java.lang.String getLaunchOnclick(javax.faces.context.FacesContext context, org.apache.myfaces.trinidad.context.RenderingContext arc, javax.faces.component.UIComponent component, org.apache.myfaces.trinidad.bean.FacesBean bean)
          Must be called before starting an element!!!
protected  java.lang.String getOnblur(org.apache.myfaces.trinidad.bean.FacesBean bean)
           
protected  java.lang.String getOnfocus(org.apache.myfaces.trinidad.bean.FacesBean bean)
           
protected  java.lang.String getRootStyleClass(org.apache.myfaces.trinidad.bean.FacesBean bean)
           
protected  java.lang.String getSearchDesc(org.apache.myfaces.trinidad.bean.FacesBean bean)
           
protected  void queueActionEvent(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component)
           
protected  void queueReturnEvent(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component, org.apache.myfaces.trinidad.event.ReturnEvent event)
          Give subclasses a chance to override the ReturnEvent.
protected  void renderAfterTextField(javax.faces.context.FacesContext context, org.apache.myfaces.trinidad.context.RenderingContext arc, javax.faces.component.UIComponent component, org.apache.myfaces.trinidad.bean.FacesBean bean)
           
protected  void renderIcon(javax.faces.context.FacesContext context, org.apache.myfaces.trinidad.context.RenderingContext arc, javax.faces.component.UIComponent component, org.apache.myfaces.trinidad.bean.FacesBean bean)
           
 
Methods inherited from class org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.SimpleInputListOfValuesRenderer
decode, encodeAllAsNonElement, getAction, getButtonOnclick, getIcon, getOnclick, getSecret, isSimpleInputText, isTextArea, renderTextField, shouldRenderInputOnclick
 
Methods inherited from class org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.SimpleInputTextRenderer
getColumns, getColumnsAdjustedForAgent, getDefaultInputType, getDefaultRows, getMaximumLength, getNoAutoComplete, getOnchange, getOnkeydown, getOnkeypress, getOnselect, getRows, getSubmittedValue, getWrap, renderAllAttributes, renderContent, renderEventHandlers, renderNonElementContent, renderReadOnlyAsElement
 
Methods inherited from class org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.FormInputRenderer
getShowRequired, getSimple, renderDisabledAttribute, renderId, renderRootDomElementStyles, shouldRenderName
 
Methods inherited from class org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.FormElementRenderer
encodeAll, getContentStyle, getDefaultStyleClass, getHiddenLabel, getLabel, getRendersChildren, isAutoSubmit, isHiddenLabelRequired, renderAsElement, renderFormEventHandlers, renderShortDescAsHiddenLabel
 
Methods inherited from class org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.EditableValueRenderer
addOnSubmitConverterValidators, getConvertedString, getConvertedValue, getDisabled, getReadOnly, getRequired, getRequiredMessageKey, getSubmittedValue, getValidators, isImmediate, shouldRenderId, wasSubmitted
 
Methods inherited from class org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.ValueRenderer
getConverter, getValue, getValueBinding
 
Methods inherited from class org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.XhtmlRenderer
cloneWithType, enableScriptDeferring, getAbsoluteImageUri, getBaseImageUri, getInlineStyle, getOndblclick, getOnkeyup, getOnmousedown, getOnmousemove, getOnmouseout, getOnmouseover, getOnmouseup, getShortDesc, getStyleClass, renderAllAttributes, renderDecorativeIcon, renderDecorativeIcon, renderFormattedText, renderHAlign, renderInlineStyle, renderInlineStyleAttribute, renderPossiblyFormattedText, renderScriptDeferAttribute, renderScriptTypeAttribute, renderShortDescAttribute, renderSpacer, renderStyleAttributes, renderStyleAttributes, renderTransparent, renderVerticalSpacer, skipDecode, supportsAccessKeys, supportsAdvancedForms, supportsAutoCompleteFormElements, supportsDisabledFormElements, supportsEditing, supportsIntrinsicEvents, supportsNavigation, supportsReadonlyFormElements, supportsScripting, supportsSeparateWindow, supportsStyleAttributes, supportsTarget, supportsTextPresentation, supportsXMLDOM
 
Methods inherited from class org.apache.myfaces.trinidad.render.CoreRenderer
delegateRenderer, delegateRendererBegin, delegateRendererEnd, encodeAllChildren, encodeBegin, encodeBegin, encodeChild, encodeChildren, encodeEnd, encodeEnd, getClientId, getFacesBean, getFacet, getNextRenderedChildIndex, getRenderedChildCount, getRenderingProperty, hasRenderedChildren, isDesktop, isGecko, isIE, isInaccessibleMode, isPDA, isScreenReaderMode, renderEncodedActionURI, renderEncodedResourceURI, renderStyleClass, renderStyleClasses, setRenderingProperty, toChar, toInt, toLong, toString, toUri
 
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

SimpleInputDateRenderer

public SimpleInputDateRenderer()

SimpleInputDateRenderer

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

findTypeConstants

protected void findTypeConstants(org.apache.myfaces.trinidad.bean.FacesBean.Type type)
Overrides:
findTypeConstants in class SimpleInputListOfValuesRenderer

queueActionEvent

protected void queueActionEvent(javax.faces.context.FacesContext context,
                                javax.faces.component.UIComponent component)
Overrides:
queueActionEvent in class SimpleInputListOfValuesRenderer

queueReturnEvent

protected void queueReturnEvent(javax.faces.context.FacesContext context,
                                javax.faces.component.UIComponent component,
                                org.apache.myfaces.trinidad.event.ReturnEvent event)
Give subclasses a chance to override the ReturnEvent.

Overrides:
queueReturnEvent in class SimpleInputListOfValuesRenderer

encodeAllAsElement

protected void encodeAllAsElement(javax.faces.context.FacesContext context,
                                  org.apache.myfaces.trinidad.context.RenderingContext arc,
                                  javax.faces.component.UIComponent component,
                                  org.apache.myfaces.trinidad.bean.FacesBean bean)
                           throws java.io.IOException
Overrides:
encodeAllAsElement in class SimpleInputListOfValuesRenderer
Throws:
java.io.IOException

renderIcon

protected void renderIcon(javax.faces.context.FacesContext context,
                          org.apache.myfaces.trinidad.context.RenderingContext arc,
                          javax.faces.component.UIComponent component,
                          org.apache.myfaces.trinidad.bean.FacesBean bean)
                   throws java.io.IOException
Overrides:
renderIcon in class SimpleInputListOfValuesRenderer
Throws:
java.io.IOException

renderAfterTextField

protected void renderAfterTextField(javax.faces.context.FacesContext context,
                                    org.apache.myfaces.trinidad.context.RenderingContext arc,
                                    javax.faces.component.UIComponent component,
                                    org.apache.myfaces.trinidad.bean.FacesBean bean)
                             throws java.io.IOException
Overrides:
renderAfterTextField in class SimpleInputListOfValuesRenderer
Throws:
java.io.IOException

getDefaultConverter

protected javax.faces.convert.Converter getDefaultConverter(javax.faces.context.FacesContext context,
                                                            org.apache.myfaces.trinidad.bean.FacesBean bean)
Overrides:
getDefaultConverter in class ValueRenderer

getOnblur

protected java.lang.String getOnblur(org.apache.myfaces.trinidad.bean.FacesBean bean)
Overrides:
getOnblur in class FormElementRenderer

getOnfocus

protected java.lang.String getOnfocus(org.apache.myfaces.trinidad.bean.FacesBean bean)
Overrides:
getOnfocus in class SimpleInputTextRenderer

getLaunchOnclick

protected java.lang.String getLaunchOnclick(javax.faces.context.FacesContext context,
                                            org.apache.myfaces.trinidad.context.RenderingContext arc,
                                            javax.faces.component.UIComponent component,
                                            org.apache.myfaces.trinidad.bean.FacesBean bean)
                                     throws java.io.IOException
Description copied from class: SimpleInputListOfValuesRenderer
Must be called before starting an element!!!

Overrides:
getLaunchOnclick in class SimpleInputListOfValuesRenderer
Throws:
java.io.IOException

getDefaultColumns

protected java.lang.Integer getDefaultColumns(org.apache.myfaces.trinidad.context.RenderingContext arc,
                                              org.apache.myfaces.trinidad.bean.FacesBean bean)
Description copied from class: SimpleInputTextRenderer
Returns the default number of text input columns Note that this is often over-written by subclasses to provide their own defaults. =-=AEW MOVE ONTO BEAN TYPE?

Overrides:
getDefaultColumns in class SimpleInputTextRenderer

getButtonIconName

protected java.lang.String getButtonIconName()
Overrides:
getButtonIconName in class SimpleInputListOfValuesRenderer

getChooseId

protected java.lang.String getChooseId(org.apache.myfaces.trinidad.bean.FacesBean bean)

getSearchDesc

protected java.lang.String getSearchDesc(org.apache.myfaces.trinidad.bean.FacesBean bean)
Overrides:
getSearchDesc in class SimpleInputListOfValuesRenderer

getRootStyleClass

protected java.lang.String getRootStyleClass(org.apache.myfaces.trinidad.bean.FacesBean bean)
Overrides:
getRootStyleClass in class SimpleInputListOfValuesRenderer

getContentStyleClass

protected java.lang.String getContentStyleClass(org.apache.myfaces.trinidad.bean.FacesBean bean)
Overrides:
getContentStyleClass in class SimpleInputListOfValuesRenderer


Copyright © 2001-2007 Apache Software Foundation. All Rights Reserved.