org.apache.myfaces.trinidadinternal.renderkit.core.xhtml
Class ShowDetailRenderer
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.ShowDetailItemRenderer
org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.ShowDetailRenderer
- All Implemented Interfaces:
- java.lang.Cloneable, org.apache.myfaces.trinidad.render.TypedRenderer
public class ShowDetailRenderer
- extends ShowDetailItemRenderer
This needs to be massively cleaned up...
| Fields inherited from class org.apache.myfaces.trinidad.render.CoreRenderer |
CHAR_UNDEFINED, NO_CHILD_INDEX |
|
Method Summary |
protected void |
encodeAll(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 |
getDefaultStyleClass(javax.faces.component.UIComponent component,
org.apache.myfaces.trinidad.bean.FacesBean bean)
|
protected java.lang.String |
getDisclosedText(javax.faces.component.UIComponent component,
org.apache.myfaces.trinidad.bean.FacesBean bean)
|
protected java.lang.String[] |
getDisclosureIconLinkStyleClasses()
|
protected java.lang.String |
getDisclosureText(org.apache.myfaces.trinidad.context.RenderingContext rc,
javax.faces.component.UIComponent component,
org.apache.myfaces.trinidad.bean.FacesBean bean,
boolean disclosed)
|
protected boolean |
getImmediate(javax.faces.component.UIComponent component,
org.apache.myfaces.trinidad.bean.FacesBean bean)
|
protected java.lang.String |
getLinkId(java.lang.String rootId,
boolean disclosed)
|
protected java.lang.String[] |
getLinkStyleClasses()
Returns the style classes to use for links rendered by the
ShowDetailRenderer |
protected java.lang.String |
getPromptStyleClass(boolean disclosed)
|
protected java.lang.String |
getUndisclosedText(javax.faces.component.UIComponent component,
org.apache.myfaces.trinidad.bean.FacesBean bean)
|
protected java.lang.String |
getValueParameter(javax.faces.component.UIComponent component)
|
protected boolean |
isTableAllDisclosure()
Hook for table; it'd be cleaner to simply expose
more protected hooks in general, and eliminate this
Table-ShowDetail dependency. |
protected boolean |
isTableDetailDisclosure()
Hook for table; it'd be cleaner to simply expose
more protected hooks in general, and eliminate this
Table-ShowDetail dependency. |
protected boolean |
renderAsInline()
|
protected void |
renderDisclosureIcon(javax.faces.context.FacesContext context,
org.apache.myfaces.trinidad.context.RenderingContext rc,
boolean disclosed)
|
static void |
renderDisclosureIcon(javax.faces.context.FacesContext context,
org.apache.myfaces.trinidad.context.RenderingContext rc,
boolean disclosed,
java.lang.String disclosedAltTextKey,
java.lang.String undisclosedAltTextKey)
|
protected void |
renderPromptEnd(javax.faces.context.FacesContext context)
|
protected void |
renderPromptStart(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 boolean |
shouldRenderId(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component)
Always render an ID, needed for proper PPR. |
| Methods inherited from class org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.XhtmlRenderer |
canSkipRendering, canSkipRendering, cloneWithType, getAbsoluteImageUri, getBaseImageUri, 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, 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, renderId, 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, getConvertedValue |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PARTIAL_JS
public static final java.lang.String PARTIAL_JS
- See Also:
- Constant Field Values
ShowDetailRenderer
public ShowDetailRenderer()
ShowDetailRenderer
protected ShowDetailRenderer(org.apache.myfaces.trinidad.bean.FacesBean.Type type)
findTypeConstants
protected void findTypeConstants(org.apache.myfaces.trinidad.bean.FacesBean.Type type)
- Overrides:
findTypeConstants in class ShowDetailItemRenderer
encodeAll
protected void encodeAll(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:
encodeAll in class ShowDetailItemRenderer
- Throws:
java.io.IOException
renderPromptStart
protected void renderPromptStart(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
- Throws:
java.io.IOException
renderPromptEnd
protected void renderPromptEnd(javax.faces.context.FacesContext context)
throws java.io.IOException
- Throws:
java.io.IOException
renderDisclosureIcon
public static void renderDisclosureIcon(javax.faces.context.FacesContext context,
org.apache.myfaces.trinidad.context.RenderingContext rc,
boolean disclosed,
java.lang.String disclosedAltTextKey,
java.lang.String undisclosedAltTextKey)
throws java.io.IOException
- Throws:
java.io.IOException
renderDisclosureIcon
protected void renderDisclosureIcon(javax.faces.context.FacesContext context,
org.apache.myfaces.trinidad.context.RenderingContext rc,
boolean disclosed)
throws java.io.IOException
- Throws:
java.io.IOException
shouldRenderId
protected boolean shouldRenderId(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component)
- Always render an ID, needed for proper PPR.
- Overrides:
shouldRenderId in class XhtmlRenderer
getDisclosureText
protected java.lang.String getDisclosureText(org.apache.myfaces.trinidad.context.RenderingContext rc,
javax.faces.component.UIComponent component,
org.apache.myfaces.trinidad.bean.FacesBean bean,
boolean disclosed)
isTableDetailDisclosure
protected boolean isTableDetailDisclosure()
- Hook for table; it'd be cleaner to simply expose
more protected hooks in general, and eliminate this
Table-ShowDetail dependency.
isTableAllDisclosure
protected boolean isTableAllDisclosure()
- Hook for table; it'd be cleaner to simply expose
more protected hooks in general, and eliminate this
Table-ShowDetail dependency.
renderAsInline
protected boolean renderAsInline()
getValueParameter
protected java.lang.String getValueParameter(javax.faces.component.UIComponent component)
getLinkStyleClasses
protected java.lang.String[] getLinkStyleClasses()
- Returns the style classes to use for links rendered by the
ShowDetailRenderer
getLinkId
protected java.lang.String getLinkId(java.lang.String rootId,
boolean disclosed)
getImmediate
protected boolean getImmediate(javax.faces.component.UIComponent component,
org.apache.myfaces.trinidad.bean.FacesBean bean)
getDisclosedText
protected java.lang.String getDisclosedText(javax.faces.component.UIComponent component,
org.apache.myfaces.trinidad.bean.FacesBean bean)
getUndisclosedText
protected java.lang.String getUndisclosedText(javax.faces.component.UIComponent component,
org.apache.myfaces.trinidad.bean.FacesBean bean)
getDisclosureIconLinkStyleClasses
protected java.lang.String[] getDisclosureIconLinkStyleClasses()
getPromptStyleClass
protected java.lang.String getPromptStyleClass(boolean disclosed)
getDefaultStyleClass
protected java.lang.String getDefaultStyleClass(javax.faces.component.UIComponent component,
org.apache.myfaces.trinidad.bean.FacesBean bean)
- Overrides:
getDefaultStyleClass in class XhtmlRenderer
Copyright © 2001-2011 The Apache Software Foundation. All Rights Reserved.