public class OverlapContainer
extends ej.mwt.Container
In an overlap container, each child will have the position and size of the available space.
| Constructor and Description |
|---|
OverlapContainer() |
| Modifier and Type | Method and Description |
|---|---|
void |
addChild(ej.mwt.Widget child) |
void |
changeChildIndex(ej.mwt.Widget child,
int index) |
protected void |
computeContentOptimalSize(ej.mwt.util.Size size) |
void |
insertChild(ej.mwt.Widget child,
int index) |
protected void |
layOutChildren(int contentWidth,
int contentHeight) |
void |
removeAllChildren() |
void |
removeChild(ej.mwt.Widget child) |
void |
replaceChild(int index,
ej.mwt.Widget child) |
computeChildOptimalSize, getChild, getChildIndex, getChildren, getChildrenCount, getContentBounds, getContentHeight, getContentWidth, getContentX, getContentY, getWidgetAt, layOutChild, renderChild, renderContent, setHiddenChild, setHiddenChildren, setShownChild, setShownChildren, updateStyleaddClassSelector, contains, containsWidget, getAbsoluteX, getAbsoluteY, getDesktop, getHeight, getParent, getStyle, getWidth, getX, getY, handleEvent, hasClassSelector, isAttached, isEnabled, isInState, isShown, isTransparent, onAttached, onDetached, onHidden, onLaidOut, onShown, removeAllClassSelectors, removeClassSelector, render, requestLayOut, requestRender, requestRender, setClassSelectors, setEnabled, setPosition, setStylepublic void addChild(ej.mwt.Widget child)
addChild in class ej.mwt.Containerpublic void removeChild(ej.mwt.Widget child)
removeChild in class ej.mwt.Containerpublic void insertChild(ej.mwt.Widget child,
int index)
insertChild in class ej.mwt.Containerpublic void replaceChild(int index,
ej.mwt.Widget child)
replaceChild in class ej.mwt.Containerpublic void removeAllChildren()
removeAllChildren in class ej.mwt.Containerpublic void changeChildIndex(ej.mwt.Widget child,
int index)
changeChildIndex in class ej.mwt.Containerprotected void computeContentOptimalSize(ej.mwt.util.Size size)
computeContentOptimalSize in class ej.mwt.Widgetprotected void layOutChildren(int contentWidth,
int contentHeight)
layOutChildren in class ej.mwt.Container