org.apache.myfaces.tobago.renderkit.util
Class RenderUtils
java.lang.Object
org.apache.myfaces.tobago.renderkit.util.RenderUtils
public class RenderUtils
- extends Object
|
Method Summary |
static Measure |
calculateStringWidth(FacesContext facesContext,
UIComponent component,
String text)
|
static Measure |
calculateStringWidth2(FacesContext facesContext,
UIComponent component,
String text)
|
static boolean |
contains(Object[] list,
Object value)
|
static String |
currentValue(UIComponent component)
|
static void |
encode(FacesContext facesContext,
UIComponent component)
|
static void |
encode(FacesContext facesContext,
UIComponent component,
List<? extends Class<? extends UIComponent>> only)
|
static void |
encodeChildren(FacesContext facesContext,
UIComponent panel)
|
static String |
getFormattedValue(FacesContext facesContext,
UIComponent component)
|
static String |
getFormattedValue(FacesContext context,
UIComponent component,
Object currentValue)
|
static List<SelectItem> |
getItems(UIInput component)
|
static List<SelectItem> |
getItemsToRender(UISelectMany component)
|
static List<SelectItem> |
getItemsToRender(UISelectOne component)
|
static List<SelectItem> |
getSelectItems(UIComponent component)
|
static void |
prepareRendererAll(FacesContext facesContext,
UIComponent component)
|
| 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
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
encode
public static void encode(FacesContext facesContext,
UIComponent component,
List<? extends Class<? extends UIComponent>> only)
throws IOException
- Throws:
IOException
prepareRendererAll
public static void prepareRendererAll(FacesContext facesContext,
UIComponent component)
throws IOException
- Throws:
IOException
getFormattedValue
public static String getFormattedValue(FacesContext facesContext,
UIComponent component)
getFormattedValue
public static String getFormattedValue(FacesContext context,
UIComponent component,
Object currentValue)
throws ConverterException
- Throws:
ConverterException
calculateStringWidth
public static Measure calculateStringWidth(FacesContext facesContext,
UIComponent component,
String text)
calculateStringWidth2
public static Measure calculateStringWidth2(FacesContext facesContext,
UIComponent component,
String text)
getItemsToRender
public static List<SelectItem> getItemsToRender(UISelectOne component)
getItemsToRender
public static List<SelectItem> getItemsToRender(UISelectMany component)
getItems
public static List<SelectItem> getItems(UIInput component)
currentValue
public static String currentValue(UIComponent component)
getSelectItems
public static List<SelectItem> getSelectItems(UIComponent component)
Copyright © 2002-2011 Apache Software Foundation. All Rights Reserved.