Class DHTMLSuite.menuItem

Object
   |
   +--DHTMLSuite.menuItem

class DHTMLSuite.menuItem


Purpose of class: Creates the div(s) for a menu item. This class is used by the menuBar class. You can also create a menu item and add it where you want on your page. the createItem() method will return the div for the item. You can use the appendChild() method to add it to your page.
Defined in dhtml-suite-for-applications.js

Author: Alf Magne Kalleland(www.dhtmlgoodies.com)
Version: 1.0


Field Summary
 Object cssPrefix
          
 Object layoutCSS
          
 Object objectIndex
          
 
Constructor Summary
DHTMLSuite.menuItem ()
           
 
Method Summary
 Object createItem(menuModelItemObj)
          
 Object getState()
           Return state of a menu item.
 void hide()
           Hide the menu item.
 void setCssPrefix(cssPrefix)
           Set css prefix for the menu item.
 void setIcon(newPath)
           Replace menu icon.
 void setLayoutCss(newLayoutCss)
           Creates the different parts of a menu item of type "top".
 void setState(newState)
           Set state of a menu item.
 void setText(newText)
           Replace the text of a menu item
 void show()
           Show the menu item.

Field Detail

cssPrefix

Object cssPrefix

layoutCSS

Object layoutCSS

objectIndex

Object objectIndex

Constructor Detail

DHTMLSuite.menuItem

DHTMLSuite.menuItem()

Method Detail

createItem

Object createItem(menuModelItemObj)

getState

Object getState()

hide

void hide()

setCssPrefix

void setCssPrefix(cssPrefix)

setIcon

void setIcon(newPath)

setLayoutCss

void setLayoutCss(newLayoutCss)

setState

void setState(newState)

setText

void setText(newText)

show

void show()


Documentation generated by JSDoc on Mon Oct 8 10:17:27 2007