public interface GridLayoutTagDeclaration extends TobagoTagDeclaration, HasId, HasBorder, HasCellspacing, HasMargin, HasMargins, HasColumnLayout, HasRowLayout, HasBinding
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:
|
PROPORTIONAL | any combination with at least one PROPORTIONAL | okay | - |
doEndTag, doStartTag, getParent, release, setPageContext, setParent
setCellspacing
setMarginBottom, setMarginLeft, setMarginRight, setMarginTop
setColumns
setRows
setBinding
Copyright © 2002-2015 The Apache Software Foundation. All Rights Reserved.