Class DHTMLSuite.menuModelItem
Object
|
+--DHTMLSuite.menuModelItem
- class
DHTMLSuite.menuModelItem
Purpose of class: Save data about a menu item.
Update log:
**********************************************************************************************************
Defined in menu-for-applications.js
Method Summary |
Object
|
getState()
Return the state attribute of a menu item.
|
void
|
setAsSeparator(id,parentId)
Update the state attribute of a menu item.
|
void
|
setMenuVars(id,itemText,itemIcon,url,parentId,helpText,jsFunction,type,submenuWidth)
|
void
|
setState(newState)
Update the state attribute of a menu item.
|
void
|
setSubMenuWidth(newWidth)
Specify width of direct subs of this item.
|
void
|
setVisibility(visible)
Update the visible attribute of a menu item.
|
DHTMLSuite.menuModelItem
DHTMLSuite.menuModelItem()
DHTML menu model item class
Created: October, 30th, 2006
getState
Object getState()
Return the state attribute of a menu item.
setAsSeparator
void setAsSeparator(id,parentId)
Update the state attribute of a menu item.
Parameters:
String
- newState New state of this item
setMenuVars
void setMenuVars(id,itemText,itemIcon,url,parentId,helpText,jsFunction,type,submenuWidth)
setState
void setState(newState)
Update the state attribute of a menu item.
Parameters:
String
- newState New state of this item
setSubMenuWidth
void setSubMenuWidth(newWidth)
Specify width of direct subs of this item.
Parameters:
int
- newWidth Width of sub menu group(direct sub of this item)
setVisibility
void setVisibility(visible)
Update the visible attribute of a menu item.
Parameters:
Boolean
- visible true = visible, false = hidden.
Documentation generated by
JSDoc on Mon Nov 20 09:23:50 2006