Package | Description |
---|---|
de.lessvoid.nifty.elements | |
de.lessvoid.nifty.layout | |
de.lessvoid.nifty.layout.manager | |
de.lessvoid.nifty.loaderv2 | |
de.lessvoid.nifty.loaderv2.types |
Modifier and Type | Method and Description |
---|---|
LayoutPart |
Element.getLayoutPart()
Get LayoutPart.
|
Constructor and Description |
---|
Element(Nifty newNifty,
ElementType newElementType,
String newId,
Element newParent,
LayoutPart newLayoutPart,
FocusHandler newFocusHandler,
boolean newVisibleToMouseEvents,
TimeProvider newTimeProvider,
ElementRenderer... newElementRenderer)
construct new instance of Element using the given layoutPart instance.
|
Modifier and Type | Method and Description |
---|---|
SizeValue |
LayoutPart.getMaxHeight(List<LayoutPart> children)
Calculates the maximum height of the given child elements.
|
SizeValue |
LayoutPart.getMaxWidth(List<LayoutPart> children)
Calculates the maximum width of the given child elements.
|
SizeValue |
LayoutPart.getSumHeight(List<LayoutPart> children)
Calculates the sum of the height of all children.
|
SizeValue |
LayoutPart.getSumWidth(List<LayoutPart> children)
Calculates the sum of the width of all children.
|
Constructor and Description |
---|
LayoutPart(LayoutPart src)
copy constructor.
|
Modifier and Type | Method and Description |
---|---|
SizeValue |
VerticalLayout.calculateConstraintHeight(LayoutPart root,
List<LayoutPart> children) |
SizeValue |
OverlayLayout.calculateConstraintHeight(LayoutPart root,
List<LayoutPart> children) |
SizeValue |
LayoutManager.calculateConstraintHeight(LayoutPart root,
List<LayoutPart> children)
Calculates a new Height constraint.
|
SizeValue |
HorizontalLayout.calculateConstraintHeight(LayoutPart root,
List<LayoutPart> children) |
SizeValue |
CenterLayout.calculateConstraintHeight(LayoutPart root,
List<LayoutPart> children) |
SizeValue |
AbsolutePositionLayout.calculateConstraintHeight(LayoutPart root,
List<LayoutPart> children) |
SizeValue |
VerticalLayout.calculateConstraintWidth(LayoutPart root,
List<LayoutPart> children) |
SizeValue |
OverlayLayout.calculateConstraintWidth(LayoutPart root,
List<LayoutPart> children) |
SizeValue |
LayoutManager.calculateConstraintWidth(LayoutPart root,
List<LayoutPart> children)
Calculates a new Width constraint.
|
SizeValue |
HorizontalLayout.calculateConstraintWidth(LayoutPart root,
List<LayoutPart> children) |
SizeValue |
CenterLayout.calculateConstraintWidth(LayoutPart root,
List<LayoutPart> children) |
SizeValue |
AbsolutePositionLayout.calculateConstraintWidth(LayoutPart root,
List<LayoutPart> children) |
void |
VerticalLayout.layoutElements(LayoutPart root,
List<LayoutPart> children) |
void |
OverlayLayout.layoutElements(LayoutPart rootElement,
List<LayoutPart> elements)
layoutElements.
|
void |
LayoutManager.layoutElements(LayoutPart root,
List<LayoutPart> children)
Layout the given elements using the given root element as the
parent element.
|
void |
HorizontalLayout.layoutElements(LayoutPart root,
List<LayoutPart> children)
Layout the elements.
|
void |
CenterLayout.layoutElements(LayoutPart rootElement,
List<LayoutPart> elements)
layoutElements.
|
void |
AbsolutePositionLayout.layoutElements(LayoutPart rootElement,
List<LayoutPart> elements)
layoutElements.
|
Modifier and Type | Method and Description |
---|---|
SizeValue |
VerticalLayout.calculateConstraintHeight(LayoutPart root,
List<LayoutPart> children) |
SizeValue |
OverlayLayout.calculateConstraintHeight(LayoutPart root,
List<LayoutPart> children) |
SizeValue |
LayoutManager.calculateConstraintHeight(LayoutPart root,
List<LayoutPart> children)
Calculates a new Height constraint.
|
SizeValue |
HorizontalLayout.calculateConstraintHeight(LayoutPart root,
List<LayoutPart> children) |
SizeValue |
CenterLayout.calculateConstraintHeight(LayoutPart root,
List<LayoutPart> children) |
SizeValue |
AbsolutePositionLayout.calculateConstraintHeight(LayoutPart root,
List<LayoutPart> children) |
SizeValue |
VerticalLayout.calculateConstraintWidth(LayoutPart root,
List<LayoutPart> children) |
SizeValue |
OverlayLayout.calculateConstraintWidth(LayoutPart root,
List<LayoutPart> children) |
SizeValue |
LayoutManager.calculateConstraintWidth(LayoutPart root,
List<LayoutPart> children)
Calculates a new Width constraint.
|
SizeValue |
HorizontalLayout.calculateConstraintWidth(LayoutPart root,
List<LayoutPart> children) |
SizeValue |
CenterLayout.calculateConstraintWidth(LayoutPart root,
List<LayoutPart> children) |
SizeValue |
AbsolutePositionLayout.calculateConstraintWidth(LayoutPart root,
List<LayoutPart> children) |
void |
VerticalLayout.layoutElements(LayoutPart root,
List<LayoutPart> children) |
void |
OverlayLayout.layoutElements(LayoutPart rootElement,
List<LayoutPart> elements)
layoutElements.
|
void |
LayoutManager.layoutElements(LayoutPart root,
List<LayoutPart> children)
Layout the given elements using the given root element as the
parent element.
|
void |
HorizontalLayout.layoutElements(LayoutPart root,
List<LayoutPart> children)
Layout the elements.
|
void |
CenterLayout.layoutElements(LayoutPart rootElement,
List<LayoutPart> elements)
layoutElements.
|
void |
AbsolutePositionLayout.layoutElements(LayoutPart rootElement,
List<LayoutPart> elements)
layoutElements.
|
Modifier and Type | Method and Description |
---|---|
LayoutPart |
RootLayerFactory.createRootLayerLayoutPart(Nifty nifty) |
Modifier and Type | Method and Description |
---|---|
Element |
ElementType.create(Element parent,
Nifty nifty,
Screen screen,
LayoutPart layoutPart) |
Copyright © 2013. All Rights Reserved.