org.apache.myfaces.tobago.component
Class UIGridLayout
java.lang.Object
javax.faces.component.UIComponent
javax.faces.component.UIComponentBase
org.apache.myfaces.tobago.component.UILayout
org.apache.myfaces.tobago.component.UIGridLayout
- All Implemented Interfaces:
- StateHolder
public class UIGridLayout
- extends UILayout
Methods inherited from class javax.faces.component.UIComponentBase |
addFacesListener, broadcast, decode, encodeBegin, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientId, getFacesContext, getFacesListeners, getFacet, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getValueBinding, isRendered, isTransient, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
COMPONENT_TYPE
public static final String COMPONENT_TYPE
- See Also:
- Constant Field Values
COMPONENT_FAMILY
public static final String COMPONENT_FAMILY
- See Also:
- Constant Field Values
FREE
public static final UIGridLayout.Marker FREE
USED
public static final String USED
- See Also:
- Constant Field Values
UIGridLayout
public UIGridLayout()
getRowLayout
public LayoutTokens getRowLayout()
getColumnLayout
public LayoutTokens getColumnLayout()
getMarginTop
public String getMarginTop()
getMarginRight
public String getMarginRight()
getMarginBottom
public String getMarginBottom()
getMarginLeft
public String getMarginLeft()
getMargin
public String getMargin()
getRows
public String getRows()
getColumns
public String getColumns()
getCellspacing
public String getCellspacing()
getBorder
public String getBorder()
setBorder
public void setBorder(String border)
setCellspacing
public void setCellspacing(String cellspacing)
setMargin
public void setMargin(String margin)
setMarginTop
public void setMarginTop(String marginTop)
setMarginRight
public void setMarginRight(String marginRight)
setMarginBottom
public void setMarginBottom(String marginBottom)
setMarginLeft
public void setMarginLeft(String marginLeft)
setColumns
public void setColumns(String columns)
setRows
public void setRows(String rows)
saveState
public Object saveState(FacesContext context)
- Specified by:
saveState
in interface StateHolder
- Overrides:
saveState
in class UIComponentBase
restoreState
public void restoreState(FacesContext context,
Object savedState)
- Specified by:
restoreState
in interface StateHolder
- Overrides:
restoreState
in class UIComponentBase
getFamily
public String getFamily()
- Specified by:
getFamily
in class UIComponent
getRendersChildren
public boolean getRendersChildren()
- Overrides:
getRendersChildren
in class UIComponentBase
encodeChildren
public void encodeChildren(FacesContext context)
throws IOException
- Overrides:
encodeChildren
in class UIComponentBase
- Throws:
IOException
encodeChildrenOfComponent
public void encodeChildrenOfComponent(FacesContext facesContext,
UIComponent component)
throws IOException
- Overrides:
encodeChildrenOfComponent
in class UILayout
- Throws:
IOException
getColumnCount
public int getColumnCount()
ensureRows
public List<UIGridLayout.Row> ensureRows()
getSpanX
public static int getSpanX(UIComponent component)
getSpanY
public static int getSpanY(UIComponent component)
isIgnoreFree
public boolean isIgnoreFree()
setIgnoreFree
public void setIgnoreFree(boolean ignoreFree)
Copyright © 2002-2011 The Apache Software Foundation. All Rights Reserved.