This is a feature of JBuilder Professional and Enterprise.
In a PaneLayout
, the placement and size of each component is specified relative to the components that have already been added to the container. Each component specifies a PaneConstraints
object that tells the layout manager from which component to take space, and how much of its existing space to take. You use the PaneConstraints Editor to modify this information for each component.
Note: A component's PaneConstraints
object is applied to the container as it existed at the time the component was added to the container. The order in which you add the components to the container is very important.
You can access the PaneConstraints Editor from two places:
constraints
property in the Inspector.For more detailed information on PaneLayout
and its constraints, see the "Layout managers: PaneLayout" topic in Designing User Interfaces with JBuilder.
The name for this component. This is unique for all components in the container. You can use the default name assigned when the component is added to the container, or you can rename it with the name
property in the Inspector.
The name of the component from which space will be taken to make room for this component.
The edge of the splitComponentName
to which this component will be anchored. Valid values are:
Top | This component will be above the split component. |
Bottom | This component will be below the split component. |
Right | This component will be to the right of the split component. |
Left | This component will be to the left of the split component. |
Root | This component is the first component added to the container. |
The proportion of the split component that will be allocated to this component. Enter a number between 0 and 1.