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 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 |
getDisclosedText(org.apache.myfaces.trinidad.bean.FacesBean bean)
|
protected java.lang.String |
getDisclosureText(org.apache.myfaces.trinidad.context.RenderingContext arc,
org.apache.myfaces.trinidad.bean.FacesBean bean,
boolean disclosed)
|
protected boolean |
getImmediate(org.apache.myfaces.trinidad.bean.FacesBean bean)
|
protected java.lang.String |
getLinkId(java.lang.String rootId,
boolean disclosed)
|
protected java.lang.String |
getLinkStyleClass()
Returns the style class to use for links rendered by the
ShowDetailRenderer |
protected java.lang.String |
getUndisclosedText(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 arc,
boolean disclosed)
|
static void |
renderDisclosureIcon(javax.faces.context.FacesContext context,
org.apache.myfaces.trinidad.context.RenderingContext arc,
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 arc,
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 |
cloneWithType, enableScriptDeferring, getAbsoluteImageUri, getBaseImageUri, getDefaultStyleClass, getInlineStyle, getOnclick, getOndblclick, getOnkeydown, getOnkeypress, getOnkeyup, getOnmousedown, getOnmousemove, getOnmouseout, getOnmouseover, getOnmouseup, getShortDesc, getStyleClass, renderAllAttributes, renderAllAttributes, renderDecorativeIcon, renderDecorativeIcon, renderEventHandlers, 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, renderId, renderStyleClass, renderStyleClasses, setRenderingProperty, toChar, toInt, toLong, toString, toUri |
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 |
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 arc,
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 arc,
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 arc,
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 arc,
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 arc,
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)
getLinkStyleClass
protected java.lang.String getLinkStyleClass()
- Returns the style class to use for links rendered by the
ShowDetailRenderer
getLinkId
protected java.lang.String getLinkId(java.lang.String rootId,
boolean disclosed)
getImmediate
protected boolean getImmediate(org.apache.myfaces.trinidad.bean.FacesBean bean)
getDisclosedText
protected java.lang.String getDisclosedText(org.apache.myfaces.trinidad.bean.FacesBean bean)
getUndisclosedText
protected java.lang.String getUndisclosedText(org.apache.myfaces.trinidad.bean.FacesBean bean)
Copyright © 2001-2007 Apache Software Foundation. All Rights Reserved.