public class AlignedContainer extends Container
asyncAddQueue, asyncRemoveAll, asyncRemoveQueue, children, renderNode
deferredQueue, effects, styleId, visibility, zIndex
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, defer, detach, getElementById, getFlexDirection, getLayout, getTotalChildren, remove, remove, removeAll, removeAllAsync, removeAsync, setFlexDirection, setLayout, setStyleId, setVisibility, setZIndex, syncWithRenderNode
addEffectListener, addHoverListener, applyEffect, equals, getId, getStyleId, getVisibility, getZIndex, hashCode, isDebugEnabled, notifyEffectListenersOnFinished, notifyHoverListenersOnBeginHover, notifyHoverListenersOnEndHover, 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
-