Class SweetDevRia.ModalPanel
Display a modal panel
Defined in: ModalPanel.js.
Constructor Attributes | Constructor Name and Description |
---|---|
<private> |
Field Attributes | Field Name and Description |
---|---|
<static> |
SweetDevRia.ModalPanel.HIDE_EVENT
This event type is fired when hide the modal panel
|
<static> |
SweetDevRia.ModalPanel.SHOW_EVENT
This event type is fired when show the modal panel
|
Method Attributes | Method Name and Description |
---|---|
<static> |
SweetDevRia.ModalPanel.afterHideModalPanel()
This method is called after having turn the modalPanel to hidden state
To be overridden !!
|
<static> |
SweetDevRia.ModalPanel.afterShowModalPanel(zindex)
This method is called after having turn the modalPanel to visible state
To be overridden !!
|
<static> |
SweetDevRia.ModalPanel.beforeHideModalPanel()
This method is called before hidding the modal panel
To be overridden !!
|
<static> |
SweetDevRia.ModalPanel.beforeShowModalPanel(zindex)
This method is called before showing the modal panel
To be overridden !!
|
<private> |
create()
Creates the grey panel
|
<private> |
hide()
Hide the modal panel
|
<static> |
SweetDevRia.ModalPanel.hideModalPanel()
Hide the modal panel
|
<private> |
Returns true if the modal panel is currently visible
|
<static> |
SweetDevRia.ModalPanel.isVisible()
Returns true if the modal panel is currently visible
|
<private> |
resize()
Resize the modal panel on window resize
|
<private> |
show(zindex)
Show an instance of modal panel
|
<static> |
SweetDevRia.ModalPanel.showModalPanel(zindex)
Show the modal panel
|
Field Detail
<static>
SweetDevRia.ModalPanel.HIDE_EVENT
This event type is fired when hide the modal panel
<static>
SweetDevRia.ModalPanel.SHOW_EVENT
This event type is fired when show the modal panel
Method Detail
<static>
SweetDevRia.ModalPanel.afterHideModalPanel()
This method is called after having turn the modalPanel to hidden state
To be overridden !!
<static>
SweetDevRia.ModalPanel.afterShowModalPanel(zindex)
This method is called after having turn the modalPanel to visible state
To be overridden !!
- Parameters:
- {int} zindex
- Optional z index of the modal panel.
<static>
{boolean}
SweetDevRia.ModalPanel.beforeHideModalPanel()
This method is called before hidding the modal panel
To be overridden !!
- Returns:
- True if this method can be called, else false.
<static>
{boolean}
SweetDevRia.ModalPanel.beforeShowModalPanel(zindex)
This method is called before showing the modal panel
To be overridden !!
- Parameters:
- {int} zindex
- Optional z index of the modal panel.
- Returns:
- True if this method can be called, else false.
<private>
create()
Creates the grey panel
<private>
hide()
Hide the modal panel
<static>
SweetDevRia.ModalPanel.hideModalPanel()
Hide the modal panel
<private>
{boolean}
isVisible()
Returns true if the modal panel is currently visible
- Returns:
- true if the modal panel is currently visible
<static>
{boolean}
SweetDevRia.ModalPanel.isVisible()
Returns true if the modal panel is currently visible
- Returns:
- true if the modal panel is currently visible
<private>
resize()
Resize the modal panel on window resize
<private>
show(zindex)
Show an instance of modal panel
- Parameters:
- {int} zindex
- the z index of the modal panel.
<static>
SweetDevRia.ModalPanel.showModalPanel(zindex)
Show the modal panel
- Parameters:
- {int} zindex
- Optional z index of the modal panel.