org.apache.myfaces.tobago.renderkit.html.example.standard.tag
Class InRenderer
java.lang.Object
javax.faces.render.Renderer
org.apache.myfaces.tobago.renderkit.RendererBase
org.apache.myfaces.tobago.renderkit.LayoutableRendererBase
org.apache.myfaces.tobago.renderkit.InputRendererBase
org.apache.myfaces.tobago.renderkit.html.scarborough.standard.tag.InRenderer
org.apache.myfaces.tobago.renderkit.html.example.standard.tag.InRenderer
- All Implemented Interfaces:
- AjaxRenderer, LayoutableRenderer, LayoutInformationProvider
public class InRenderer
- extends InRenderer
Simple example for dynamic markups.
The markup 'changeaware' tracks changes
of an input field and applies the style class 'example-changed' if the
current value differs from the original one.
The markup 'blink' highlights the input field with the markup related
style class 'tobago-in-markup-blink'. This class is removed after a
certain amount time, which is specified in the Blinker JavaScript object
in tobago.js.
| Methods inherited from class org.apache.myfaces.tobago.renderkit.LayoutableRendererBase |
getComponentExtraHeight, getComponentExtraWidth, getFixedHeight, getFixedSpace, getFixedWidth, getHeaderHeight, getMinimumHeight, getMinimumSize, getMinimumWidth, getPaddingHeight, getPaddingWidth, layoutBegin, layoutEnd |
| Methods inherited from class org.apache.myfaces.tobago.renderkit.RendererBase |
getConfiguredValue, getConvertedValue, getConverter, getCurrentValue, getCurrentValueAsObject, getFormattedValue, getPrepareRendersChildren, getRendererName, getValue, onComponentCreated, prepareRendersChildren |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InRenderer
public InRenderer()
applyExtraStyle
protected void applyExtraStyle(FacesContext facesContext,
UIInputBase input,
String currentValue)
- Overrides:
applyExtraStyle in class InRenderer
encodeEnd
public void encodeEnd(FacesContext facesContext,
UIComponent component)
throws IOException
- Specified by:
encodeEnd in interface LayoutableRenderer- Overrides:
encodeEnd in class InRenderer
- Throws:
IOException
Copyright © 2002-2008 Apache Software Foundation. All Rights Reserved.