org.apache.myfaces.custom.effect
Class EffectRenderer
java.lang.Object
javax.faces.render.Renderer
org.apache.myfaces.shared_tomahawk.renderkit.html.HtmlRenderer
org.apache.myfaces.custom.effect.EffectRenderer
public class EffectRenderer
- extends org.apache.myfaces.shared_tomahawk.renderkit.html.HtmlRenderer
Fade field only currently the renderer is implemented and the tag, because we
do not store any extra functionality over a simple div in here
For the fade, we only need a simple renderer and a backend javascript
inclusion so that we can serve it out of the jar
- Version:
- $Revision: 673833 $ $Date: 2008-07-03 16:58:05 -0500 (Thu, 03 Jul 2008) $
- Author:
- Werner Punz werpu@gmx.at
Method Summary |
void |
encodeBegin(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component)
We only need an encodeBeing method because the fade control, does not
have any childs
The fading is done via a styleClass tag according to the FAT specs, for
now this is more flexible than embedding yet another tag in another tag
but less flexible for styleClass usage reasons (but you always can use
x:div for handling this issue in a proper manner)
we have to do a full overload unfortunately because it is altered
severely |
void |
encodeChildren(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent uiComponent)
|
void |
encodeEnd(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent component)
Standard encode end |
boolean |
getRendersChildren()
|
void |
renderEffectsBegin(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component)
|
Methods inherited from class org.apache.myfaces.shared_tomahawk.renderkit.html.HtmlRenderer |
getActionUrl, getChildCount, getChildren, getClientId, renderId, shouldRenderId, toUri |
Methods inherited from class javax.faces.render.Renderer |
convertClientId, decode, getConvertedValue |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RENDERER_TYPE
public static final java.lang.String RENDERER_TYPE
- See Also:
- Constant Field Values
TAG_PARAM_FADECOLOR
public static final java.lang.String TAG_PARAM_FADECOLOR
- See Also:
- Constant Field Values
TAG_PARAM_FADE
public static final java.lang.String TAG_PARAM_FADE
- See Also:
- Constant Field Values
TAG_PARAM_DURATION
public static final java.lang.String TAG_PARAM_DURATION
- See Also:
- Constant Field Values
TAG_PARAM_SQUISH
public static final java.lang.String TAG_PARAM_SQUISH
- See Also:
- Constant Field Values
TAG_PARAM_SCALE
public static final java.lang.String TAG_PARAM_SCALE
- See Also:
- Constant Field Values
TAG_PARAM_SCALE_SIZE
public static final java.lang.String TAG_PARAM_SCALE_SIZE
- See Also:
- Constant Field Values
TAG_PARAM_PUFF
public static final java.lang.String TAG_PARAM_PUFF
- See Also:
- Constant Field Values
TAG_PARAM_PULSATE
public static final java.lang.String TAG_PARAM_PULSATE
- See Also:
- Constant Field Values
EffectRenderer
public EffectRenderer()
getRendersChildren
public boolean getRendersChildren()
- Overrides:
getRendersChildren
in class javax.faces.render.Renderer
encodeBegin
public void encodeBegin(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component)
throws java.io.IOException
- We only need an encodeBeing method because the fade control, does not
have any childs
The fading is done via a styleClass tag according to the FAT specs, for
now this is more flexible than embedding yet another tag in another tag
but less flexible for styleClass usage reasons (but you always can use
x:div for handling this issue in a proper manner)
we have to do a full overload unfortunately because it is altered
severely
- Overrides:
encodeBegin
in class javax.faces.render.Renderer
- Throws:
java.io.IOException
renderEffectsBegin
public void renderEffectsBegin(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component)
throws java.io.IOException
- Throws:
java.io.IOException
encodeChildren
public void encodeChildren(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent uiComponent)
throws java.io.IOException
- Overrides:
encodeChildren
in class javax.faces.render.Renderer
- Throws:
java.io.IOException
encodeEnd
public void encodeEnd(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent component)
throws java.io.IOException
- Standard encode end
- Overrides:
encodeEnd
in class javax.faces.render.Renderer
- Throws:
java.io.IOException
Copyright © 2011 The Apache Software Foundation. All Rights Reserved.