| Namespace | tinymce.ui | 
| Class | MenuItem | 
| Inheritance | MenuItem Control | 
| Subclasses | Menu | 
| Method | Defined By | 
|---|---|
| 
MenuItem(id:String, s:Object) Constructs a new button control instance. | MenuItem | 
| 
destroy():void Destroys the control will free any memory by removing event listeners etc. | Control | 
| 
isActive():Boolean Returns true/false if the control is disabled or not. | Control | 
| 
isDisabled():Boolean Returns true/false if the control is disabled or not. | Control | 
| 
isRendered():Boolean Returns true/false if the control has been rendered or not. | Control | 
| 
isSelected():Boolean Returns true/false if the control is selected or not. | MenuItem | 
| 
postRender():void Post render handler. | MenuItem | 
| 
remove():void Removes the control. | Control | 
| 
renderHTML():String Renders the control as a HTML string. | Control | 
| 
renderTo(n:Element):void Renders the control to the specified container element. | Control | 
| 
setActive(s:Boolean):void Sets the activated state for the control. | Control | 
| 
setDisabled(s:Boolean):void Sets the disabled state for the control. | Control | 
| 
setSelected(s:Boolean):void Sets the selected state for the control. | MenuItem | 
| 
setState(c:String, s:Boolean):void Sets the specified class state for the control. | Control | 
public 
						function MenuItem(id:String, s:Object)
| id:String | Button control id for the button. | 
| s:Object | Optional name/value settings object. | 
public 
						function isSelected():Boolean
public 
						function postRender():void
public 
						function setSelected(s:Boolean):void
| s:Boolean | Boolean state if the control should be selected or not. |