Class: CUI.Buttonbar
Defined in: | elements/Button/Buttonbar.coffee |
Inherits: | CUI.DOMElement |
Overview
Buttonbar groups {Button}s
Variables Summary
Variable inherited from CUI.DOMElement
Instance Method Summary
- # (void) initOpts()
- # (void) __proxy(func, args...)
- # (void) disable()
- # (void) enable()
- # (void) __setVisibilityClasses(el) Bound sets classes on all children of "el" returns the number of visible children
- # (void) __checkVisibility() hide the group if no children
- # (void) removeButtons()
- # (void) prependButton(btn, check_visibility = true)
- # (void) addButton(btn, check_visibility = true, prepend = false)
Inherited Method Summary
Methods inherited from
CUI.DOMElement
#initOpts #registerTemplate #getDOMElementClasses #registerDOMElement #getElementForLayer #unregisterDOMElement #__assertDOMElement #__assertTemplateElement #addClass #setAria #removeClass #hide #show #hasClass #isDestroyed #empty #replace #append #prepend #text #get #getFlexHandle #destroy #getElementClass #getUniqueId #getOpts #getOpt #hasOpt #getSetOpt #hasSetOpt #copy #mergeOpt #removeOpt #addOpt #addOpts #mergeOpts #__getCheckMap #readOpts #readOptsFromAttr #proxy .getOptKeys
Constructor Details
#
(void)
constructor(opts = {})
Instance Method Details
#
(void)
initOpts()
#
(void)
__proxy(func, args...)
#
(void)
disable()
#
(void)
enable()
#
(void)
__setVisibilityClasses(el)
Bound
sets classes on all children of "el" returns the number of visible children
#
(void)
__checkVisibility()
hide the group if no children
#
(void)
removeButtons()
#
(void)
prependButton(btn, check_visibility = true)
#
(void)
addButton(btn, check_visibility = true, prepend = false)