Class SweetDevRia.ContextMenu
Extends
Menu, Menu.
Defined in: ContextMenu.js.
Constructor Attributes | Constructor Name and Description |
---|---|
This is the ContextMenu component class
|
Field Attributes | Field Name and Description |
---|---|
<static> |
SweetDevRia.ContextMenu.HIDE_EVENT
This event type is fired when hide the context menu
|
<static> |
SweetDevRia.ContextMenu.SHOW_EVENT
This event type is fired when show the context menu
|
Method Attributes | Method Name and Description |
---|---|
This method is called after Show the context menu To be overriden !!
|
|
beforeShow(e)
This method is called before Show the context menu To be overriden !!
|
|
hide()
Hide the context menu
|
|
This method is called automatically by the framework at the page load.
|
|
render()
Render this menu
|
|
show(e)
Show the context menu
|
Class Detail
SweetDevRia.ContextMenu(id)
This is the ContextMenu component class
- Parameters:
- {String} id
- Identifiant of this ContextMenu
Field Detail
<static>
SweetDevRia.ContextMenu.HIDE_EVENT
This event type is fired when hide the context menu
<static>
SweetDevRia.ContextMenu.SHOW_EVENT
This event type is fired when show the context menu
Method Detail
afterShow()
This method is called after Show the context menu To be overriden !!
{boolean}
beforeShow(e)
This method is called before Show the context menu To be overriden !!
- Parameters:
- {Event} e
- ContextMenu event (mouse right click)
- Returns:
- True if this method can be called, else false.
hide()
Hide the context menu
initialize()
This method is called automatically by the framework at the page load.
render()
Render this menu
show(e)
Show the context menu
- Parameters:
- {Event} e
- ContextMenu event (mouse right click)