public final class LayoutUtil
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static java.util.List<javax.faces.component.UIComponent> |
addChildren(java.util.List<javax.faces.component.UIComponent> children,
javax.faces.component.UIComponent panel) |
static int |
calculateFixedHeightForChildren(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent component) |
static boolean |
checkToken(java.lang.String columnToken) |
static boolean |
checkTokens(java.lang.String columns) |
static int |
getInnerSpace(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent component,
boolean width) |
static int |
getInnerSpace(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent component,
int outerSpace,
boolean width) |
static int |
getLabelWidth(javax.faces.component.UIComponent component) |
static java.lang.Integer |
getLayoutHeight(javax.faces.component.UIComponent component) |
static javax.faces.component.UIComponent |
getLayoutParent(javax.faces.component.UIComponent component) |
static java.lang.Integer |
getLayoutSpace(javax.faces.component.UIComponent component,
java.lang.String sizeAttribute,
java.lang.String layoutAttribute) |
static java.lang.Integer |
getLayoutWidth(javax.faces.component.UIComponent component) |
static java.awt.Dimension |
getMinimumSize(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent component) |
static boolean |
isNumberAndSuffix(java.lang.String token,
java.lang.String suffix) |
static boolean |
isTransparentForLayout(javax.faces.component.UIComponent component) |
static void |
maybeSetLayoutAttribute(javax.faces.component.UIComponent cell,
java.lang.String attribute,
java.lang.Integer value) |
static java.lang.String |
removeSuffix(java.lang.String token,
java.lang.String suffix) |
static void |
setFixLayoutTransparency(boolean fixLayoutTransparency) |
static java.lang.String |
stripNonNumericChars(java.lang.String token) |
public static int getInnerSpace(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent component, boolean width)
public static int getInnerSpace(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent component, int outerSpace, boolean width)
public static int getLabelWidth(javax.faces.component.UIComponent component)
public static java.lang.Integer getLayoutWidth(javax.faces.component.UIComponent component)
public static java.lang.Integer getLayoutHeight(javax.faces.component.UIComponent component)
public static java.lang.Integer getLayoutSpace(javax.faces.component.UIComponent component, java.lang.String sizeAttribute, java.lang.String layoutAttribute)
public static java.util.List<javax.faces.component.UIComponent> addChildren(java.util.List<javax.faces.component.UIComponent> children, javax.faces.component.UIComponent panel)
public static boolean isTransparentForLayout(javax.faces.component.UIComponent component)
public static javax.faces.component.UIComponent getLayoutParent(javax.faces.component.UIComponent component)
public static void maybeSetLayoutAttribute(javax.faces.component.UIComponent cell, java.lang.String attribute, java.lang.Integer value)
public static int calculateFixedHeightForChildren(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent component)
public static java.awt.Dimension getMinimumSize(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent component)
public static boolean checkTokens(java.lang.String columns)
public static boolean checkToken(java.lang.String columnToken)
public static java.lang.String stripNonNumericChars(java.lang.String token)
public static boolean isNumberAndSuffix(java.lang.String token, java.lang.String suffix)
public static java.lang.String removeSuffix(java.lang.String token, java.lang.String suffix)
public static void setFixLayoutTransparency(boolean fixLayoutTransparency)
Copyright © 2002-2015 The Apache Software Foundation. All Rights Reserved.