|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.myfaces.trinidadinternal.ui.BaseRenderer
org.apache.myfaces.trinidadinternal.ui.ElementRenderer
org.apache.myfaces.trinidadinternal.ui.laf.base.BaseLafRenderer
org.apache.myfaces.trinidadinternal.ui.laf.base.xhtml.XhtmlLafRenderer
org.apache.myfaces.trinidadinternal.ui.laf.base.xhtml.StyledTextRenderer
@Deprecated public class StyledTextRenderer
Renderer for drawing text that can be styled, can include a destination, and can act as a label for another control.
| Field Summary |
|---|
| Fields inherited from class org.apache.myfaces.trinidadinternal.ui.laf.base.xhtml.XhtmlLafRenderer |
|---|
TRANSPARENT_GIF |
| Fields inherited from class org.apache.myfaces.trinidadinternal.ui.BaseRenderer |
|---|
NO_CHILD_INDEX |
| Fields inherited from interface org.apache.myfaces.trinidadinternal.ui.laf.base.BaseLafConstants |
|---|
NBSP_CHAR, NBSP_STRING, NOT_FOUND, ONE, TWO, URI_DELIMITER, ZERO |
| Constructor Summary | |
|---|---|
StyledTextRenderer()
Deprecated. |
|
| Method Summary | |
|---|---|
protected boolean |
doRenderStyleAttrs(UIXRenderingContext context,
UINode node)
Deprecated. Returns true if the style attributes should be rendered for this node. |
protected java.lang.String |
getDefaultElement()
Deprecated. Hook for subclasses to change the default element used |
protected java.lang.String |
getElementName(UIXRenderingContext context,
UINode node)
Deprecated. Called to retrieve the element name to render. |
protected java.lang.Object |
getInheritedStyleClass(UIXRenderingContext context,
UINode node)
Deprecated. |
protected java.lang.Object |
getLabeledNodeID(UIXRenderingContext context,
UINode node)
Deprecated. |
protected java.lang.Object |
getText(UIXRenderingContext context,
UINode node)
Deprecated. Returns the value associated with the text attribute |
protected void |
renderContent(UIXRenderingContext context,
UINode node)
Deprecated. |
protected void |
renderScripts(UIXRenderingContext context,
UINode node)
Deprecated. |
protected void |
renderStyleAttrs(UIXRenderingContext context,
UINode node)
Deprecated. Actually renders the style attributes. |
protected boolean |
shouldUseFormData(UIXRenderingContext context,
UINode node)
Deprecated. Returns false because styled text is read only, so its value does not get submitted to the server, making it unavailable for form data repopulation. |
| Methods inherited from class org.apache.myfaces.trinidadinternal.ui.ElementRenderer |
|---|
getRenderer, renderAttribute, renderAttribute, renderAttribute, renderAttribute |
| Methods inherited from class org.apache.myfaces.trinidadinternal.ui.BaseRenderer |
|---|
getNextRenderedChildIndex, getNextRenderedChildNode, getVisibleIndexedChildCount, renderBetweenIndexedChildren, renderBetweenIndexedChildren, renderChild, renderIndexedChild, renderIndexedChild, renderNamedChild, renderNamedChild, skipChild, skipNode |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public StyledTextRenderer()
| Method Detail |
|---|
protected void renderContent(UIXRenderingContext context,
UINode node)
throws java.io.IOException
renderContent in class BaseRendererjava.io.IOException
protected void renderStyleAttrs(UIXRenderingContext context,
UINode node)
throws java.io.IOException
renderStyleAttrs in class XhtmlLafRendererjava.io.IOExceptiondoRenderStyleAttrs(org.apache.myfaces.trinidadinternal.ui.UIXRenderingContext, org.apache.myfaces.trinidadinternal.ui.UINode)
protected void renderScripts(UIXRenderingContext context,
UINode node)
throws java.io.IOException
java.io.IOException
protected boolean shouldUseFormData(UIXRenderingContext context,
UINode node)
protected java.lang.Object getInheritedStyleClass(UIXRenderingContext context,
UINode node)
protected java.lang.Object getText(UIXRenderingContext context,
UINode node)
XhtmlLafRenderer
getText in class XhtmlLafRenderer
protected boolean doRenderStyleAttrs(UIXRenderingContext context,
UINode node)
XhtmlLafRendererClients should override this method if they need to move the rendering of the style attributes to a different element, or if the the user agent doesn't support style attributes.
doRenderStyleAttrs in class XhtmlLafRendererXhtmlLafRenderer.renderStyleAttrs(org.apache.myfaces.trinidadinternal.ui.UIXRenderingContext, org.apache.myfaces.trinidadinternal.ui.UINode, java.lang.String)
protected java.lang.Object getLabeledNodeID(UIXRenderingContext context,
UINode node)
protected java.lang.String getElementName(UIXRenderingContext context,
UINode node)
ElementRenderer
getElementName in class ElementRenderercontext - the rendering contextnode - the current nodeprotected java.lang.String getDefaultElement()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||