java.lang.Object | |||||
↳ | javax.faces.component.UIComponent | ||||
↳ | javax.faces.component.UIComponentBase | ||||
↳ | org.apache.myfaces.tobago.internal.component.AbstractUILayoutBase | ||||
↳ | org.apache.myfaces.tobago.internal.component.AbstractUIGridLayout | ||||
↳ | org.apache.myfaces.tobago.component.UIGridLayout |
Renders a GridLayout.
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 | - |
component1.2.stg
with class
org.apache.myfaces.tobago.internal.taglib.component.GridLayoutTagDeclaration.
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
String | COMPONENT_FAMILY | ||||||||||
String | COMPONENT_TYPE |
[Expand]
Inherited Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Border size of this component.
| |||||||||||
Spacing between component and layout cell's.
| |||||||||||
Spacing between the columns in the actual layout.
| |||||||||||
This value defines the layout constraints for column layout.
| |||||||||||
Margin between container component and the children.
| |||||||||||
Bottom margin between container component and the children.
| |||||||||||
Left margin between container component and the children.
| |||||||||||
Right margin between container component and the children.
| |||||||||||
Top margin between container component and the children.
| |||||||||||
Spacing between the rows in the actual layout.
| |||||||||||
This value defines the layout constraints for column layout.
| |||||||||||
This attribute is a hint for the layout manager.
| |||||||||||
This attribute is a hint for the layout manager.
| |||||||||||
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() |
Spacing between component and layout cell's. Can be overwritten by columnSpacing and rowSpacing.@deprecated
This value defines the layout constraints for column layout.
It is a semicolon separated list of layout tokens '[<n>]*', '<n>px' or 'auto'.
Where <n> is a non negative integer and the square brackets means optional.
Example: '2*;*;100px;auto'.
Default: 1*
This value defines the layout constraints for column layout.
It is a semicolon separated list of layout tokens '[<n>]*', '<n>px' or 'auto'.
Where <n> is a non negative integer and the square brackets means optional.
Example: '2*;*;100px;auto'.
Default: 1*
This attribute is a hint for the layout manager. Should not be used in most cases.
This attribute is a hint for the layout manager. Should not be used in most cases.