Roo.util.Observable Roo.bootstrap.layout.Basic
Package: | Roo.bootstrap.layout |
Defined In: | Roo/bootstrap/layout/Basic.js. |
Class: | Basic |
Subclasses: | Roo.bootstrap.layout.Region |
Extends: | Roo.util.Observable |
Options | Defined By | |
---|---|---|
listeners : Object
list of events and functions to call for this object,
For example :
list of events and functions to call for this object,
For example :
|
Roo.util.Observable | |
The manager
The manager
|
Roo.bootstrap.layout.Basic | |
region : string
the region that it inhabits.
the region that it inhabits..
|
Roo.bootstrap.layout.Basic | |
skipConfig : bool
skip config?
skip config?
|
Roo.bootstrap.layout.Basic |
Method | Defined By | |
---|---|---|
new Roo.bootstrap.layout.Basic
()
Create a new Roo.bootstrap.layout.Basic
Create a new Roo.bootstrap.layout.Basic
|
||
add
(ContentPanel... panel)
:
Roo.ContentPanel
Add the passed ContentPanel(s)
Add the passed ContentPanel(s)
|
Roo.bootstrap.layout.Basic | |
addEvents
(Object object)
Used to define events on this Observable
Used to define events on this Observable
|
Roo.util.Observable | |
Appends an event handler to this component
Appends an event handler to this component
|
Roo.util.Observable | |
Fires the specified event with the passed parameters (minus the event name).
|
Roo.util.Observable | |
getActivePanel
()
:
Roo.ContentPanel
Get the active panel for this region.
Get the active panel for this region.
|
Roo.bootstrap.layout.Basic | |
getEl
()
:
Roo.Element
Returns the container element for this region.
Returns the container element for this region.
|
Roo.bootstrap.layout.Basic | |
getPanel
(Number/String/ContentPanel panel)
:
Roo.ContentPanel
Returns the panel specified or null if it's not in this region.
Returns the panel specified or null if it's not in this region.
|
Roo.bootstrap.layout.Basic | |
getPosition
()
:
String
Returns this regions position (north/south/east/west/center).
Returns this regions position (north/south/east/west/center).
|
Roo.bootstrap.layout.Basic | |
Roo.util.Observable | ||
Roo.bootstrap.layout.Basic | ||
isVisible
()
:
Boolean
Returns true if this region is currently visible.
Returns true if this region is currently visible.
|
Roo.bootstrap.layout.Basic | |
Appends an event handler to this element (shorthand for addListener)
Appends an event handler to this element (shorthand for addListener)
|
Roo.util.Observable | |
purgeListeners
()
Removes all listeners for this object
Removes all listeners for this object
|
Roo.util.Observable | |
Removes the specified panel.
Removes the specified panel. If preservePanel is not true (either here or in the config), the panel is destroyed.
|
Roo.bootstrap.layout.Basic | |
Roo.util.Observable | ||
resizeTo
(Number newSize)
Resizes the region to the specified size.
Resizes the region to the specified size. For vertical regions (west, east) this adjusts
the width, for horizontal (north, south) the height.
|
Roo.bootstrap.layout.Basic | |
showPanel
(Number/String/ContentPanel panelId)
:
Roo.ContentPanel
Show the specified panel.
Show the specified panel.
|
Roo.bootstrap.layout.Basic | |
Roo.util.Observable |