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

wrap.ext.Panel

Inheritance : Object : Observable : Component : BoxComponent : Container

Constructors

Signature
public Panel()
public Panel(PanelConfig options)

Methods

NameSignature
addButtonButton addButton(ButtonConfig config, Function handler, Object scope)
addButtonButton addButton(String config, Function handler, Object scope)
addButtonButton addButton(ButtonConfig config, DefaultExtDelegate handler, Object scope)
collapsePanel collapse(boolean animate)
expandPanel expand(boolean animate)
getBottomToolbarToolbar getBottomToolbar()
getBoxBox getBox()
getBoxBox getBox(boolean local)
getFrameHeightint getFrameHeight()
getFrameWidthint getFrameWidth()
getInnerHeightint getInnerHeight()
getInnerWidthint getInnerWidth()
getTopToolbarToolbar getTopToolbar()
getUpdaterUpdater getUpdater()
loadPanel load(Function config)
loadPanel load(LoadOptions config)
loadPanel load(String config)
setIconClassvoid setIconClass(String cls)
setTitlevoid setTitle(String title)
setTitlevoid setTitle(String title, String iconCls)
toggleCollapsePanel toggleCollapse(boolean animate)

Properties

NameTypeComment
body
wrap.ext.Element
buttons
core.Array<wrap.ext.Button>
footer
wrap.ext.Element
header
wrap.ext.Element

Constructors

public Panel()


public Panel(PanelConfig options)

Parameters

NameTypeDescription
optionswrap.ext.types.PanelConfig



Methods

addButton

Button addButton(ButtonConfig config, Function handler, Object scope)

Returns
wrap.ext.Button

Parameters

NameTypeDescription
configwrap.ext.types.ButtonConfig
handlercore.Function
scopecore.Object

addButton

Button addButton(String config, Function handler, Object scope)

Returns
wrap.ext.Button

Parameters

NameTypeDescription
configcore.String
handlercore.Function
scopecore.Object

addButton

Button addButton(ButtonConfig config, DefaultExtDelegate handler, Object scope)

Returns
wrap.ext.Button

Parameters

NameTypeDescription
configwrap.ext.types.ButtonConfig
handlerwrap.ext.types.DefaultExtDelegate
scopecore.Object

collapse

Panel collapse(boolean animate)

Returns
wrap.ext.Panel

Parameters

NameTypeDescription
animatecore.boolean

expand

Panel expand(boolean animate)

Returns
wrap.ext.Panel

Parameters

NameTypeDescription
animatecore.boolean

getBottomToolbar

Toolbar getBottomToolbar()

Returns
wrap.ext.Toolbar

getBox

Box getBox()

Returns
wrap.ext.types.Box

getBox

Box getBox(boolean local)

Returns
wrap.ext.types.Box

Parameters

NameTypeDescription
localcore.boolean

getFrameHeight

int getFrameHeight()

Returns
core.int

getFrameWidth

int getFrameWidth()

Returns
core.int

getInnerHeight

int getInnerHeight()

Returns
core.int

getInnerWidth

int getInnerWidth()

Returns
core.int

getTopToolbar

Toolbar getTopToolbar()

Returns
wrap.ext.Toolbar

getUpdater

Updater getUpdater()

Returns
wrap.ext.Updater

load

Panel load(Function config)

Returns
wrap.ext.Panel

Parameters

NameTypeDescription
configcore.Function

load

Panel load(LoadOptions config)

Returns
wrap.ext.Panel

Parameters

NameTypeDescription
configwrap.ext.types.LoadOptions

load

Panel load(String config)

Returns
wrap.ext.Panel

Parameters

NameTypeDescription
configcore.String

setIconClass

void setIconClass(String cls)

Parameters

NameTypeDescription
clscore.String

setTitle

void setTitle(String title)

Parameters

NameTypeDescription
titlecore.String

setTitle

void setTitle(String title, String iconCls)

Parameters

NameTypeDescription
titlecore.String
iconClscore.String

toggleCollapse

Panel toggleCollapse(boolean animate)

Returns
wrap.ext.Panel

Parameters

NameTypeDescription
animatecore.boolean

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