public interface GridLayoutTagDeclaration extends HasId, HasBorder, HasSpacing, HasColumnLayout, HasRowLayout, HasBinding, IsVisual
columns/rows ::= LAYOUT LAYOUT ::= TOKEN [";" TOKEN]+ TOKEN ::= AUTO | PIXEL | PROPORTIONAL AUTO ::= "auto" | "fixed" PIXEL ::= NUMBER "px" PROPORTIONAL ::= [NUMBER] "*"
Parent | Child | Okay? | Remarks |
---|---|---|---|
AUTO | any combination of AUTO or PIXEL but no PROPORTIONAL | okay | - |
AUTO | any combination with at least one PROPORTIONAL | wrong | Layout manager cannot compute the auto value. |
PIXEL | any combination of AUTO 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 AUTO or PIXEL but no PROPORTIONAL | potentially wrong | No automatic matching:
|
PROPORTIONAL | any combination with at least one PROPORTIONAL | okay | - |
Modifier and Type | Method and Description |
---|---|
void |
setRigid(String rigid)
This attribute advises the layout manager, to not use space that comes from non rendered components.
|
setBorder
setColumnSpacing, setRowSpacing
setColumns
setRows
setBinding
setCurrentMarkup, setCustomClass, setMarkup, setStyle
void setRigid(String rigid)
Copyright © 2002–2015 The Apache Software Foundation. All rights reserved.