|
||||||||||
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
public class XhtmlLafRenderer
Base Rendering class for HTML renderers
Field Summary | |
---|---|
static java.lang.String |
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 | |
---|---|
XhtmlLafRenderer()
|
Method Summary | |
---|---|
protected void |
addOnSubmitConverterValidators(UIXRenderingContext context,
UINode node,
java.lang.String requiredMessageKey)
|
protected void |
addOnSubmitRequiredValidator(UIXRenderingContext context,
UINode node,
java.lang.String requiredMessageKey)
|
protected boolean |
doRenderStyleAttrs(UIXRenderingContext context,
UINode node)
Returns true if the style attributes should be rendered for this node. |
protected static int |
getAccessKeyIndex(UIXRenderingContext context,
UINode node,
java.lang.Object textValue)
Returns the index of the access key in the specified node's text. |
protected java.lang.Object |
getCachedIDOrName(UIXRenderingContext context,
UINode node)
Version of getIDOrName, using local property caching |
protected java.lang.Object |
getFlippableURI(UIXRenderingContext context,
UINode node,
AttributeKey attrKey)
Get the URI of an image that might need to be flipped |
static ImageProviderResponse |
getFlippedIcon(UIXRenderingContext context,
java.lang.String sourceURI)
Returns an image from the ImageProvider |
static java.lang.String |
getFlippedIconURI(UIXRenderingContext context,
java.lang.String source)
Returns an image from the ImageProvider |
protected FormattedTextParser |
getFormattedTextParser(UIXRenderingContext context)
|
protected java.lang.Object |
getIDOrName(UIXRenderingContext context,
UINode node)
Returns the id of the UINode for html elements that have deprecated name in favor of id. |
protected java.lang.Object |
getInlineStyle(UIXRenderingContext context,
UINode node)
Returns the inline Style used to render this node. |
protected java.lang.Object |
getOnClick(UIXRenderingContext context,
UINode node)
|
protected java.lang.Object |
getOnDoubleClick(UIXRenderingContext context,
UINode node)
|
protected java.lang.Object |
getOnKeyDown(UIXRenderingContext context,
UINode node)
|
protected java.lang.Object |
getOnKeyPress(UIXRenderingContext context,
UINode node)
|
protected java.lang.Object |
getOnKeyUp(UIXRenderingContext context,
UINode node)
|
protected java.lang.Object |
getOnMouseDown(UIXRenderingContext context,
UINode node)
|
protected java.lang.Object |
getOnMouseMove(UIXRenderingContext context,
UINode node)
|
protected java.lang.Object |
getOnMouseOut(UIXRenderingContext context,
UINode node)
|
protected java.lang.Object |
getOnMouseOver(UIXRenderingContext context,
UINode node)
|
protected java.lang.Object |
getOnMouseUp(UIXRenderingContext context,
UINode node)
|
int |
getResolvedSelectedIndex(UIXRenderingContext context,
UINode node)
determine the selected child index |
protected int |
getResolvedSelectedIndexFromCache(UIXRenderingContext context,
UINode node)
Extension of XhtmlLafRenderer.getResolvedSelectedIndex(). |
protected java.lang.Object |
getStyleClass(UIXRenderingContext context,
UINode node)
Returns the StyleClass to use to render this node. |
protected java.lang.Object |
getText(UIXRenderingContext context,
UINode node)
Returns the value associated with the text attribute |
static boolean |
isPreviouslyRendered(UIXRenderingContext context,
java.lang.Object key)
Use this method to make sure that certain code is called only once per render cycle. |
boolean |
isSupportedNode(UIXRenderingContext context,
UINode node)
Method returning true if the UINode is supported. |
protected boolean |
isTextFormatted(java.lang.Object textValue)
|
protected void |
postrender(UIXRenderingContext context,
UINode node)
Override to add support for rendering syle elements |
protected void |
prerender(UIXRenderingContext context,
UINode node)
Override to add support for rendering syle elements |
void |
render(UIXRenderingContext context,
UINode node)
Override to handle case where this element isn't in a supported module of the current user agent |
protected void |
renderAccessKeyText(UIXRenderingContext context,
java.lang.Object textValue,
int keyIndex,
java.lang.String accessKeyClass)
Renders the text with the access key highlighted as appropriate. |
protected void |
renderAccessKeyText(UIXRenderingContext context,
UINode node,
java.lang.Object textValue,
java.lang.String accesskeyClass)
Renders the text with the access key highlighted as appropriate. |
static void |
renderAltAndTooltipForImage(UIXRenderingContext context,
java.lang.Object textValue)
Renders only the alt attribute if that can be used as a tooltip on an image. |
protected void |
renderAttributes(UIXRenderingContext context,
UINode node)
Renders attributes of the current node. |
protected void |
renderAttributesExceptID(UIXRenderingContext context,
UINode node)
|
protected void |
renderEventHandlers(UIXRenderingContext context,
UINode node)
Renders event handlers for the node. |
protected void |
renderFormattedText(UIXRenderingContext context,
java.lang.Object textValue)
|
protected static void |
renderHAlign(UIXRenderingContext context,
java.lang.Object hAlign)
|
protected void |
renderHAlign(UIXRenderingContext context,
UINode node)
|
protected void |
renderHorizontalSpacer(UIXRenderingContext context,
java.lang.String width)
|
protected void |
renderIcon(UIXRenderingContext context,
java.lang.Object iconURL,
int width,
int height)
|
protected void |
renderIcon(UIXRenderingContext context,
java.lang.Object iconURL,
java.lang.Object width,
java.lang.Object height)
Renders an icon. |
protected void |
renderIcon(UIXRenderingContext context,
java.lang.Object iconURL,
java.lang.Object width,
java.lang.Object height,
boolean isBlock)
|
protected void |
renderIcon(UIXRenderingContext context,
java.lang.Object iconURL,
java.lang.Object width,
java.lang.Object height,
java.lang.Object id)
Renders an icon. |
protected void |
renderIcon(UIXRenderingContext context,
java.lang.Object iconURL,
java.lang.Object width,
java.lang.Object height,
java.lang.Object id,
java.lang.Object altText)
Renders an icon. |
protected void |
renderIcon(UIXRenderingContext context,
java.lang.String iconAbsoluteURI,
java.lang.String altTextKey,
java.lang.Object destination,
java.lang.Object anchor,
java.lang.Object onClick,
java.lang.Object imgAlign,
java.lang.Object targetFrame,
boolean isBlock)
iconURI must be an absolute URI |
static void |
renderInlineStyleAttribute(UIXRenderingContext context,
java.lang.Object inlineStyle)
Renders the inline style attribute for the specified node |
protected void |
renderInlineStyleAttribute(UIXRenderingContext context,
UINode node)
Renders the inline style attribute for the specified node |
protected static void |
renderLayoutTableAttributes(UIXRenderingContext context,
java.lang.Object cellspacing,
java.lang.Object tableWidth)
|
protected static void |
renderLayoutTableAttributes(UIXRenderingContext context,
java.lang.Object cellpadding,
java.lang.Object cellspacing,
java.lang.Object tableWidth)
|
protected static void |
renderLayoutTableAttributes(UIXRenderingContext context,
java.lang.Object cellpadding,
java.lang.Object cellspacing,
java.lang.Object border,
java.lang.Object tableWidth)
All layout tables should call this method, so that a special summary tag (which silences OAC) is rendered |
protected static void |
renderLayoutTableAttributes(UIXRenderingContext context,
java.lang.Object cellpadding,
java.lang.Object cellspacing,
java.lang.Object border,
java.lang.Object tableWidth,
java.lang.Object summary)
all data tables should call this one, so that a summary tag is written out |
protected static void |
renderLayoutTableHeader(UIXRenderingContext context,
java.lang.Object cellspacing,
java.lang.Object tableWidth)
|
protected void |
renderNameAndID(UIXRenderingContext context,
UINode node)
Renders the id of the UINode for html elements that have deprecated name in favor of id. |
static void |
renderOnePixelLine(UIXRenderingContext context)
Method for rendering one pixel lines. |
protected void |
renderPossiblyFormattedText(UIXRenderingContext context,
java.lang.Object textValue)
|
protected void |
renderRelatedLinksBlockEnd(UIXRenderingContext context)
Ends a block wrapper to enable screen readers identify skippable related link groups. |
protected void |
renderRelatedLinksBlockStart(UIXRenderingContext context,
java.lang.String blockTitleKey)
Starts a block wrapper to enable screen readers identify skippable related link groups. |
static void |
renderScriptDeferAttribute(UIXRenderingContext context)
Renders the "defer" attribute for a script element. |
static void |
renderScriptOnce(UIXRenderingContext context,
java.lang.String script,
java.lang.Object key)
|
static void |
renderScriptTypeAttribute(UIXRenderingContext context)
Checks whether in screen reader mode, and if so, renders "type" attribute for a script element. |
protected void |
renderShortDesc(UIXRenderingContext context,
UINode node)
|
static void |
renderShortStyleClassAttribute(UIXRenderingContext context,
java.lang.Object shortStyleClass)
Renders a pre-shortened style class attribute. |
protected void |
renderSpacer(UIXRenderingContext context,
java.lang.Integer width,
java.lang.Integer height)
|
protected void |
renderSpacer(UIXRenderingContext context,
int width,
int height)
|
protected void |
renderSpacer(UIXRenderingContext context,
java.lang.Object width,
java.lang.Object height)
|
protected void |
renderSpacer(UIXRenderingContext context,
java.lang.Object width,
java.lang.Object height,
java.lang.Object id)
|
protected void |
renderStretchedImage(UIXRenderingContext context,
java.lang.String imageURL,
int height)
|
static void |
renderStyleAndClass(UIXRenderingContext context,
java.lang.String inlineStyle,
java.lang.Object styleClass)
|
protected void |
renderStyleAttrs(UIXRenderingContext context,
UINode node)
Actually renders the style attributes. |
protected void |
renderStyleAttrs(UIXRenderingContext context,
UINode node,
java.lang.String defaultStyleClass)
Actually renders the style attributes styleClass and inlineStyle on the component, as well as the defaultStyleClass. |
static void |
renderStyleClassAttribute(UIXRenderingContext context,
java.lang.Object styleClass)
Renders the style class attribute, using a short style class if one is available. |
static void |
renderStyleClassAttributes(UIXRenderingContext context,
java.lang.Object[] styleClasses)
Renders style class attributes, using a short style class if available. |
static void |
renderStyleClassAttributes(UIXRenderingContext context,
java.lang.Object[] styleClasses,
java.lang.String inlineStyleString)
Renders style class attributes, using a short style class if one is available. |
static void |
renderStyleClassAttributes(UIXRenderingContext context,
java.lang.String styleClass1,
java.lang.String styleClass2,
java.lang.String inlineStyleString)
Renders style class attributes, using a short style class if one is available. |
protected void |
renderStyledText(UIXRenderingContext context,
UINode node)
Renders the node text using the relevant style information. |
protected void |
renderStyledText(UIXRenderingContext context,
UINode node,
boolean renderAccessKeys,
boolean renderID)
Renders the node text using the relevant style information. |
static boolean |
renderStyleElements(UIXRenderingContext context)
Returns true if we should render the style elements instead of the style attributes |
protected void |
renderTransparent(UIXRenderingContext context,
java.lang.String width,
java.lang.String height,
boolean needsQuoting)
Renders a transparent gif using a script to save space. |
protected void |
renderTransparent(UIXRenderingContext context,
java.lang.String width,
java.lang.String height,
boolean needsQuoting,
java.lang.Object id)
Renders a transparent gif using a script to save space. |
protected void |
renderVerticalSpacer(UIXRenderingContext context,
java.lang.Object height)
|
protected void |
startRenderingStyleElements(UIXRenderingContext context,
Style inlineStyle,
java.lang.Object className)
Renders the combination of inline and class style attributes as elements |
protected void |
startRenderingStyleElements(UIXRenderingContext context,
UINode node)
Renders the combination of inline and class style attributes as elements |
static boolean |
structureSatisfiesRole(UIXRenderingContext context,
UINode node,
NodeRole expectedRole)
|
static boolean |
supportsAdvancedButtons(UIXRenderingContext context)
Returns true if the agent supports the button tag. |
static boolean |
supportsAltRendersTooltipOnImage(UIXRenderingContext context)
Returns true if the agent supports alt as a tooltip on images |
static boolean |
supportsPartialRendering(UIXRenderingContext context)
Returns true if the agent supports partial rendering of content. |
static boolean |
supportsVAlign(UIXRenderingContext context)
Returns true if the agent supports vertical alignment |
static boolean |
supportsWrappingDisabled(UIXRenderingContext context)
Returns true if the agent supports wrapping |
static void |
writeAbsoluteImageURI(UIXRenderingContext context,
java.lang.String attribute,
java.lang.String uri)
|
Methods inherited from class org.apache.myfaces.trinidadinternal.ui.ElementRenderer |
---|
getElementName, getRenderer, renderAttribute, renderAttribute, renderAttribute, renderAttribute |
Methods inherited from class org.apache.myfaces.trinidadinternal.ui.BaseRenderer |
---|
getNextRenderedChildIndex, getNextRenderedChildNode, getVisibleIndexedChildCount, renderBetweenIndexedChildren, renderBetweenIndexedChildren, renderChild, renderContent, renderIndexedChild, renderIndexedChild, renderNamedChild, renderNamedChild, skipChild, skipNode |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String TRANSPARENT_GIF
Constructor Detail |
---|
public XhtmlLafRenderer()
Method Detail |
---|
public void render(UIXRenderingContext context, UINode node) throws java.io.IOException
render
in interface Renderer
render
in class BaseRenderer
context
- the rendering contextnode
- the current UINode
java.io.IOException
public boolean isSupportedNode(UIXRenderingContext context, UINode node)
public static boolean structureSatisfiesRole(UIXRenderingContext context, UINode node, NodeRole expectedRole)
node
- the structural role of this node is compared with expectedRoleexpectedRole
- the role that must be satisfied
public static boolean supportsPartialRendering(UIXRenderingContext context)
public static boolean supportsAdvancedButtons(UIXRenderingContext context)
button
tag.
public static boolean supportsVAlign(UIXRenderingContext context)
public static boolean supportsWrappingDisabled(UIXRenderingContext context)
public static boolean supportsAltRendersTooltipOnImage(UIXRenderingContext context)
public static boolean renderStyleElements(UIXRenderingContext context)
protected void prerender(UIXRenderingContext context, UINode node) throws java.io.IOException
prerender
in class ElementRenderer
context
- the rendering contextnode
- the current UINode
java.io.IOException
ElementRenderer.renderAttributes(org.apache.myfaces.trinidadinternal.ui.UIXRenderingContext, org.apache.myfaces.trinidadinternal.ui.UINode)
,
ElementRenderer.getElementName(org.apache.myfaces.trinidadinternal.ui.UIXRenderingContext, org.apache.myfaces.trinidadinternal.ui.UINode)
protected void postrender(UIXRenderingContext context, UINode node) throws java.io.IOException
postrender
in class ElementRenderer
context
- the rendering contextnode
- the current UINode
java.io.IOException
ElementRenderer.getElementName(org.apache.myfaces.trinidadinternal.ui.UIXRenderingContext, org.apache.myfaces.trinidadinternal.ui.UINode)
protected void renderShortDesc(UIXRenderingContext context, UINode node) throws java.io.IOException
java.io.IOException
protected void renderAttributesExceptID(UIXRenderingContext context, UINode node) throws java.io.IOException
java.io.IOException
protected void renderAttributes(UIXRenderingContext context, UINode node) throws java.io.IOException
ElementRenderer
renderAttributes
in class ElementRenderer
context
- the rendering contextnode
- the current UINode
java.io.IOException
protected final void renderNameAndID(UIXRenderingContext context, UINode node) throws java.io.IOException
This method is expected to be called by an override of
renderID
in renderers that render the above elements.
Such renderers should also override getID
to call
getIDOrName
.
java.io.IOException
getIDOrName(org.apache.myfaces.trinidadinternal.ui.UIXRenderingContext, org.apache.myfaces.trinidadinternal.ui.UINode)
,
getCachedIDOrName(org.apache.myfaces.trinidadinternal.ui.UIXRenderingContext, org.apache.myfaces.trinidadinternal.ui.UINode)
public static void renderScriptOnce(UIXRenderingContext context, java.lang.String script, java.lang.Object key) throws java.io.IOException
java.io.IOException
public static boolean isPreviouslyRendered(UIXRenderingContext context, java.lang.Object key)
key
- This key is used to set a property on the context to indicate
that this method has been previously called.
protected final java.lang.Object getIDOrName(UIXRenderingContext context, UINode node)
This method is expected to be called by an override of
getID
in renderers that render the above elements.
Such renderers should also override renderID
to call
renderNameAndID
.
renderNameAndID(org.apache.myfaces.trinidadinternal.ui.UIXRenderingContext, org.apache.myfaces.trinidadinternal.ui.UINode)
,
getCachedIDOrName(org.apache.myfaces.trinidadinternal.ui.UIXRenderingContext, org.apache.myfaces.trinidadinternal.ui.UINode)
protected final java.lang.Object getCachedIDOrName(UIXRenderingContext context, UINode node)
getIDOrName(org.apache.myfaces.trinidadinternal.ui.UIXRenderingContext, org.apache.myfaces.trinidadinternal.ui.UINode)
protected java.lang.Object getText(UIXRenderingContext context, UINode node)
protected java.lang.Object getStyleClass(UIXRenderingContext context, UINode node)
protected java.lang.Object getInlineStyle(UIXRenderingContext context, UINode node)
protected boolean doRenderStyleAttrs(UIXRenderingContext context, UINode node)
Clients 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.
renderStyleAttrs(org.apache.myfaces.trinidadinternal.ui.UIXRenderingContext, org.apache.myfaces.trinidadinternal.ui.UINode, java.lang.String)
public static void renderStyleAndClass(UIXRenderingContext context, java.lang.String inlineStyle, java.lang.Object styleClass) throws java.io.IOException
java.io.IOException
protected void renderStyleAttrs(UIXRenderingContext context, UINode node, java.lang.String defaultStyleClass) throws java.io.IOException
java.io.IOException
doRenderStyleAttrs(org.apache.myfaces.trinidadinternal.ui.UIXRenderingContext, org.apache.myfaces.trinidadinternal.ui.UINode)
,
BaseLafRenderer.supportsStyleAttributes(org.apache.myfaces.trinidadinternal.ui.UIXRenderingContext)
protected void renderStyleAttrs(UIXRenderingContext context, UINode node) throws java.io.IOException
java.io.IOException
doRenderStyleAttrs(org.apache.myfaces.trinidadinternal.ui.UIXRenderingContext, org.apache.myfaces.trinidadinternal.ui.UINode)
,
BaseLafRenderer.supportsStyleAttributes(org.apache.myfaces.trinidadinternal.ui.UIXRenderingContext)
protected final void renderInlineStyleAttribute(UIXRenderingContext context, UINode node) throws java.io.IOException
java.io.IOException
public static void renderInlineStyleAttribute(UIXRenderingContext context, java.lang.Object inlineStyle) throws java.io.IOException
java.io.IOException
public static void renderStyleClassAttributes(UIXRenderingContext context, java.lang.String styleClass1, java.lang.String styleClass2, java.lang.String inlineStyleString) throws java.io.IOException
inlineStyleString
- this is appended to the end of any inline styles
that are rendered. This is rendered regardless of whether any
other inline style is rendered.
java.io.IOException
public static void renderStyleClassAttributes(UIXRenderingContext context, java.lang.Object[] styleClasses) throws java.io.IOException
java.io.IOException
public static void renderStyleClassAttributes(UIXRenderingContext context, java.lang.Object[] styleClasses, java.lang.String inlineStyleString) throws java.io.IOException
renderInlineStyles
- if style classes aren't supported or
multiple style selectors aren't supported,
tells whether or not to render inline versions of stylesinlineStyleString
- this is appended to the end of any inline styles
that are rendered. This is rendered regardless of whether any
other inline style is rendered.
java.io.IOException
public static void renderStyleClassAttribute(UIXRenderingContext context, java.lang.Object styleClass) throws java.io.IOException
java.io.IOException
public static void renderShortStyleClassAttribute(UIXRenderingContext context, java.lang.Object shortStyleClass) throws java.io.IOException
java.io.IOException
XhtmlLafUtils.getShortStyleClass(org.apache.myfaces.trinidadinternal.ui.UIXRenderingContext, java.lang.Object)
public static void renderOnePixelLine(UIXRenderingContext context) throws java.io.IOException
context
- the RenderingContext
java.io.IOException
public static void renderScriptDeferAttribute(UIXRenderingContext context) throws java.io.IOException
Note: ResponseWriter.startElement("script", null) must be called before calling this method.
java.io.IOException
public static void renderScriptTypeAttribute(UIXRenderingContext context) throws java.io.IOException
Note: ResponseWriter.startElement("script", null) must be called before calling this method. [ =-= mll added 20-Apr-04 to address bug 3426092 ]
java.io.IOException
protected final void startRenderingStyleElements(UIXRenderingContext context, UINode node) throws java.io.IOException
java.io.IOException
protected final void startRenderingStyleElements(UIXRenderingContext context, Style inlineStyle, java.lang.Object className) throws java.io.IOException
java.io.IOException
protected void renderEventHandlers(UIXRenderingContext context, UINode node) throws java.io.IOException
java.io.IOException
protected java.lang.Object getOnClick(UIXRenderingContext context, UINode node)
protected java.lang.Object getOnDoubleClick(UIXRenderingContext context, UINode node)
protected java.lang.Object getOnKeyDown(UIXRenderingContext context, UINode node)
protected java.lang.Object getOnKeyPress(UIXRenderingContext context, UINode node)
protected java.lang.Object getOnKeyUp(UIXRenderingContext context, UINode node)
protected java.lang.Object getOnMouseDown(UIXRenderingContext context, UINode node)
protected java.lang.Object getOnMouseUp(UIXRenderingContext context, UINode node)
protected java.lang.Object getOnMouseOver(UIXRenderingContext context, UINode node)
protected java.lang.Object getOnMouseMove(UIXRenderingContext context, UINode node)
protected java.lang.Object getOnMouseOut(UIXRenderingContext context, UINode node)
protected void renderSpacer(UIXRenderingContext context, java.lang.Object width, java.lang.Object height, java.lang.Object id) throws java.io.IOException
java.io.IOException
protected void renderSpacer(UIXRenderingContext context, java.lang.Object width, java.lang.Object height) throws java.io.IOException
java.io.IOException
protected void renderSpacer(UIXRenderingContext context, java.lang.Integer width, java.lang.Integer height) throws java.io.IOException
java.io.IOException
protected void renderSpacer(UIXRenderingContext context, int width, int height) throws java.io.IOException
java.io.IOException
protected void renderHorizontalSpacer(UIXRenderingContext context, java.lang.String width) throws java.io.IOException
context
- width
-
java.io.IOException
protected void renderVerticalSpacer(UIXRenderingContext context, java.lang.Object height) throws java.io.IOException
java.io.IOException
protected void renderTransparent(UIXRenderingContext context, java.lang.String width, java.lang.String height, boolean needsQuoting) throws java.io.IOException
java.io.IOException
protected void renderTransparent(UIXRenderingContext context, java.lang.String width, java.lang.String height, boolean needsQuoting, java.lang.Object id) throws java.io.IOException
java.io.IOException
protected void renderIcon(UIXRenderingContext context, java.lang.Object iconURL, java.lang.Object width, java.lang.Object height) throws java.io.IOException
java.io.IOException
protected void renderIcon(UIXRenderingContext context, java.lang.Object iconURL, java.lang.Object width, java.lang.Object height, java.lang.Object id) throws java.io.IOException
java.io.IOException
protected final void renderIcon(UIXRenderingContext context, java.lang.Object iconURL, java.lang.Object width, java.lang.Object height, java.lang.Object id, java.lang.Object altText) throws java.io.IOException
java.io.IOException
protected void renderIcon(UIXRenderingContext context, java.lang.Object iconURL, int width, int height) throws java.io.IOException
java.io.IOException
protected void renderIcon(UIXRenderingContext context, java.lang.String iconAbsoluteURI, java.lang.String altTextKey, java.lang.Object destination, java.lang.Object anchor, java.lang.Object onClick, java.lang.Object imgAlign, java.lang.Object targetFrame, boolean isBlock) throws java.io.IOException
isBlock
- wether the icon should be rendered in block mode
java.io.IOException
protected void renderIcon(UIXRenderingContext context, java.lang.Object iconURL, java.lang.Object width, java.lang.Object height, boolean isBlock) throws java.io.IOException
java.io.IOException
protected void renderStretchedImage(UIXRenderingContext context, java.lang.String imageURL, int height) throws java.io.IOException
java.io.IOException
public static void writeAbsoluteImageURI(UIXRenderingContext context, java.lang.String attribute, java.lang.String uri) throws java.io.IOException
java.io.IOException
protected static void renderHAlign(UIXRenderingContext context, java.lang.Object hAlign) throws java.io.IOException
java.io.IOException
protected void renderHAlign(UIXRenderingContext context, UINode node) throws java.io.IOException
java.io.IOException
protected void renderAccessKeyText(UIXRenderingContext context, java.lang.Object textValue, int keyIndex, java.lang.String accessKeyClass) throws java.io.IOException
java.io.IOException
protected void renderAccessKeyText(UIXRenderingContext context, UINode node, java.lang.Object textValue, java.lang.String accesskeyClass) throws java.io.IOException
java.io.IOException
protected int getResolvedSelectedIndexFromCache(UIXRenderingContext context, UINode node)
public int getResolvedSelectedIndex(UIXRenderingContext context, UINode node)
protected static int getAccessKeyIndex(UIXRenderingContext context, UINode node, java.lang.Object textValue)
protected static void renderLayoutTableAttributes(UIXRenderingContext context, java.lang.Object cellspacing, java.lang.Object tableWidth) throws java.io.IOException
java.io.IOException
protected static void renderLayoutTableAttributes(UIXRenderingContext context, java.lang.Object cellpadding, java.lang.Object cellspacing, java.lang.Object tableWidth) throws java.io.IOException
java.io.IOException
protected static void renderLayoutTableAttributes(UIXRenderingContext context, java.lang.Object cellpadding, java.lang.Object cellspacing, java.lang.Object border, java.lang.Object tableWidth) throws java.io.IOException
java.io.IOException
protected static void renderLayoutTableAttributes(UIXRenderingContext context, java.lang.Object cellpadding, java.lang.Object cellspacing, java.lang.Object border, java.lang.Object tableWidth, java.lang.Object summary) throws java.io.IOException
java.io.IOException
protected static void renderLayoutTableHeader(UIXRenderingContext context, java.lang.Object cellspacing, java.lang.Object tableWidth) throws java.io.IOException
java.io.IOException
public static void renderAltAndTooltipForImage(UIXRenderingContext context, java.lang.Object textValue) throws java.io.IOException
java.io.IOException
protected boolean isTextFormatted(java.lang.Object textValue)
protected final void renderPossiblyFormattedText(UIXRenderingContext context, java.lang.Object textValue) throws java.io.IOException
java.io.IOException
protected final void renderFormattedText(UIXRenderingContext context, java.lang.Object textValue) throws java.io.IOException
java.io.IOException
protected final void renderRelatedLinksBlockStart(UIXRenderingContext context, java.lang.String blockTitleKey) throws java.io.IOException
blockTitleKey
- The resource key for this blocks title
java.io.IOException
protected final void renderRelatedLinksBlockEnd(UIXRenderingContext context) throws java.io.IOException
java.io.IOException
protected FormattedTextParser getFormattedTextParser(UIXRenderingContext context)
protected final void renderStyledText(UIXRenderingContext context, UINode node) throws java.io.IOException
java.io.IOException
protected void renderStyledText(UIXRenderingContext context, UINode node, boolean renderAccessKeys, boolean renderID) throws java.io.IOException
java.io.IOException
protected void addOnSubmitConverterValidators(UIXRenderingContext context, UINode node, java.lang.String requiredMessageKey) throws java.io.IOException
java.io.IOException
protected void addOnSubmitRequiredValidator(UIXRenderingContext context, UINode node, java.lang.String requiredMessageKey) throws java.io.IOException
java.io.IOException
public static java.lang.String getFlippedIconURI(UIXRenderingContext context, java.lang.String source)
protected java.lang.Object getFlippableURI(UIXRenderingContext context, UINode node, AttributeKey attrKey)
public static ImageProviderResponse getFlippedIcon(UIXRenderingContext context, java.lang.String sourceURI)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |