Roo.util.Observable Roo.BasicLayoutRegion
Package: | Roo |
Defined In: | Roo/BasicLayoutRegion.js. |
Class: | BasicLayoutRegion |
Subclasses: | Roo.LayoutRegion, Roo.SplitLayoutRegion, Roo.bootstrap.layout.Split |
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 |
Method | Defined By | |
---|---|---|
new Roo.BasicLayoutRegion
()
Create a new Roo.BasicLayoutRegion
Create a new Roo.BasicLayoutRegion
|
||
add
(ContentPanel... panel)
:
Roo.ContentPanel
Add the passed ContentPanel(s)
Add the passed ContentPanel(s)
|
Roo.BasicLayoutRegion | |
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.BasicLayoutRegion | |
getEl
()
:
Roo.Element
Returns the container element for this region.
Returns the container element for this region.
|
Roo.BasicLayoutRegion | |
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.BasicLayoutRegion | |
getPosition
()
:
String
Returns this regions position (north/south/east/west/center).
Returns this regions position (north/south/east/west/center).
|
Roo.BasicLayoutRegion | |
Roo.util.Observable | ||
Roo.BasicLayoutRegion | ||
isVisible
()
:
Boolean
Returns true if this region is currently visible.
Returns true if this region is currently visible.
|
Roo.BasicLayoutRegion | |
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.BasicLayoutRegion | |
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.BasicLayoutRegion | |
showPanel
(Number/String/ContentPanel panelId)
:
Roo.ContentPanel
Show the specified panel.
Show the specified panel.
|
Roo.BasicLayoutRegion | |
Roo.util.Observable |
Event | Defined By | |
---|---|---|
beforecollapse (Roo.LayoutRegion this)
Fires when this region before collapse.
Fires when this region before collapse.
|
Roo.BasicLayoutRegion | |
Fires before a panel is removed (or closed).
Fires before a panel is removed (or closed). To cancel the removal set "e.cancel = true" on the event argument.
|
Roo.BasicLayoutRegion | |
collapsed (Roo.LayoutRegion this)
Fires when this region is collapsed.
Fires when this region is collapsed.
|
Roo.BasicLayoutRegion | |
expanded (Roo.LayoutRegion this)
Fires when this region is expanded.
Fires when this region is expanded.
|
Roo.BasicLayoutRegion | |
invalidated (Roo.LayoutRegion this)
Fires when the layout for this region is changed.
Fires when the layout for this region is changed.
|
Roo.BasicLayoutRegion | |
panelactivated (Roo.LayoutRegion this, Roo.ContentPanel panel)
Fires when a panel is activated.
Fires when a panel is activated.
|
Roo.BasicLayoutRegion | |
paneladded (Roo.LayoutRegion this, Roo.ContentPanel panel)
Fires when a panel is added.
Fires when a panel is added.
|
Roo.BasicLayoutRegion | |
panelremoved (Roo.LayoutRegion this, Roo.ContentPanel panel)
Fires when a panel is removed.
Fires when a panel is removed.
|
Roo.BasicLayoutRegion | |
resized (Roo.LayoutRegion this, Number newSize)
Fires when the user resizes this region.
Fires when the user resizes this region.
|
Roo.BasicLayoutRegion | |
slidehide (Roo.LayoutRegion this)
Fires when this region slides out of view.
Fires when this region slides out of view.
|
Roo.BasicLayoutRegion | |
slideshow (Roo.LayoutRegion this)
Fires when this region is slid into view.
Fires when this region is slid into view.
|
Roo.BasicLayoutRegion | |
visibilitychange (Roo.LayoutRegion this, Boolean visibility)
Fires when this region is shown or hidden
Fires when this region is shown or hidden
|
Roo.BasicLayoutRegion |