public class AlignedContainer extends Container
asyncAddQueue, asyncRemoveAll, asyncRemoveQueue, children, renderNode
Constructor and Description |
---|
AlignedContainer()
Constructor.
|
AlignedContainer(java.lang.String id)
Constructor
|
Modifier and Type | Method and Description |
---|---|
protected ParentRenderNode<?,?> |
createRenderNode(ParentRenderNode<?,?> parent)
Creates the
ParentRenderNode for this UiElement |
HorizontalAlignment |
getHorizontalAlignment()
Returns the
HorizontalAlignment of this AlignedContainer |
VerticalAlignment |
getVerticalAlignment()
Returns the
VerticalAlignment of this AlignedContainer |
void |
setHorizontalAlignment(HorizontalAlignment horizontalAlignment)
Sets the
HorizontalAlignment of this AlignedContainer |
void |
setVerticalAlignment(VerticalAlignment verticalAlignment)
Sets the
VerticalAlignment of this AlignedContainer |
withElements, withElements
add, add, addAsync, attach, detach, get, getElementById, getFlexDirection, getHorizontalLayout, getTotalChildren, getVerticalLayout, isOverflowClipped, remove, remove, removeAll, removeAllAsync, removeAsync, setFlexDirection, setHorizontalLayout, setOverflowClipped, setStyleId, setVerticalLayout, setVisibility, setZIndex, syncWithRenderNode
addEffectListener, addHoverListener, applyEffect, defer, defer, equals, getId, getStyleId, getVisibility, getZIndex, hashCode, isDebugEnabled, notifyEffectListenersOnFinished, notifyHoverListenersOnBeginHover, notifyHoverListenersOnEndHover, processDeferred, removeEffectListener, removeHoverListener, setDebugEnabled
public AlignedContainer()
AlignedContainer
public AlignedContainer(java.lang.String id)
id
- The unique ID for this AlignedContainer
protected ParentRenderNode<?,?> createRenderNode(ParentRenderNode<?,?> parent)
ParentUiElement
ParentRenderNode
for this UiElement
createRenderNode
in class Column
parent
- The parent of this nodeParentRenderNode
public VerticalAlignment getVerticalAlignment()
VerticalAlignment
of this AlignedContainer
VerticalAlignment.MIDDLE
by defaultpublic void setVerticalAlignment(VerticalAlignment verticalAlignment)
VerticalAlignment
of this AlignedContainer
verticalAlignment
- public HorizontalAlignment getHorizontalAlignment()
HorizontalAlignment
of this AlignedContainer
HorizontalAlignment.CENTER
by defaultpublic void setHorizontalAlignment(HorizontalAlignment horizontalAlignment)
HorizontalAlignment
of this AlignedContainer
horizontalAlignment
-