Class: LayoutHandler

Components.LayoutHandler

new Components.LayoutHandler (owner)object

LayoutComponent - sets owner's children position & dimentions to fit certain layout type.
Name Type Description
owner Core.Entity parent entity
Returns:
Type Description
object null

Members

Components.LayoutHandler.component_name String static

the component's name

layoutType UI.Layout

layout type

Methods

setDimentions (w, h)

updates dimensions in a layout conserving way
Name Type Description
w Number width
h Number height

update ()

update target's (owner) layout