dundas.controls.MainMenu Class

 

Inheritance Hierarchy

 
Class
   dundas.EventDisposable
      dundas.controls.FocusableControl
         dundas.controls.MainMenu
 

Constructors

 
  Name Description
init Initializes the control. Called during construction.
 
 

Properties

 
  Name Description
controlContainer Gets the container of this control. Inherited from dundas.controls.FocusableControl.
isDisabled Gets or sets whether or not this control is disabled. Inherited from dundas.controls.FocusableControl.
isDisposed Gets a value indicating whether this instance has been disposed. Inherited from dundas.EventDisposable.
isExpanded Gets a value indicating whether the main menu is expanded or not.
isFocused Gets or sets the focused state of this control. Inherited from dundas.controls.FocusableControl.
jQControlContainer Gets the container of this control in JQuery object. Inherited from dundas.controls.FocusableControl.
parentFocusable Gets the focusable parent of this control. Inherited from dundas.controls.FocusableControl.
projectsPanel Gets reference to ProjectsPanel control.
uiCache Gets the UI cache table Inherited from dundas.EventDisposable.
 
 

Methods

 
  Name Description
bind Bind an event to this class object. Inherited from dundas.EventDisposable.
clearPageSubMenu Clears the menu content for the current page when the main menu is not using it.
close Closes the main menu, and any dialogs that may be shown.
dispose Performs tasks associated with releasing resources from this object once it is unneeded. Inherited from dundas.EventDisposable.
focus Put this control into focus. Inherited from dundas.controls.FocusableControl.
fromJObject Applies the property values from a plain object created from JSON to the properties of this instance. Inherited from Class.
getContainer Retrieves the container DOM.
getContextState Set the UI context state to be saved in dundas.UIContextFocus Inherited from dundas.controls.FocusableControl.
getSubMenuContainer Retrieves the sub menu container DOM.
getWidth Retrieves width of the menu.
open Opens the main menu.
raiseBindEvent Fire the event specified with eventName, or subscribe a handler. Inherited from dundas.EventDisposable.
setContextState Restore this control to the state as defined. Inherited from dundas.controls.FocusableControl.
setPageSubMenu Sets the menu content to show for the current page when the main menu is not using it.
subscribe Subscribe or unsubscribe an event handler for an event. Inherited from dundas.EventDisposable.
subscribeBlurred Inherited from dundas.controls.FocusableControl.
subscribeDisposed Subscribe to the disposed event. Inherited from dundas.EventDisposable.
subscribeFocused Inherited from dundas.controls.FocusableControl.
subscribeOnce Subscribe a one time event handler for an event. Inherited from dundas.EventDisposable.
toggle Toggles the state of the menu.
toJSON Implementation for toJSON to return an object that will include this class's prototype property values when stringified. Inherited from Class.
trigger Raise an event. Inherited from dundas.EventDisposable.
unbind Unsubscribe an event. if handler is specified, unsubscribe that handler. if no parameters are specified, unbind everything. Inherited from dundas.EventDisposable.
unbindAll unsubscribe all events. Inherited from dundas.EventDisposable.