org.apache.myfaces.trinidadinternal.renderkit.core.xhtml
Class SimpleInputColorRenderer
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.SimpleInputTextRenderer
org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.SimpleInputListOfValuesRenderer
org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.SimpleInputColorRenderer
- All Implemented Interfaces:
- java.lang.Cloneable, org.apache.myfaces.trinidad.render.TypedRenderer
public class SimpleInputColorRenderer
- extends SimpleInputListOfValuesRenderer
| Fields inherited from class org.apache.myfaces.trinidad.render.CoreRenderer |
CHAR_UNDEFINED, NO_CHILD_INDEX |
|
Method Summary |
protected void |
encodeAllAsElement(javax.faces.context.FacesContext context,
org.apache.myfaces.trinidad.context.RenderingContext rc,
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(javax.faces.component.UIComponent component,
org.apache.myfaces.trinidad.bean.FacesBean bean)
|
protected java.lang.String |
getContentStyleClass(javax.faces.component.UIComponent component,
org.apache.myfaces.trinidad.bean.FacesBean bean)
|
protected java.lang.Integer |
getDefaultColumns(org.apache.myfaces.trinidad.context.RenderingContext rc,
javax.faces.component.UIComponent component,
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,
javax.faces.component.UIComponent component,
org.apache.myfaces.trinidad.bean.FacesBean bean)
Return a default converter. |
protected java.lang.String |
getLaunchOnclick(javax.faces.context.FacesContext context,
org.apache.myfaces.trinidad.context.RenderingContext rc,
javax.faces.component.UIComponent component,
org.apache.myfaces.trinidad.bean.FacesBean bean)
Must be called before starting an element!!! |
protected java.lang.Number |
getMaximumLength(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 |
getOnfocus(javax.faces.component.UIComponent component,
org.apache.myfaces.trinidad.bean.FacesBean bean)
|
protected java.lang.String |
getRootStyleClass(javax.faces.component.UIComponent component,
org.apache.myfaces.trinidad.bean.FacesBean bean)
|
protected java.lang.String |
getSearchDesc(javax.faces.component.UIComponent component,
org.apache.myfaces.trinidad.bean.FacesBean bean)
|
protected boolean |
isCompact(javax.faces.component.UIComponent component,
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 rc,
javax.faces.component.UIComponent component,
org.apache.myfaces.trinidad.bean.FacesBean bean)
|
protected void |
renderContent(javax.faces.context.FacesContext context,
org.apache.myfaces.trinidad.context.RenderingContext rc,
javax.faces.component.UIComponent component,
org.apache.myfaces.trinidad.bean.FacesBean bean,
boolean renderAsElement,
boolean isTextArea)
|
protected void |
renderIcon(javax.faces.context.FacesContext context,
org.apache.myfaces.trinidad.context.RenderingContext rc,
javax.faces.component.UIComponent component,
org.apache.myfaces.trinidad.bean.FacesBean bean)
|
protected void |
renderTextField(javax.faces.context.FacesContext context,
org.apache.myfaces.trinidad.context.RenderingContext rc,
javax.faces.component.UIComponent component,
org.apache.myfaces.trinidad.bean.FacesBean bean)
|
| Methods inherited from class org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.SimpleInputTextRenderer |
getAutoComplete, getColumns, getDefaultInputType, getDefaultRows, getOnchange, getOnkeydown, getOnkeyup, getOnpaste, getOnselect, getRows, getSubmittedValue, getWrap, renderAllAttributes, renderEventHandlers, renderNonElementContent, renderReadOnlyAsElement |
| Methods inherited from class org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.FormElementRenderer |
detectAutoSubmit, 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.XhtmlRenderer |
canSkipRendering, canSkipRendering, cloneWithType, getAbsoluteImageUri, getBaseImageUri, getInlineStyle, getOndblclick, getOnkeypress, getOnmousedown, getOnmousemove, getOnmouseout, getOnmouseover, getOnmouseup, getPartialTriggers, getShortDesc, 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, getClientId, 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 |
SimpleInputColorRenderer
public SimpleInputColorRenderer()
SimpleInputColorRenderer
public SimpleInputColorRenderer(org.apache.myfaces.trinidad.bean.FacesBean.Type type)
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 rc,
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
renderTextField
protected void renderTextField(javax.faces.context.FacesContext context,
org.apache.myfaces.trinidad.context.RenderingContext rc,
javax.faces.component.UIComponent component,
org.apache.myfaces.trinidad.bean.FacesBean bean)
throws java.io.IOException
- Overrides:
renderTextField in class SimpleInputListOfValuesRenderer
- Throws:
java.io.IOException
renderContent
protected void renderContent(javax.faces.context.FacesContext context,
org.apache.myfaces.trinidad.context.RenderingContext rc,
javax.faces.component.UIComponent component,
org.apache.myfaces.trinidad.bean.FacesBean bean,
boolean renderAsElement,
boolean isTextArea)
throws java.io.IOException
- Overrides:
renderContent in class SimpleInputTextRenderer
- Throws:
java.io.IOException
renderAfterTextField
protected void renderAfterTextField(javax.faces.context.FacesContext context,
org.apache.myfaces.trinidad.context.RenderingContext rc,
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
renderIcon
protected void renderIcon(javax.faces.context.FacesContext context,
org.apache.myfaces.trinidad.context.RenderingContext rc,
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
getDefaultConverter
protected javax.faces.convert.Converter getDefaultConverter(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component,
org.apache.myfaces.trinidad.bean.FacesBean bean)
- Return a default converter.
- Overrides:
getDefaultConverter in class ValueRenderer
getLaunchOnclick
protected java.lang.String getLaunchOnclick(javax.faces.context.FacesContext context,
org.apache.myfaces.trinidad.context.RenderingContext rc,
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
getOnfocus
protected java.lang.String getOnfocus(javax.faces.component.UIComponent component,
org.apache.myfaces.trinidad.bean.FacesBean bean)
- Overrides:
getOnfocus in class SimpleInputTextRenderer
getOnblur
protected java.lang.String getOnblur(javax.faces.component.UIComponent component,
org.apache.myfaces.trinidad.bean.FacesBean bean)
- Overrides:
getOnblur in class FormElementRenderer
getDefaultColumns
protected java.lang.Integer getDefaultColumns(org.apache.myfaces.trinidad.context.RenderingContext rc,
javax.faces.component.UIComponent component,
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
getMaximumLength
protected java.lang.Number getMaximumLength(javax.faces.component.UIComponent component,
org.apache.myfaces.trinidad.bean.FacesBean bean)
- Overrides:
getMaximumLength in class SimpleInputTextRenderer
getButtonIconName
protected java.lang.String getButtonIconName()
- Overrides:
getButtonIconName in class SimpleInputListOfValuesRenderer
getChooseId
protected java.lang.String getChooseId(javax.faces.component.UIComponent component,
org.apache.myfaces.trinidad.bean.FacesBean bean)
isCompact
protected boolean isCompact(javax.faces.component.UIComponent component,
org.apache.myfaces.trinidad.bean.FacesBean bean)
getRootStyleClass
protected java.lang.String getRootStyleClass(javax.faces.component.UIComponent component,
org.apache.myfaces.trinidad.bean.FacesBean bean)
- Overrides:
getRootStyleClass in class SimpleInputListOfValuesRenderer
getContentStyleClass
protected java.lang.String getContentStyleClass(javax.faces.component.UIComponent component,
org.apache.myfaces.trinidad.bean.FacesBean bean)
- Overrides:
getContentStyleClass in class SimpleInputListOfValuesRenderer
getSearchDesc
protected java.lang.String getSearchDesc(javax.faces.component.UIComponent component,
org.apache.myfaces.trinidad.bean.FacesBean bean)
- Overrides:
getSearchDesc in class SimpleInputListOfValuesRenderer
Copyright © 2001-2011 The Apache Software Foundation. All Rights Reserved.