Maven module :un.engine : engine-ui :
Class : un.engine.ui.widget.WContainer
Extends/Implements : un.engine.ui.widget.AbstractWidget
Subclasses : -

Widget containing other widgets.
author  Johann Sorel


Variables : PROPERTY_LAYOUT, mouseOver
Functions : WContainer, WContainer, addChild, getLayout, setLayout, startUpdatingLayout, endUpdatingLayout, startUpdatingContent, endUpdatingContent, receiveEventParent, receiveEventChildren, getOnSreenPosition, sendPropertyEvent



Property indicating when the layout changed.
public Chars PROPERTY_LAYOUT



protected boolean mouseOver


public void WContainer ()

public void WContainer (Layout layout)

public void addChild (Widget child, LayoutConstraint constraint)


Get container layout.
return  Layout never null
public Layout getLayout ()


Set container layout.
param  layout must not be null
public void setLayout (Layout layout)

protected void startUpdatingLayout ()

protected void endUpdatingLayout ()

protected void startUpdatingContent ()

protected void endUpdatingContent ()


Passthrough event to children.
param  event
protected void receiveEventParent (Event event)

protected void receiveEventChildren (Event event)

public Tuple getOnSreenPosition (Widget child)

protected void sendPropertyEvent (EventSource source, Chars name, Object oldValue, Object newValue)