|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.lessvoid.nifty.layout.manager.OverlayLayout
public class OverlayLayout
OverlayLayout doesn't layout things. It just forwards the size of the root box to the children.
Constructor Summary | |
---|---|
OverlayLayout()
|
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 rootElement,
List<LayoutPart> elements)
layoutElements. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OverlayLayout()
Method Detail |
---|
public final 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 element
public final 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 |