chrriis.uihierarchy.constraints
Class BorderHConstraints
java.lang.Object
chrriis.uihierarchy.constraints.BorderHConstraints
- All Implemented Interfaces:
- LayoutHConstraints
- public class BorderHConstraints
- extends Object
- implements LayoutHConstraints
The constraints for a Border layout. Constraints are manipulated by the
createConstraints
method, if they are a String.
The possible constraints are (case is insensitive):
- center
- north
- south
- east
- west
- Version:
- 1.1 2003.11.03
- Author:
- Christopher Deckers (chrriis@brainlex.com)
BorderHConstraints
public BorderHConstraints()
createConstraints
public Object createConstraints(SingleLevelAccessor accessor,
Container parentContainer,
Object constraints)
- Create the constraints for a border layout, if the parameter is a String.
- Specified by:
createConstraints
in interface LayoutHConstraints
- 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 border layout constraints, or the original constraints if not a
String.