|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.lessvoid.nifty.layout.manager.VerticalLayout
public class VerticalLayout
A VerticalLayout implementation of the LayoutManager interface. The children elements are arranged in a vertical form in relation to the root element.
Constructor Summary | |
---|---|
VerticalLayout()
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public VerticalLayout()
Method Detail |
---|
public void layoutElements(LayoutPart root, List<LayoutPart> children)
LayoutManager
layoutElements
in interface LayoutManager
root
- root element all children belong tochildren
- children elements of the root elementpublic SizeValue calculateConstraintWidth(LayoutPart root, List<LayoutPart> children)
LayoutManager
calculateConstraintWidth
in interface LayoutManager
children
- children elements of the root element
public SizeValue calculateConstraintHeight(LayoutPart root, List<LayoutPart> children)
LayoutManager
calculateConstraintHeight
in interface LayoutManager
children
- children elements of the root element
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |