Inherits from: | oscar.Control |
Description: This control is the base class for controls which contain a sub-menu with controls.
oscar. | |
Properties | |
controls | {Array {Object}} Array containing the sub meny controls. |
Functions | |
activate | Description: Called when the control is activated. |
deactivate | Description: Called when the control is deactivated |
initSubMenu | Description: This method creates the element used for the sub menu. |
createSubMenuItem | Description: This method is used to create an element for a control to be added to tee sub menu. |
addToSubMenu | Description: Adds the element to the submenu. |
calcPosition | Description: This method calculates the position for the submenu in relation to its parent container. |
Description: Called when the control is activated.
activate:function()
Description: Called when the control is deactivated
deactivate:function()
Description: This method creates the element used for the sub menu.
initSubMenu:function()
Description: This method is used to create an element for a control to be added to tee sub menu.
createSubMenuItem:function()
Description: Adds the element to the submenu.
addToSubMenu:function( elem )
Description: This method calculates the position for the submenu in relation to its parent container.
calcPosition:function()