org.apache.myfaces.trinidadinternal.renderkit.core.desktop
Class ChartRenderer
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.desktop.ChartRenderer
- All Implemented Interfaces:
- java.lang.Cloneable, org.apache.myfaces.trinidad.render.TypedRenderer
public class ChartRenderer
- extends XhtmlRenderer
Renderer for Chart component
- Version:
- $Name: $ ($Revision: adfrt/faces/adf-faces-impl/src/main/java/oracle/adfinternal/view/faces/renderkit/core/desktop/TreeTableRenderer.java#0 $) $Date: 10-nov-2005.19:03:37 $
| Fields inherited from class org.apache.myfaces.trinidad.render.CoreRenderer |
CHAR_UNDEFINED, NO_CHILD_INDEX |
|
Method Summary |
protected void |
_outputJSChartModel(java.io.StringWriter sw,
javax.faces.component.UIComponent component)
|
protected void |
_outputJSChartObject(javax.faces.context.FacesContext context,
org.apache.myfaces.trinidad.context.RenderingContext rc,
java.io.StringWriter sw,
javax.faces.component.UIComponent component,
org.apache.myfaces.trinidad.bean.FacesBean bean)
|
protected void |
_outputSVGDocumentCreate(javax.faces.context.FacesContext context,
java.io.StringWriter sw,
javax.faces.component.UIComponent component,
org.apache.myfaces.trinidad.bean.FacesBean bean)
|
static void |
_writeJSInt(java.io.StringWriter sw,
java.lang.Integer value)
Encodes a int in JavaScript Object Notation. |
protected void |
decode(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent component,
org.apache.myfaces.trinidad.bean.FacesBean facesBean,
java.lang.String clientId)
|
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)
render all pieces of the chart |
protected void |
findTypeConstants(org.apache.myfaces.trinidad.bean.FacesBean.Type type)
|
protected java.lang.Integer |
getAnimationDuration(javax.faces.component.UIComponent component,
org.apache.myfaces.trinidad.bean.FacesBean bean)
|
protected java.lang.String |
getLegendPosition(javax.faces.component.UIComponent component,
org.apache.myfaces.trinidad.bean.FacesBean bean)
|
protected java.lang.Integer |
getMaxPrecision(javax.faces.component.UIComponent component,
org.apache.myfaces.trinidad.bean.FacesBean bean)
|
boolean |
getRendersChildren()
|
protected java.lang.String |
getTemplateSource(javax.faces.component.UIComponent component,
org.apache.myfaces.trinidad.bean.FacesBean bean)
|
protected java.lang.String |
getType(org.apache.myfaces.trinidad.bean.FacesBean bean)
|
protected java.lang.Integer |
getXMajorGridLineCount(javax.faces.component.UIComponent component,
org.apache.myfaces.trinidad.bean.FacesBean bean)
|
protected java.lang.Integer |
getYMajorGridLineCount(javax.faces.component.UIComponent component,
org.apache.myfaces.trinidad.bean.FacesBean bean)
|
protected java.lang.Integer |
getYMinorGridLineCount(javax.faces.component.UIComponent component,
org.apache.myfaces.trinidad.bean.FacesBean bean)
|
protected boolean |
isGradientsUsed(javax.faces.component.UIComponent component,
org.apache.myfaces.trinidad.bean.FacesBean bean)
|
protected boolean |
isPerspective(javax.faces.component.UIComponent component,
org.apache.myfaces.trinidad.bean.FacesBean bean)
|
protected boolean |
isTooltipsVisible(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)
Overrriden to always generate an id |
| Methods inherited from class org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.XhtmlRenderer |
canSkipRendering, canSkipRendering, cloneWithType, getAbsoluteImageUri, getBaseImageUri, getDefaultStyleClass, 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 |
ChartRenderer
public ChartRenderer()
findTypeConstants
protected void findTypeConstants(org.apache.myfaces.trinidad.bean.FacesBean.Type type)
- Overrides:
findTypeConstants in class XhtmlRenderer
decode
protected void decode(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent component,
org.apache.myfaces.trinidad.bean.FacesBean facesBean,
java.lang.String clientId)
- Overrides:
decode in class org.apache.myfaces.trinidad.render.CoreRenderer
getRendersChildren
public boolean getRendersChildren()
- Overrides:
getRendersChildren in class javax.faces.render.Renderer
- Returns:
shouldRenderId
protected boolean shouldRenderId(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component)
- Overrriden to always generate an id
- Overrides:
shouldRenderId in class XhtmlRenderer
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
- render all pieces of the chart
- Overrides:
encodeAll in class org.apache.myfaces.trinidad.render.CoreRenderer
- Throws:
java.io.IOException
_outputSVGDocumentCreate
protected void _outputSVGDocumentCreate(javax.faces.context.FacesContext context,
java.io.StringWriter sw,
javax.faces.component.UIComponent component,
org.apache.myfaces.trinidad.bean.FacesBean bean)
throws java.io.IOException
- Throws:
java.io.IOException
_outputJSChartModel
protected void _outputJSChartModel(java.io.StringWriter sw,
javax.faces.component.UIComponent component)
throws java.io.IOException
- Throws:
java.io.IOException
_outputJSChartObject
protected void _outputJSChartObject(javax.faces.context.FacesContext context,
org.apache.myfaces.trinidad.context.RenderingContext rc,
java.io.StringWriter sw,
javax.faces.component.UIComponent component,
org.apache.myfaces.trinidad.bean.FacesBean bean)
throws java.io.IOException
- Throws:
java.io.IOException
_writeJSInt
public static void _writeJSInt(java.io.StringWriter sw,
java.lang.Integer value)
throws java.io.IOException
- Encodes a int in JavaScript Object Notation.
- Parameters:
sw - the StringWritervalue - the Integer value
- Throws:
java.io.IOException
getType
protected java.lang.String getType(org.apache.myfaces.trinidad.bean.FacesBean bean)
getTemplateSource
protected java.lang.String getTemplateSource(javax.faces.component.UIComponent component,
org.apache.myfaces.trinidad.bean.FacesBean bean)
isPerspective
protected boolean isPerspective(javax.faces.component.UIComponent component,
org.apache.myfaces.trinidad.bean.FacesBean bean)
getLegendPosition
protected java.lang.String getLegendPosition(javax.faces.component.UIComponent component,
org.apache.myfaces.trinidad.bean.FacesBean bean)
getAnimationDuration
protected java.lang.Integer getAnimationDuration(javax.faces.component.UIComponent component,
org.apache.myfaces.trinidad.bean.FacesBean bean)
isGradientsUsed
protected boolean isGradientsUsed(javax.faces.component.UIComponent component,
org.apache.myfaces.trinidad.bean.FacesBean bean)
isTooltipsVisible
protected boolean isTooltipsVisible(javax.faces.component.UIComponent component,
org.apache.myfaces.trinidad.bean.FacesBean bean)
getYMajorGridLineCount
protected java.lang.Integer getYMajorGridLineCount(javax.faces.component.UIComponent component,
org.apache.myfaces.trinidad.bean.FacesBean bean)
getXMajorGridLineCount
protected java.lang.Integer getXMajorGridLineCount(javax.faces.component.UIComponent component,
org.apache.myfaces.trinidad.bean.FacesBean bean)
getYMinorGridLineCount
protected java.lang.Integer getYMinorGridLineCount(javax.faces.component.UIComponent component,
org.apache.myfaces.trinidad.bean.FacesBean bean)
getMaxPrecision
protected java.lang.Integer getMaxPrecision(javax.faces.component.UIComponent component,
org.apache.myfaces.trinidad.bean.FacesBean bean)
Copyright © 2001-2011 The Apache Software Foundation. All Rights Reserved.