Class SweetDevRia.Collapse
Extends
RiaComponent, RiaComponent.
Defined in: Collapse.js.
Constructor Attributes | Constructor Name and Description |
---|---|
This is the Collapse component class
|
Field Attributes | Field Name and Description |
---|---|
<static> |
SweetDevRia.Collapse.COLLAPSE_EVENT
This event type is fired when the collapse component is collapsed
|
<static> |
SweetDevRia.Collapse.EXPAND_EVENT
This event type is fired when the collapse component is expanded
|
<static> |
SweetDevRia.Collapse.SWAP_EVENT
This event type is fired when the collapse component state is swaped, i.e : collapsed or expanded.
|
Method Attributes | Method Name and Description |
---|---|
This method is called after Collapse the collapse, Hide the collapse body
To be overridden !!
|
|
This method is called after Expand the collapse, Show the collapse body
To be overridden !!
|
|
This method is called after Swap the collapse body visibility
To be overridden !!
|
|
This method is called before Collapse the collapse, Hide the collapse body
To be overridden !!
|
|
This method is called before Expand the collapse, Show the collapse body
To be overridden !!
|
|
This method is called before Swap the collapse body visibility
To be overridden !!
|
|
collapse()
Collapse the collapse, Hide the collapse body
Fire a SweetDevRia.Collapse.COLLAPSE_EVENT event
|
|
<private> |
Close all others collapses managed by this manager !
|
expand()
Expand the collapse, Show the collapse body
Fire a SweetDevRia.Collapse.EXPAND_EVENT event
|
|
<private> |
This method is called automaticly at the page load
|
Return the collapse value
|
|
setBodyContent(bodyContent)
Set the body content
|
|
swap()
Swap the collapse body visibility
Fire a SweetDevRia.Collapse.SWAP_EVENT event
|
Class Detail
SweetDevRia.Collapse(id)
This is the Collapse component class
- Parameters:
- {String} id
- Id of this collapse
Field Detail
<static>
SweetDevRia.Collapse.COLLAPSE_EVENT
This event type is fired when the collapse component is collapsed
<static>
SweetDevRia.Collapse.EXPAND_EVENT
This event type is fired when the collapse component is expanded
<static>
SweetDevRia.Collapse.SWAP_EVENT
This event type is fired when the collapse component state is swaped, i.e : collapsed or expanded.
Method Detail
afterCollapse()
This method is called after Collapse the collapse, Hide the collapse body
To be overridden !!
afterExpand()
This method is called after Expand the collapse, Show the collapse body
To be overridden !!
afterSwap()
This method is called after Swap the collapse body visibility
To be overridden !!
{boolean}
beforeCollapse()
This method is called before Collapse the collapse, Hide the collapse body
To be overridden !!
- Returns:
- True if this method can be called, else false.
{boolean}
beforeExpand()
This method is called before Expand the collapse, Show the collapse body
To be overridden !!
- Returns:
- True if this method can be called, else false.
{boolean}
beforeSwap()
This method is called before Swap the collapse body visibility
To be overridden !!
- Returns:
- True if this method can be called, else false.
collapse()
Collapse the collapse, Hide the collapse body
Fire a SweetDevRia.Collapse.COLLAPSE_EVENT event
<private>
collapseAllOthers()
Close all others collapses managed by this manager !
Defined in: CollapseManager.js.
Defined in: CollapseManager.js.
expand()
Expand the collapse, Show the collapse body
Fire a SweetDevRia.Collapse.EXPAND_EVENT event
<private>
initialize()
This method is called automaticly at the page load
{boolean}
IsCollapse()
Return the collapse value
- Returns:
- true if the collapse body is hide, else false
setBodyContent(bodyContent)
Set the body content
- Parameters:
- bodyContent
swap()
Swap the collapse body visibility
Fire a SweetDevRia.Collapse.SWAP_EVENT event