A tabbed layout element, intended to be used at the top of the applications UI.
More...
#include "remoto!stdlib:js/paneManager/paneManager.js"
A tabbed layout element, intended to be used at the top of the applications UI.
◆ tabswitcher()
Create a tabswitcher object based on layout parameters.
- Parameters
-
layout | The json layout definition |
Layout options include:
- name : The _name of this tabswitcher
- type : "tabswitcher"
- selected : The currently _selected tab
- sortable : If re-orderable tabs are disallowed
- trigger : A named trigger
- showMenu : Boolean whether to show the menu button
- tabContextMenus : If false, tabs will not respond to a context menu event (right click), and instead pass the event to the header.
- children : The layout definition for each child in an array
◆ activate()
◆ addTab()
◆ addTabPrompt()
◆ attach()
Attach the tabs's children.
Calls attach on each element in the child list. This is used for sub-layouts when a wrapping layout changes.
◆ closeAllTabs()
◆ closeCurrentTab()
◆ closeTab()
◆ containsTabsOtherThan()
containsTabsOtherThan |
( |
|
t | ) |
|
◆ createChildren()
createChildren |
( |
|
children | ) |
|
◆ createHTML()
◆ deactivate()
Deactivate this element and call deactivate on all its children.
◆ destroy()
◆ detach()
Detach the tab's children.
Calls detach on each element in the child list.
◆ find()
◆ openMenu()
◆ removeTab()
◆ renameTab()
◆ replaceChild()
replaceChild |
( |
|
oldChild, |
|
|
|
newChild |
|
) |
| |
◆ resize()
◆ saveLayout()
Save the state of this tabswitcher.
- Returns
- The JSON value to be added to a layout file
The object returned will include:
- name : The _name of this tabswitcher
- type : "tabswitcher"
- selected : The currently _selected tab
- sortable : If re-orderable tabs are disallowed
- trigger : A named trigger
- showMenu : Boolean whether to show the menu button
- tabContextMenus : If false, tabs will not respond to a context menu event (right click), and instead pass the event to the header.
- title : A tooltip that will appear when presented in another tab
- children : The value of each child's saveLayout() response.
◆ selectTabHandler()
selectTabHandler |
( |
|
p, |
|
|
|
e |
|
) |
| |
◆ triggerCurrentPane()
The documentation for this class was generated from the following file: