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(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent component,
String text)
|
static int |
calculateStringWidth2(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent component,
String text)
|
static boolean |
contains(Object[] list,
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 String |
getFormattedValue(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent component)
|
static String |
getFormattedValue(javax.faces.context.FacesContext context,
javax.faces.component.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(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent panel)
throws IOException
- Throws:
IOException
encode
public static void encode(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent component)
throws IOException
- Throws:
IOException
addMenuCheckToggle
public static String addMenuCheckToggle(String clientId,
String onClick)
getFormattedValue
public static String getFormattedValue(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent component)
getFormattedValue
public static String getFormattedValue(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component,
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,
String text)
calculateStringWidth
public static int calculateStringWidth(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent component,
String text)
Copyright © 2002-2010 Apache Software Foundation. All Rights Reserved.