public class AbsolutePositionLayout extends Object implements LayoutManager
Modifier and Type | Class and Description |
---|---|
static class |
AbsolutePositionLayout.DefaultPostProcess |
static class |
AbsolutePositionLayout.KeepInsidePostProcess |
static interface |
AbsolutePositionLayout.PostProcess |
Constructor and Description |
---|
AbsolutePositionLayout() |
AbsolutePositionLayout(AbsolutePositionLayout.PostProcess post) |
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 rootElement,
List<LayoutPart> elements)
layoutElements.
|
public AbsolutePositionLayout()
public AbsolutePositionLayout(AbsolutePositionLayout.PostProcess post)
public void layoutElements(LayoutPart rootElement, List<LayoutPart> elements)
layoutElements
in interface LayoutManager
rootElement
- @see LayoutManager
elements
- @see LayoutManager
public final SizeValue calculateConstraintWidth(LayoutPart root, List<LayoutPart> children)
LayoutManager
calculateConstraintWidth
in interface LayoutManager
children
- children elements of the root elementpublic final SizeValue calculateConstraintHeight(LayoutPart root, List<LayoutPart> children)
LayoutManager
calculateConstraintHeight
in interface LayoutManager
children
- children elements of the root elementCopyright © 2013. All Rights Reserved.