public class TooltipRenderer extends DivPanelRenderer implements MetaComponentRenderer
Modifier and Type | Field and Description |
---|---|
static String |
BEFORE_HIDE |
static String |
BEFORE_SHOW |
static String |
HIDE |
static String |
SHOW |
Constructor and Description |
---|
TooltipRenderer() |
Modifier and Type | Method and Description |
---|---|
void |
decodeMetaComponent(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component,
String metaComponentId) |
protected void |
doDecode(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component)
Template method for custom decoding of concrete renderer.
|
protected void |
doEncodeBegin(javax.faces.context.ResponseWriter writer,
javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component)
Template method for custom start encoding of concrete renderer.
|
protected void |
doEncodeChildren(javax.faces.context.ResponseWriter writer,
javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component) |
protected void |
doEncodeEnd(javax.faces.context.ResponseWriter writer,
javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component)
Template method for custom finish encoding of concrete renderer.
|
void |
encodeMetaComponent(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component,
String metaComponentId) |
protected Class<? extends javax.faces.component.UIComponent> |
getComponentClass()
Get base component slass , targetted for this renderer.
|
Integer[] |
getOffset(AbstractTooltip tooltip) |
boolean |
getRendersChildren() |
protected JSObject |
getScriptObject(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component) |
protected Map<String,Object> |
getScriptObjectOptions(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component) |
protected String |
getStyleClass(javax.faces.component.UIComponent component) |
protected void |
writeJavaScript(javax.faces.context.ResponseWriter writer,
javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component) |
addOnCompleteParam, addOnCompleteParam, attributeAsString, attributeAsString, attributeAsStyle, attributeAsStyle, capitalize, doEncodeItemBegin, doEncodeItemEnd, getPassThroughAttributes, getStyle, styleElement
concatClasses, concatStyles, decode, encodeBegin, encodeChildren, encodeEnd, getResourcePath, getSkin, getUtils, isAlreadyRendered, preDecode, preEncodeBegin, queueComponentEventForBehaviorEvent, renderChildren
public static final String HIDE
public static final String SHOW
public static final String BEFORE_HIDE
public static final String BEFORE_SHOW
protected void doDecode(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component)
RendererBase
RendererBase.decode(FacesContext, UIComponent)
method.doDecode
in class RendererBase
protected void doEncodeBegin(javax.faces.context.ResponseWriter writer, javax.faces.context.FacesContext context, javax.faces.component.UIComponent component) throws IOException
RendererBase
RendererBase.encodeBegin(FacesContext, UIComponent)
method.doEncodeBegin
in class DivPanelRenderer
IOException
protected String getStyleClass(javax.faces.component.UIComponent component)
getStyleClass
in class DivPanelRenderer
protected JSObject getScriptObject(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component)
getScriptObject
in class DivPanelRenderer
protected Map<String,Object> getScriptObjectOptions(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component)
getScriptObjectOptions
in class DivPanelRenderer
public Integer[] getOffset(AbstractTooltip tooltip)
protected void doEncodeEnd(javax.faces.context.ResponseWriter writer, javax.faces.context.FacesContext context, javax.faces.component.UIComponent component) throws IOException
RendererBase
RendererBase.encodeEnd(FacesContext, UIComponent)
method.doEncodeEnd
in class DivPanelRenderer
IOException
protected void writeJavaScript(javax.faces.context.ResponseWriter writer, javax.faces.context.FacesContext context, javax.faces.component.UIComponent component) throws IOException
writeJavaScript
in class DivPanelRenderer
IOException
public void encodeMetaComponent(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component, String metaComponentId) throws IOException
encodeMetaComponent
in interface MetaComponentRenderer
IOException
public void decodeMetaComponent(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component, String metaComponentId)
decodeMetaComponent
in interface MetaComponentRenderer
protected Class<? extends javax.faces.component.UIComponent> getComponentClass()
RendererBase
getComponentClass
in class RendererBase
protected void doEncodeChildren(javax.faces.context.ResponseWriter writer, javax.faces.context.FacesContext context, javax.faces.component.UIComponent component) throws IOException
doEncodeChildren
in class RendererBase
IOException
public boolean getRendersChildren()
getRendersChildren
in class javax.faces.render.Renderer
Copyright © 2015 JBoss by Red Hat. All Rights Reserved.