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