public interface GridLayoutTagDeclaration extends HasId, HasBorder, HasSpacing, HasMargin, HasMargins, HasColumnLayout, HasRowLayout, HasBinding, HasMarkup, HasCurrentMarkup
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 | LayoutManager 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 |
setColumnOverflow(String columnOverflow)
This attribute is a hint for the layout manager.
|
void |
setRigid(String rigid)
This attribute advises the layout manager, to not use space that comes from non rendered components.
|
void |
setRowOverflow(String rowOverflow)
This attribute is a hint for the layout manager.
|
setBorder
setCellspacing, setColumnSpacing, setRowSpacing
setMargin
setMarginBottom, setMarginLeft, setMarginRight, setMarginTop
setColumns
setRows
setBinding
setMarkup
setCurrentMarkup
void setColumnOverflow(String columnOverflow)
columnOverflow
- Does the component need a horizontal scrollbar?void setRowOverflow(String rowOverflow)
rowOverflow
- Does the component need a vertical scrollbar?void setRigid(String rigid)
Copyright © 2002-2014 The Apache Software Foundation. All Rights Reserved.