Roo.util.Observable Roo.BasicLayoutRegion Roo.LayoutRegion Roo.SplitLayoutRegion
Package: | Roo |
Defined In: | Roo/SplitLayoutRegion.js. |
Class: | SplitLayoutRegion |
Extends: | Roo.LayoutRegion |
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.LayoutRegion | |
animate : Boolean
True to animate expand/collapse (defaults to false)
True to animate expand/collapse (defaults to false)
|
Roo.LayoutRegion | |
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.LayoutRegion | |
autoScroll : Boolean
True to enable overflow scrolling (defaults to false)
True to enable overflow scrolling (defaults to false)
|
Roo.LayoutRegion | |
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.LayoutRegion | |
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.LayoutRegion | |
collapsed : Boolean
True to set the initial display to collapsed (defaults to false)
True to set the initial display to collapsed (defaults to false)
|
Roo.LayoutRegion | |
collapsedTitle : String
Optional string message to display in the collapsed block of a north or south region
Optional string message to display in the collapsed block of a north or south region
|
Roo.LayoutRegion | |
collapsible : Boolean
False to disable collapsing (defaults to true)
False to disable collapsing (defaults to true)
|
Roo.LayoutRegion | |
disableTabTips : Boolean
True to disable tab tooltips
True to disable tab tooltips
|
Roo.LayoutRegion | |
floatable : Boolean
False to disable floating (defaults to true)
False to disable floating (defaults to true)
|
Roo.LayoutRegion | |
height : Number
For North/South panels
For North/South panels
|
Roo.LayoutRegion | |
hidden : Boolean
True to start the region hidden (defaults to false)
True to start the region hidden (defaults to false)
|
Roo.LayoutRegion | |
hideTabs : Boolean
True to hide the tab strip (defaults to false)
True to hide the tab strip (defaults to false)
|
Roo.LayoutRegion | |
hideWhenEmpty : Boolean
True to hide the region when it has no panels
True to hide the region when it has no panels
|
Roo.LayoutRegion | |
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.LayoutRegion | |
minTabWidth : Number
The minimum tab width (defaults to 40)
The minimum tab width (defaults to 40)
|
Roo.LayoutRegion | |
preferredTabWidth : Number
The preferred tab width (defaults to 150)
The preferred tab width (defaults to 150)
|
Roo.LayoutRegion | |
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.LayoutRegion | |
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.LayoutRegion | |
showPin : Boolean
True to show a pin button
True to show a pin button
|
Roo.LayoutRegion | |
split : Boolean
To show the splitter
To show the splitter
|
Roo.LayoutRegion | |
tabPosition : String
"top" or "bottom" (defaults to "bottom")
"top" or "bottom" (defaults to "bottom")
Possible Values: top, bottom |
Roo.LayoutRegion | |
title : String
The title for the region (overrides panel titles)
The title for the region (overrides panel titles)
|
Roo.LayoutRegion | |
titlebar : Boolean
True to display a title bar (defaults to true)
True to display a title bar (defaults to true)
|
Roo.LayoutRegion | |
toolbar : Boolean
xtype configuration for a toolbar - shows on right of tabbar
xtype configuration for a toolbar - shows on right of tabbar
|
Roo.LayoutRegion | |
width : Number
For East/West panels
For East/West panels
|
Roo.LayoutRegion |
Method | Defined By | |
---|---|---|
new Roo.SplitLayoutRegion
()
Create a new Roo.SplitLayoutRegion
Create a new Roo.SplitLayoutRegion
|
||
add
(ContentPanel... panel)
:
Roo.ContentPanel
Adds the passed ContentPanel(s) to this region.
Adds the passed ContentPanel(s) to this region.
|
Roo.LayoutRegion | |
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 | |
collapse
(Boolean skipAnim)
Collapses this region.
Collapses this region.
|
Roo.LayoutRegion | |
expand
(Roo.EventObject e, Boolean skipAnim)
Expands this region if it was previously collapsed.
Expands this region if it was previously collapsed.
|
Roo.LayoutRegion | |
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.LayoutRegion | |
getEl
()
:
Roo.Element
Returns the container element for this region.
Returns the container element for this region.
|
Roo.LayoutRegion | |
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 | |
getSplitBar
()
:
Roo.SplitBar
Returns the {link Roo.SplitBar} for this region.
Returns the {link Roo.SplitBar} for this region.
|
Roo.SplitLayoutRegion | |
getTabs
()
:
Roo.TabPanel
Returns the TabPanel component used by this region
Returns the TabPanel component used by this region
|
Roo.LayoutRegion | |
Roo.util.Observable | ||
Roo.BasicLayoutRegion | ||
hide
()
Hides this region.
Hides this region.
|
Roo.LayoutRegion | |
hidePanel
(Number/String/ContentPanel panel)
Hides the tab for the specified panel.
Hides the tab for the specified panel.
|
Roo.LayoutRegion | |
isVisible
()
:
Boolean
Returns true if this region is currently visible.
Returns true if this region is currently visible.
|
Roo.LayoutRegion | |
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.LayoutRegion | |
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 | |
setCollapsedTitle
(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.LayoutRegion | |
show
()
Shows this region if it was previously hidden.
Shows this region if it was previously hidden.
|
Roo.LayoutRegion | |
showPanel
(Number/String/ContentPanel panelId)
:
Roo.ContentPanel
Shows the specified panel.
Shows the specified panel.
|
Roo.LayoutRegion | |
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.LayoutRegion |
Event | Defined By | |
---|---|---|
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 |