A.WidgetToolbars Class
Module: aui-widget-toolbars
A base class for Widget Toolbars.
Constructor
A.WidgetToolbars
()
Methods
_syncPrimaryButtonUI
()
protected
Sync the primary button on the UI.
_syncUIToolbars
()
protected
Sync A.Toolbar
instances on the UI.
_uiSetToolbars
()
protected
Set A.Toolbar
instances.
addToolbar
(
A.Toolbar
-
toolbar
-
section
Includes a A.Toolbar
instance into the widget.
Parameters:
-
toolbar
Object -
section
Object
Returns:
getToolbar
(
A.Toolbar
-
section
Gets the A.Toolbar
instance based on its section.
Parameters:
-
section
Object
Returns:
getToolbarSection
(
String
-
section
Gets the toolbar's section. If no argument is passed, returns the
StdMod.FOOTER
.
Parameters:
-
section
Object
Returns:
String:
initializer
()
protected
Construction logic executed during WidgetToolbars instantiation. Lifecycle.
removeToolbar
(
-
section
Destroys the A.Toolbar
instance based on its section.
Parameters:
-
section
Object
Properties
ATTRS
Object
static
Static property used to define the default attribute configuration.