org.apache.myfaces.tobago.renderkit
Class RenderUtil
java.lang.Object
org.apache.myfaces.tobago.renderkit.RenderUtil
public class RenderUtil
- extends Object
Method Summary |
static String |
addMenuCheckToggle(String clientId,
String onClick)
|
static int |
calculateStringWidth(FacesContext facesContext,
UIComponent component,
String text)
|
static int |
calculateStringWidth2(FacesContext facesContext,
UIComponent component,
String text)
|
static boolean |
contains(Object[] list,
Object value)
|
static void |
encode(FacesContext facesContext,
UIComponent component)
|
static void |
encodeChildren(FacesContext facesContext,
UIComponent panel)
|
static String |
getFormattedValue(FacesContext facesContext,
UIComponent component)
|
static String |
getFormattedValue(FacesContext context,
UIComponent component,
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 String COMPONENT_IN_REQUEST
- See Also:
- Constant Field Values
RenderUtil
public RenderUtil()
contains
public static boolean contains(Object[] list,
Object value)
encodeChildren
public static void encodeChildren(FacesContext facesContext,
UIComponent panel)
throws IOException
- Throws:
IOException
encode
public static void encode(FacesContext facesContext,
UIComponent component)
throws IOException
- Throws:
IOException
addMenuCheckToggle
public static String addMenuCheckToggle(String clientId,
String onClick)
getFormattedValue
public static String getFormattedValue(FacesContext facesContext,
UIComponent component)
getFormattedValue
public static String getFormattedValue(FacesContext context,
UIComponent component,
Object currentValue)
throws ConverterException
- Throws:
ConverterException
calculateStringWidth2
public static int calculateStringWidth2(FacesContext facesContext,
UIComponent component,
String text)
calculateStringWidth
public static int calculateStringWidth(FacesContext facesContext,
UIComponent component,
String text)
Copyright © 2002-2011 The Apache Software Foundation. All Rights Reserved.