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 | - |
Attributes |
Name | Required | Request-time | Type | Description |
id | false | true | java.lang.String | The component identifier for this component. This value must be unique within the closest parent component that is a naming container. |
border | false | true | java.lang.String | Border size of this component. |
cellspacing | false | true | java.lang.String | Spacing between component and layout cell's |
margin | false | true | java.lang.String | Margin between container component and layouted children. |
marginTop | false | true | java.lang.String | Top margin between container component and layouted children. |
marginRight | false | true | java.lang.String | Right margin between container component and layouted children. |
marginBottom | false | true | java.lang.String | Bottom margin between container component and layouted children. |
marginLeft | false | true | java.lang.String | Left margin between container component and layouted children. |
columns | false | true | java.lang.String | LayoutConstraints for column layout. Semicolon separated list of layout tokens ('*', '<x>*', '<x>px' or '<x>%'). Where '*' is equvalent to '1*'. |
rows | false | true | java.lang.String | LayoutConstraints for column layout. Semicolon separated list of layout tokens ('<x>*', '<x>px', '<x>%' or 'fixed'). |
binding | false | true | java.lang.String | The value binding expression linking this component to a property in a backing bean. |