org.apache.myfaces.tobago.taglib.component
Class GridLayoutTag

java.lang.Object
  extended by javax.faces.webapp.UIComponentTag
      extended by org.apache.myfaces.tobago.taglib.component.TobagoTag
          extended by org.apache.myfaces.tobago.taglib.component.GridLayoutTag
All Implemented Interfaces:
JspTag, Tag, GridLayoutTagDeclaration, TobagoTagDeclaration, HasBinding, HasBorder, HasCellspacing, HasColumnLayout, HasId, HasMargin, HasMargins, HasRowLayout

public class GridLayoutTag
extends TobagoTag
implements GridLayoutTagDeclaration


Field Summary
 
Fields inherited from class javax.faces.webapp.UIComponentTag
pageContext
 
Fields inherited from interface javax.servlet.jsp.tagext.Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
 
Constructor Summary
GridLayoutTag()
           
 
Method Summary
 String getBorder()
           
 String getCellspacing()
           
 String getColumns()
           
 String getComponentType()
           
 String getMargin()
           
 String getMarginBottom()
           
 String getMarginLeft()
           
 String getMarginRight()
           
 String getMarginTop()
           
 String getRows()
           
 void release()
           
 void setBorder(String border)
          Border size of this component.
 void setCellspacing(String cellspacing)
          Spacing between component and layout cell's
 void setColumns(String columns)
          LayoutConstraints for column layout.
 void setMargin(String margin)
          Margin between container component and layouted children.
 void setMarginBottom(String marginBottom)
          Bottom margin between container component and layouted children.
 void setMarginLeft(String marginLeft)
          Left margin between container component and layouted children.
 void setMarginRight(String marginRight)
          Right margin between container component and layouted children.
 void setMarginTop(String marginTop)
          Top margin between container component and layouted children.
protected  void setProperties(UIComponent component)
           
 void setRows(String rows)
          LayoutConstraints for column layout.
 
Methods inherited from class org.apache.myfaces.tobago.taglib.component.TobagoTag
doEndTag, doStartTag, getDisabled, getHeight, getHidden, getInline, getLabel, getReadonly, getRendererType, getTitle, getWidth, setDisabled, setHeight, setHidden, setInline, setLabel, setReadonly, setTitle, setWidth
 
Methods inherited from class javax.faces.webapp.UIComponentTag
encodeBegin, encodeChildren, encodeEnd, findComponent, getComponentInstance, getCreated, getDoEndValue, getDoStartValue, getFacesContext, getFacetName, getId, getParent, getParentUIComponentTag, isSuppressed, isValueReference, setBinding, setId, setPageContext, setParent, setRendered, setupResponseWriter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.servlet.jsp.tagext.Tag
doEndTag, doStartTag, getParent, setPageContext, setParent
 
Methods inherited from interface org.apache.myfaces.tobago.taglib.decl.HasId
setId
 
Methods inherited from interface org.apache.myfaces.tobago.taglib.decl.HasBinding
setBinding
 

Constructor Detail

GridLayoutTag

public GridLayoutTag()
Method Detail

getComponentType

public String getComponentType()
Specified by:
getComponentType in class UIComponentTag

setProperties

protected void setProperties(UIComponent component)
Overrides:
setProperties in class TobagoTag

release

public void release()
Specified by:
release in interface Tag
Overrides:
release in class TobagoTag

getBorder

public String getBorder()

setBorder

public void setBorder(String border)
Description copied from interface: HasBorder
Border size of this component.

Specified by:
setBorder in interface HasBorder

getCellspacing

public String getCellspacing()

setCellspacing

public void setCellspacing(String cellspacing)
Description copied from interface: HasCellspacing
Spacing between component and layout cell's

Specified by:
setCellspacing in interface HasCellspacing

getMargin

public String getMargin()

setMargin

public void setMargin(String margin)
Description copied from interface: HasMargin
Margin between container component and layouted children.

Specified by:
setMargin in interface HasMargin

getMarginTop

public String getMarginTop()

setMarginTop

public void setMarginTop(String marginTop)
Description copied from interface: HasMargins
Top margin between container component and layouted children.

Specified by:
setMarginTop in interface HasMargins

getMarginRight

public String getMarginRight()

setMarginRight

public void setMarginRight(String marginRight)
Description copied from interface: HasMargins
Right margin between container component and layouted children.

Specified by:
setMarginRight in interface HasMargins

getMarginBottom

public String getMarginBottom()

setMarginBottom

public void setMarginBottom(String marginBottom)
Description copied from interface: HasMargins
Bottom margin between container component and layouted children.

Specified by:
setMarginBottom in interface HasMargins

getMarginLeft

public String getMarginLeft()

setMarginLeft

public void setMarginLeft(String marginLeft)
Description copied from interface: HasMargins
Left margin between container component and layouted children.

Specified by:
setMarginLeft in interface HasMargins

getColumns

public String getColumns()

setColumns

public void setColumns(String columns)
Description copied from interface: HasColumnLayout
LayoutConstraints for column layout. Semicolon separated list of layout tokens ('*', '<x>*', '<x>px' or '<x>%'). Where '*' is equvalent to '1*'.

Specified by:
setColumns in interface HasColumnLayout

getRows

public String getRows()

setRows

public void setRows(String rows)
Description copied from interface: HasRowLayout
LayoutConstraints for column layout. Semicolon separated list of layout tokens ('<x>*', '<x>px', '<x>%' or 'fixed').

Specified by:
setRows in interface HasRowLayout


Copyright © 2002-2010 Apache Software Foundation. All Rights Reserved.