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(FacesContext facesContext,
UIComponent component,
java.lang.String text)
|
static int |
calculateStringWidth2(FacesContext facesContext,
UIComponent component,
java.lang.String text)
|
static boolean |
contains(java.lang.Object[] list,
java.lang.Object value)
|
static void |
encode(FacesContext facesContext,
UIComponent component)
|
static void |
encodeChildren(FacesContext facesContext,
UIComponent panel)
|
static java.lang.String |
getFormattedValue(FacesContext facesContext,
UIComponent component)
|
static java.lang.String |
getFormattedValue(FacesContext context,
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(FacesContext facesContext,
UIComponent panel)
throws java.io.IOException
- Throws:
java.io.IOException
encode
public static void encode(FacesContext facesContext,
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(FacesContext facesContext,
UIComponent component)
getFormattedValue
public static java.lang.String getFormattedValue(FacesContext context,
UIComponent component,
java.lang.Object currentValue)
throws ConverterException
- Throws:
ConverterException
calculateStringWidth2
public static int calculateStringWidth2(FacesContext facesContext,
UIComponent component,
java.lang.String text)
calculateStringWidth
public static int calculateStringWidth(FacesContext facesContext,
UIComponent component,
java.lang.String text)
Copyright © 2002-2015 The Apache Software Foundation. All Rights Reserved.