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:
- javax.faces.component.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(javax.faces.context.FacesContext context)
- Specified by:
saveState in interface javax.faces.component.StateHolder- Overrides:
saveState in class javax.faces.component.UIComponentBase
restoreState
public void restoreState(javax.faces.context.FacesContext context,
Object savedState)
- Specified by:
restoreState in interface javax.faces.component.StateHolder- Overrides:
restoreState in class javax.faces.component.UIComponentBase
getFamily
public String getFamily()
- Specified by:
getFamily in class javax.faces.component.UIComponent
getRendersChildren
public boolean getRendersChildren()
- Overrides:
getRendersChildren in class javax.faces.component.UIComponentBase
encodeChildren
public void encodeChildren(javax.faces.context.FacesContext context)
throws IOException
- Overrides:
encodeChildren in class javax.faces.component.UIComponentBase
- Throws:
IOException
encodeChildrenOfComponent
public void encodeChildrenOfComponent(javax.faces.context.FacesContext facesContext,
javax.faces.component.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(javax.faces.component.UIComponent component)
getSpanY
public static int getSpanY(javax.faces.component.UIComponent component)
isIgnoreFree
public boolean isIgnoreFree()
setIgnoreFree
public void setIgnoreFree(boolean ignoreFree)
Copyright © 2002-2010 Apache Software Foundation. All Rights Reserved.