org.apache.myfaces.tobago.renderkit
Class RenderUtil
java.lang.Object
org.apache.myfaces.tobago.renderkit.RenderUtil
public class RenderUtil
- extends java.lang.Object
Method Summary |
static java.lang.String |
addMenuCheckToggle(java.lang.String clientId,
java.lang.String onClick)
|
static int |
calculateStringWidth(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent component,
java.lang.String text)
|
static int |
calculateStringWidth2(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent component,
java.lang.String text)
|
static boolean |
contains(java.lang.Object[] list,
java.lang.Object value)
|
static void |
encode(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent component)
|
static void |
encodeChildren(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent panel)
|
static java.lang.String |
getFormattedValue(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent component)
|
static java.lang.String |
getFormattedValue(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component,
java.lang.Object currentValue)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
COMPONENT_IN_REQUEST
public static final java.lang.String COMPONENT_IN_REQUEST
- See Also:
- Constant Field Values
RenderUtil
public RenderUtil()
contains
public static boolean contains(java.lang.Object[] list,
java.lang.Object value)
encodeChildren
public static void encodeChildren(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent panel)
throws java.io.IOException
- Throws:
java.io.IOException
encode
public static void encode(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent component)
throws java.io.IOException
- Throws:
java.io.IOException
addMenuCheckToggle
public static java.lang.String addMenuCheckToggle(java.lang.String clientId,
java.lang.String onClick)
getFormattedValue
public static java.lang.String getFormattedValue(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent component)
getFormattedValue
public static java.lang.String getFormattedValue(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component,
java.lang.Object currentValue)
throws javax.faces.convert.ConverterException
- Throws:
javax.faces.convert.ConverterException
calculateStringWidth2
public static int calculateStringWidth2(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent component,
java.lang.String text)
calculateStringWidth
public static int calculateStringWidth(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent component,
java.lang.String text)
Copyright © 2002-2014 The Apache Software Foundation. All Rights Reserved.