Module:libextPackage:wrap.extParent:BoxComponentCopyright (c) 2007, 2008 Point5U, LLC
Milescript - ExtJS Wrapper Library: Project Home | Documentation

wrap.ext.Container

Inheritance : Object : Observable : Component : BoxComponent

Constructors

Signature
public Container(ContainerConfig containerArguments)

Methods

NameSignature
addComponent add(Component component)
addComponent add(ComponentConfig component)
bubblevoid bubble(Function fn)
bubblevoid bubble(Function fn, Object scope)
bubblevoid bubble(Function fn, Object scope, Array<Object> args)
cascadevoid cascade(Function fn)
cascadevoid cascade(Function fn, Object scope)
cascadevoid cascade(Function fn, Object scope, Array<Object> args)
doLayoutvoid doLayout()
findArray<Component> find(String prop, String value)
findByArray<Component> findBy(Function fcn)
findByArray<Component> findBy(Function fcn, Object scope)
findByIdComponent findById(String id)
findByTypeArray<Component> findByType(Object classObject)
findByTypeArray<Component> findByType(String xtype)
getComponentComponent getComponent(String id)
getComponentComponent getComponent(int index)
getLayoutContainerLayout getLayout()
insertComponent insert(int index, Component component)
removevoid remove(String component)
removevoid remove(Component component)
removevoid remove(String component, boolean autoDestroy)
removevoid remove(Component component, boolean autoDestroy)

Properties

NameTypeComment
items
wrap.ext.util.MixedCollection

Constructors

public Container(ContainerConfig containerArguments)

Parameters

NameTypeDescription
containerArgumentswrap.ext.types.ContainerConfig



Methods

add

Component add(Component component)

Returns
wrap.ext.Component

Parameters

NameTypeDescription
componentwrap.ext.Component

add

Component add(ComponentConfig component)

Returns
wrap.ext.Component

Parameters

NameTypeDescription
componentwrap.ext.types.ComponentConfig

bubble

void bubble(Function fn)

Parameters

NameTypeDescription
fncore.Function

bubble

void bubble(Function fn, Object scope)

Parameters

NameTypeDescription
fncore.Function
scopecore.Object

bubble

void bubble(Function fn, Object scope, Array<Object> args)

Parameters

NameTypeDescription
fncore.Function
scopecore.Object
argscore.Array<core.Object>

cascade

void cascade(Function fn)

Parameters

NameTypeDescription
fncore.Function

cascade

void cascade(Function fn, Object scope)

Parameters

NameTypeDescription
fncore.Function
scopecore.Object

cascade

void cascade(Function fn, Object scope, Array<Object> args)

Parameters

NameTypeDescription
fncore.Function
scopecore.Object
argscore.Array<core.Object>

doLayout

void doLayout()


find

Array<Component> find(String prop, String value)

Returns
core.Array<wrap.ext.Component>

Parameters

NameTypeDescription
propcore.String
valuecore.String

findBy

Array<Component> findBy(Function fcn)

Returns
core.Array<wrap.ext.Component>

Parameters

NameTypeDescription
fcncore.Function

findBy

Array<Component> findBy(Function fcn, Object scope)

Returns
core.Array<wrap.ext.Component>

Parameters

NameTypeDescription
fcncore.Function
scopecore.Object

findById

Component findById(String id)

Returns
wrap.ext.Component

Parameters

NameTypeDescription
idcore.String

findByType

Array<Component> findByType(Object classObject)

Returns
core.Array<wrap.ext.Component>

Parameters

NameTypeDescription
classObjectcore.Object

findByType

Array<Component> findByType(String xtype)

Returns
core.Array<wrap.ext.Component>

Parameters

NameTypeDescription
xtypecore.String

getComponent

Component getComponent(String id)

Returns
wrap.ext.Component

Parameters

NameTypeDescription
idcore.String

getComponent

Component getComponent(int index)

Returns
wrap.ext.Component

Parameters

NameTypeDescription
indexcore.int

getLayout

ContainerLayout getLayout()

Returns
wrap.ext.layout.ContainerLayout

insert

Component insert(int index, Component component)

Returns
wrap.ext.Component

Parameters

NameTypeDescription
indexcore.int
componentwrap.ext.Component

remove

void remove(String component)

Parameters

NameTypeDescription
componentcore.String

remove

void remove(Component component)

Parameters

NameTypeDescription
componentwrap.ext.Component

remove

void remove(String component, boolean autoDestroy)

Parameters

NameTypeDescription
componentcore.String
autoDestroycore.boolean

remove

void remove(Component component, boolean autoDestroy)

Parameters

NameTypeDescription
componentwrap.ext.Component
autoDestroycore.boolean

Module:libextPackage:wrap.extParent:BoxComponentCopyright (c) 2007, 2008 Point5U, LLC
Milescript - ExtJS Wrapper Library: Project Home | Documentation