org.apache.myfaces.tobago.taglib.component
Interface GridLayoutTagDeclaration

All Superinterfaces:
HasBinding, HasBorder, HasCellspacing, HasColumnLayout, HasId, HasMargin, HasMargins, HasRowLayout, JspTag, Tag, TobagoTagDeclaration
All Known Implementing Classes:
GridLayoutTag

public interface GridLayoutTagDeclaration
extends TobagoTagDeclaration, HasId, HasBorder, HasCellspacing, HasMargin, HasMargins, HasColumnLayout, HasRowLayout, HasBinding

Renders a GridLayout.

 columns/rows ::= LAYOUT
 LAYOUT       ::= TOKEN [";" TOKEN]+
 TOKEN        ::= FIXED | PIXEL | PROPORTIONAL
 FIXED        ::= "fixed"
 PIXEL        ::= NUMBER "px"
 PROPORTIONAL ::= [NUMBER] "*"
 

Parent Child Okay? Remarks
FIXED any combination of FIXED or PIXEL but no PROPORTIONAL okay -
FIXED any combination with at least one PROPORTIONAL wrong LayoutManager cannot compute the fixed value.
PIXEL any combination of FIXED or PIXEL but no PROPORTIONAL potentially wrong The values depend on each other, the programmer has to keep consistency manually.
PIXEL any combination with at least one PROPORTIONAL okay -
PROPORTIONAL any combination of FIXED or PIXEL but no PROPORTIONAL potentially wrong No automatical matching:
  • too little space: scrollbar
  • too much space: elements will be spreaded.
PROPORTIONAL any combination with at least one PROPORTIONAL okay -


Field Summary
 
Fields inherited from interface javax.servlet.jsp.tagext.Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
 
Method Summary
 
Methods inherited from interface javax.servlet.jsp.tagext.Tag
doEndTag, doStartTag, getParent, release, setPageContext, setParent
 
Methods inherited from interface org.apache.myfaces.tobago.taglib.decl.HasId
setId
 
Methods inherited from interface org.apache.myfaces.tobago.taglib.decl.HasBorder
setBorder
 
Methods inherited from interface org.apache.myfaces.tobago.taglib.decl.HasCellspacing
setCellspacing
 
Methods inherited from interface org.apache.myfaces.tobago.taglib.decl.HasMargin
setMargin
 
Methods inherited from interface org.apache.myfaces.tobago.taglib.decl.HasMargins
setMarginBottom, setMarginLeft, setMarginRight, setMarginTop
 
Methods inherited from interface org.apache.myfaces.tobago.taglib.decl.HasColumnLayout
setColumns
 
Methods inherited from interface org.apache.myfaces.tobago.taglib.decl.HasRowLayout
setRows
 
Methods inherited from interface org.apache.myfaces.tobago.taglib.decl.HasBinding
setBinding
 



Copyright © 2002-2013 The Apache Software Foundation. All Rights Reserved.