|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.faces.render.Renderer
org.ajax4jsf.renderkit.RendererBase
org.ajax4jsf.renderkit.HeaderResourcesRendererBase
org.ajax4jsf.renderkit.AjaxComponentRendererBase
org.richfaces.renderkit.InputRendererBase
org.richfaces.renderkit.EditorRendererBase
public class EditorRendererBase
Editor component renderer base class.
Field Summary |
---|
Fields inherited from class org.ajax4jsf.renderkit.RendererBase |
---|
JAVASCRIPT_NAMESPACE |
Constructor Summary | |
---|---|
EditorRendererBase()
|
Method Summary | |
---|---|
protected void |
doDecode(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component)
|
protected java.lang.Class<? extends javax.faces.component.UIComponent> |
getComponentClass()
|
protected java.lang.String |
getConvertedStringValue(javax.faces.context.FacesContext context,
UIEditor component,
java.lang.Object value)
Method to get converted to String model value for component |
java.lang.Object |
getConvertedValue(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component,
java.lang.Object submittedValue)
|
protected java.lang.String |
getCssMappingSuffix(javax.faces.context.FacesContext context)
Method to get exact xcss resource URI suffix |
protected java.lang.String |
getFormattedComponentStringValue(javax.faces.context.FacesContext context,
UIEditor component)
Method to get converted to String model value or if validation not passed submitted value for component |
protected java.lang.String |
getSriptMappingSuffix(javax.faces.context.FacesContext context)
Method to get exact script resource URI suffix |
java.lang.String |
getTextAreaStyle(UIEditor component)
Method to get target textarea style if width or height attributes was determined |
boolean |
shouldRenderTinyMCE(UIEditor component)
Method to check if rendering of tinyMCE scripts needed. |
void |
writeEditorConfigurationAttributes(javax.faces.context.FacesContext context,
UIEditor component)
Method to write tinyMCE configuration script parameters from Editor component attributes. |
void |
writeEditorConfigurationParameters(javax.faces.context.FacesContext context,
UIEditor component)
Method to write tinyMCE configuration script parameters from property file if it was determined through Editor configuration attribute. |
void |
writeEditorCustomPluginsParameters(javax.faces.context.FacesContext context,
UIEditor component)
Method to write custom plugins script parameters from property file if it was determined through Editor configuration attribute. |
void |
writeEditorParameters(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component)
Method to write tinyMCE configuration script parameters which was defined as |
Methods inherited from class org.richfaces.renderkit.InputRendererBase |
---|
getInputValue |
Methods inherited from class org.ajax4jsf.renderkit.AjaxComponentRendererBase |
---|
getAdditionalScripts, getScripts |
Methods inherited from class org.ajax4jsf.renderkit.HeaderResourcesRendererBase |
---|
encodeResourcesArray, encodeToHead, getHeaderScripts, getHeaderStyles, getStyles |
Methods inherited from class org.ajax4jsf.renderkit.RendererBase |
---|
addResource, decode, doEncodeBegin, doEncodeChildren, doEncodeEnd, encodeBegin, encodeChildren, encodeEnd, getResource, getSkin, getUtils, preDecode, preEncodeBegin, renderChild, renderChildren |
Methods inherited from class javax.faces.render.Renderer |
---|
convertClientId, getRendersChildren |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.ajax4jsf.renderkit.HeaderResourceProducer2 |
---|
encodeToHead |
Constructor Detail |
---|
public EditorRendererBase()
Method Detail |
---|
protected java.lang.Class<? extends javax.faces.component.UIComponent> getComponentClass()
getComponentClass
in class org.richfaces.renderkit.InputRendererBase
public java.lang.Object getConvertedValue(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component, java.lang.Object submittedValue) throws javax.faces.convert.ConverterException
getConvertedValue
in class org.richfaces.renderkit.InputRendererBase
javax.faces.convert.ConverterException
protected java.lang.String getConvertedStringValue(javax.faces.context.FacesContext context, UIEditor component, java.lang.Object value)
context
- - faces context instancecomponent
- - component for which method is appliedvalue
- - component value
protected void doDecode(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component)
doDecode
in class org.richfaces.renderkit.InputRendererBase
protected java.lang.String getFormattedComponentStringValue(javax.faces.context.FacesContext context, UIEditor component)
context
- - faces context instancecomponent
- - component for which method is applied
protected java.lang.String getSriptMappingSuffix(javax.faces.context.FacesContext context)
context
- - faces context instance
protected java.lang.String getCssMappingSuffix(javax.faces.context.FacesContext context)
context
- - faces context instance
public void writeEditorConfigurationParameters(javax.faces.context.FacesContext context, UIEditor component) throws java.io.IOException
context
- - faces context instancecomponent
- - Editor component instance
java.io.IOException
public void writeEditorCustomPluginsParameters(javax.faces.context.FacesContext context, UIEditor component) throws java.io.IOException
context
- - faces context instancecomponent
- - Editor component instance
java.io.IOException
public void writeEditorConfigurationAttributes(javax.faces.context.FacesContext context, UIEditor component) throws java.io.IOException
context
- - faces context instancecomponent
- - Editor component instance
java.io.IOException
public void writeEditorParameters(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component) throws java.io.IOException
context
- - faces context instancecomponent
- - Editor component instance
java.io.IOException
public boolean shouldRenderTinyMCE(UIEditor component)
component
- - Editor component instance
public java.lang.String getTextAreaStyle(UIEditor component)
component
- - Editor component instance
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |