Roo.util.Observable Roo.bootstrap.layout.Basic Roo.bootstrap.layout.Region
Package: | Roo.bootstrap.layout |
Defined In: | Roo/bootstrap/layout/Region.js. |
Class: | Region |
Extends: | Roo.bootstrap.layout.Basic |
Options | Defined By | |
---|---|---|
alwaysShowTabs : Boolean
True to always display tabs even when there is only 1 panel (defaults to false)
True to always display tabs even when there is only 1 panel (defaults to false)
|
Roo.bootstrap.layout.Region | |
animate : Boolean
True to animate expand/collapse (defaults to false)
True to animate expand/collapse (defaults to false)
|
Roo.bootstrap.layout.Region | |
autoHide : Boolean
False to disable auto hiding when the mouse leaves the "floated" region (defaults to true)
False to disable auto hiding when the mouse leaves the "floated" region (defaults to true)
|
Roo.bootstrap.layout.Region | |
autoScroll : Boolean
True to enable overflow scrolling (defaults to false)
True to enable overflow scrolling (defaults to false)
|
Roo.bootstrap.layout.Region | |
closeOnTab : Boolean
True to place the close icon on the tabs instead of the region titlebar (defaults to false)
True to place the close icon on the tabs instead of the region titlebar (defaults to false)
|
Roo.bootstrap.layout.Region | |
cls : string
Extra CSS classes to add to region
Extra CSS classes to add to region
|
Roo.bootstrap.layout.Region | |
cmargins : Object
Margins for the element when collapsed (defaults to: north/south {top: 2, left: 0, right:0, bottom: 2} or east/west {top: 0, left: 2, right:2, bottom: 0})
Margins for the element when collapsed (defaults to: north/south {top: 2, left: 0, right:0, bottom: 2} or east/west {top: 0, left: 2, right:2, bottom: 0})
|
Roo.bootstrap.layout.Region | |
disableTabTips : Boolean
True to disable tab tooltips
True to disable tab tooltips
|
Roo.bootstrap.layout.Region | |
height : Number
For North/South panels
For North/South panels
|
Roo.bootstrap.layout.Region | |
hidden : Boolean
True to start the region hidden (defaults to false)
True to start the region hidden (defaults to false)
|
Roo.bootstrap.layout.Region | |
hideTabs : Boolean
True to hide the tab strip (defaults to false)
True to hide the tab strip (defaults to false)
|
Roo.bootstrap.layout.Region | |
hideWhenEmpty : Boolean
True to hide the region when it has no panels
True to hide the region when it has no panels
|
Roo.bootstrap.layout.Region | |
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 | |
margins : Object
Margins for the element (defaults to {top: 0, left: 0, right:0, bottom: 0})
Margins for the element (defaults to {top: 0, left: 0, right:0, bottom: 0})
|
Roo.bootstrap.layout.Region | |
The manager
The manager
|
Roo.bootstrap.layout.Region | |
minTabWidth : Number
The minimum tab width (defaults to 40)
The minimum tab width (defaults to 40)
|
Roo.bootstrap.layout.Region | |
overflow : String
if you have menus in the region, then you need to set this to visible.
if you have menus in the region, then you need to set this to visible.
Possible Values: hidden, visible |
Roo.bootstrap.layout.Region | |
preferredTabWidth : Number
The preferred tab width (defaults to 150)
The preferred tab width (defaults to 150)
|
Roo.bootstrap.layout.Region | |
preservePanels : Boolean
True to preserve removed panels so they can be readded later (defaults to false)
True to preserve removed panels so they can be readded later (defaults to false)
|
Roo.bootstrap.layout.Region | |
region : string
the region that it inhabits.
the region that it inhabits..
|
Roo.bootstrap.layout.Region | |
resizeTabs : Boolean
True to enable automatic tab resizing.
True to enable automatic tab resizing. This will resize the tabs so they are all the same size and fit within
the space available, similar to FireFox 1.5 tabs (defaults to false) |
Roo.bootstrap.layout.Region | |
skipConfig : bool
skip config?
skip config?
|
Roo.bootstrap.layout.Basic | |
split : Boolean
To show the splitter
To show the splitter
|
Roo.bootstrap.layout.Region | |
tabPosition : String
"top" or "bottom" (defaults to "bottom")
"top" or "bottom" (defaults to "bottom")
Possible Values: top, bottom |
Roo.bootstrap.layout.Region | |
title : String
The title for the region (overrides panel titles)
The title for the region (overrides panel titles)
|
Roo.bootstrap.layout.Region | |
titlebar : Boolean
True to display a title bar (defaults to true)
True to display a title bar (defaults to true)
|
Roo.bootstrap.layout.Region | |
toolbar : Boolean
xtype configuration for a toolbar - shows on right of tabbar
xtype configuration for a toolbar - shows on right of tabbar
|
Roo.bootstrap.layout.Region | |
width : Number
For East/West panels
For East/West panels
|
Roo.bootstrap.layout.Region |
Method | Defined By | |
---|---|---|
new Roo.bootstrap.layout.Region
()
Create a new Roo.bootstrap.layout.Region
Create a new Roo.bootstrap.layout.Region
|
||
add
(ContentPanel... panel)
:
Roo.ContentPanel
Adds the passed ContentPanel(s) to this region.
Adds the passed ContentPanel(s) to this region.
|
Roo.bootstrap.layout.Region | |
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 | |
animateCollapse
(Boolean skipAnim)
Collapses this region.
Collapses this region.
|
Roo.bootstrap.layout.Region | |
animateExpand
(Roo.EventObject e, Boolean skipAnim)
Expands this region if it was previously collapsed.
Expands this region if it was previously collapsed.
|
Roo.bootstrap.layout.Region | |
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.Region | |
getBox
(String title)
Updates the title for collapsed north/south regions (used with {link collapsedTitle} config option)
Updates the title for collapsed north/south regions (used with {link collapsedTitle} config option)
|
Roo.bootstrap.layout.Region | |
getEl
()
:
Roo.Element
Returns the container element for this region.
Returns the container element for this region.
|
Roo.bootstrap.layout.Region | |
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 | |
getTabs
()
:
Roo.TabPanel
Returns the TabPanel component used by this region
Returns the TabPanel component used by this region
|
Roo.bootstrap.layout.Region | |
Roo.util.Observable | ||
Roo.bootstrap.layout.Basic | ||
hide
()
Hides this region.
Hides this region.
|
Roo.bootstrap.layout.Region | |
hidePanel
(Number/String/ContentPanel panel)
Hides the tab for the specified panel.
Hides the tab for the specified panel.
|
Roo.bootstrap.layout.Region | |
isVisible
()
:
Boolean
Returns true if this region is currently visible.
Returns true if this region is currently visible.
|
Roo.bootstrap.layout.Region | |
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.Region | |
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 | |
show
()
Shows this region if it was previously hidden.
Shows this region if it was previously hidden.
|
Roo.bootstrap.layout.Region | |
showPanel
(Number/String/ContentPanel panelId)
:
Roo.ContentPanel
Shows the specified panel.
Shows the specified panel.
|
Roo.bootstrap.layout.Region | |
Roo.util.Observable | ||
unhidePanel
(Number/String/ContentPanel panel)
Unhides the tab for a previously hidden panel.
Unhides the tab for a previously hidden panel.
|
Roo.bootstrap.layout.Region |