public class VerticalLayout extends Object implements LayoutManager
| Constructor and Description |
|---|
VerticalLayout() |
| Modifier and Type | Method and Description |
|---|---|
SizeValue |
calculateConstraintHeight(LayoutPart root,
List<LayoutPart> children)
Calculates a new Height constraint.
|
SizeValue |
calculateConstraintWidth(LayoutPart root,
List<LayoutPart> children)
Calculates a new Width constraint.
|
void |
layoutElements(LayoutPart root,
List<LayoutPart> children)
Layout the given elements using the given root element as the
parent element.
|
public void layoutElements(LayoutPart root, List<LayoutPart> children)
LayoutManagerlayoutElements in interface LayoutManagerroot - root element all children belong tochildren - children elements of the root elementpublic SizeValue calculateConstraintWidth(LayoutPart root, List<LayoutPart> children)
LayoutManagercalculateConstraintWidth in interface LayoutManagerchildren - children elements of the root elementpublic SizeValue calculateConstraintHeight(LayoutPart root, List<LayoutPart> children)
LayoutManagercalculateConstraintHeight in interface LayoutManagerchildren - children elements of the root elementCopyright © 2013. All Rights Reserved.