public class Div extends ParentUiElement
UiElementsasyncRemoveAll, children, renderNodedeferredLayout, deferredRender, deferredUpdate, effects, height, styleId, visibility, width, x, y, zIndex| Constructor and Description | 
|---|
| Div()Constructor. | 
| Div(float x,
   float y,
   float width,
   float height)Constructor | 
| Div(java.lang.String id)Constructor | 
| Div(java.lang.String id,
   float x,
   float y,
   float width,
   float height)Constructor | 
| Modifier and Type | Method and Description | 
|---|---|
| protected ParentRenderNode<?,?> | createRenderNode(ParentRenderNode<?,?> parent)Creates the  ParentRenderNodefor thisUiElement | 
| StyleRule | getStyleRule() | 
| static Div | withElements(java.lang.String columnId,
            UiElement... elements) | 
| static Div | withElements(UiElement... elements) | 
add, add, attach, detach, get, getChild, getElementById, getFlexLayout, getRenderHeight, getRenderWidth, getRenderX, getRenderY, getTotalChildren, invokeBeginHover, invokeEndHover, isFlexLayout, isInitialLayoutOccurred, isInitialUpdateOccurred, isOverflowClipped, isRenderNodeDirty, remove, remove, removeAll, removeAllAsync, setFlex, setFlexLayout, setHeightFlex, setOverflowClipped, setRenderNodeDirty, setStyleId, setVisibility, setWidthFlex, setXFlex, setXYFlex, setYFlex, setZIndex, shrinkToContents, shrinkToContents, syncWithUpdateaddEffectListener, addHoverListener, addNodeStateListener, alignAbove, alignBelow, alignEdgeToEdge, alignLeftOf, alignRightOf, applyEffect, deferUntilLayout, deferUntilLayout, deferUntilRender, deferUntilRender, deferUntilUpdate, deferUntilUpdate, deferUntilUpdate, deferUntilUpdate, equals, getContentHeight, getContentWidth, getHeight, getId, getMarginBottom, getMarginLeft, getMarginRight, getMarginTop, getPaddingBottom, getPaddingLeft, getPaddingRight, getPaddingTop, getStyleId, getVisibility, getWidth, getX, getY, getZIndex, hashCode, isDebugEnabled, isInitialised, notifyEffectListenersOnFinished, notifyHoverListenersOnBeginHover, notifyHoverListenersOnEndHover, notifyNodeStateListeners, removeEffectListener, removeHoverListener, removeNodeStateListener, set, setContentHeight, setContentWidth, setDebugEnabled, setHeight, setHeightToContentHeightOf, setHeightToHeightOf, setWidth, setWidthToContentWidthOf, setWidthToWidthOf, setX, setXY, setY, snapTo, snapTo, syncWithLayout, syncWithRenderpublic Div()
Divpublic Div(java.lang.String id)
id - The unique ID for this Divpublic Div(float x,
           float y,
           float width,
           float height)
x - The x coordinate of this element relative to its parenty - The y coordinate of this element relative to its parentwidth - The width of this elementheight - The height of this elementpublic Div(java.lang.String id,
           float x,
           float y,
           float width,
           float height)
id - The unique ID for this element (if null an ID will be generated)x - The x coordinate of this element relative to its parenty - The y coordinate of this element relative to its parentwidth - The width of this elementheight - The height of this elementprotected ParentRenderNode<?,?> createRenderNode(ParentRenderNode<?,?> parent)
ParentUiElementParentRenderNode for this UiElementcreateRenderNode in class ParentUiElementparent - The parent of this nodeParentRenderNodepublic StyleRule getStyleRule()
getStyleRule in class UiElement