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, updateStyle
addClassSelector, 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, setStyle
public void addChild(ej.mwt.Widget child)
addChild
in class ej.mwt.Container
public void removeChild(ej.mwt.Widget child)
removeChild
in class ej.mwt.Container
public void insertChild(ej.mwt.Widget child, int index)
insertChild
in class ej.mwt.Container
public void replaceChild(int index, ej.mwt.Widget child)
replaceChild
in class ej.mwt.Container
public void removeAllChildren()
removeAllChildren
in class ej.mwt.Container
public void changeChildIndex(ej.mwt.Widget child, int index)
changeChildIndex
in class ej.mwt.Container
protected void computeContentOptimalSize(ej.mwt.util.Size size)
computeContentOptimalSize
in class ej.mwt.Widget
protected void layOutChildren(int contentWidth, int contentHeight)
layOutChildren
in class ej.mwt.Container