chrriis.uihierarchy.constraints
Interface LayoutHConstraints
- All Known Implementing Classes:
- BorderHConstraints, BoxHConstraints, ExplicitHConstraints, FlowHConstraints, FormHConstraints, GridBagHConstraints, NullHConstraints, SpringHConstraints
- public interface LayoutHConstraints
The interface that every layout constraints must extend.
- Version:
- 1.1 2003.11.03
- Author:
- Christopher Deckers (chrriis@brainlex.com)
createConstraints
public Object createConstraints(SingleLevelAccessor accessor,
Container parentContainer,
Object constraints)
- Create the constraints of a component. This method will return some
constraints, or null if none should be used, but can also set the
component's direct layout constraints.
- Parameters:
accessor
- The accessor of the level for which to create the
constraints.parentContainer
- The parent container.constraints
- The constraints of the component.
- Returns:
- The constraints to apply when the component will be added.