Class DwtAccordion
Class Detail
DwtAccordion(parent, className, posStyle)
Creates an empty accordion widget.
Author: Parag Shah.
Method Detail
addAccordionItem(params)
Adds an item to the accordion, in the form of a table row.
addSelectionListener(listener)
Adds a listener to be notified when the button is pressed.
expandItem(id, notify)
Expands the accordion item with the given ID by making its body visible. The bodies of
other items are hidden.
{Element}
getBody(id)
Gets the
element of the accordion item with the given ID.
{DwtAccordionItem}
getExpandedItem()
Gets the expanded accordion item.
{Element}
getHeader(id)
Gets the
element of the accordion item with the given ID.
{DwtAccordionItem}
getItem(id)
Gets the accordion item with the given ID.
{DwtAccordionItem}
getItemByIndex(id)
Gets the item by index.
{array}
getItems()
Gets the ordered list of accordion items.
hideAccordionItems()
Hides all accordion items.
resize(width, height)
Resizes the accordion. This override applies accordion size changes to accordion items as well.
setEnabled(enabled)
Allows the accordion items to be clickable or not. If disabled, the label of
each accordion item will be grayed out.
setItemContent(id, contentObject)
Attaches the HTML content of the given control to the accordion item with
the given ID.
show(show)
Shows or hides the accordion.
showAccordionItem(id)
Shows single accordion item based on given id.
showAlert(id, show)
Shows or hides an alert (aka orange background) on the accordion header
{string}
toString()
Returns a string representation of the object.
|
||||||||||||||||||||||||||||||||||||||||
Documentation generated by JsDoc Toolkit 2.3.0 on Tue Jun 28 2016 21:01:26 GMT-0400 (EDT)
|