Namespace | tinymce.ui |
Class | MenuButton |
Inheritance | MenuButton Control |
Method | Defined By |
---|---|
MenuButton(id:String, s:Object, ed:Editor)
Constructs a new split button control instance.
|
MenuButton |
destroy():void
Destroys the control will free any memory by removing event listeners etc.
|
Control |
hideMenu(e:Event):void
Hides the menu.
|
MenuButton |
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 |
postRender():void
Post render handler.
|
MenuButton |
remove():void
Removes the control.
|
Control |
renderHTML():String
Renders the control as a HTML string.
|
Control |
renderMenu():void
Renders the menu to the DOM.
|
MenuButton |
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 |
setState(c:String, s:Boolean):void
Sets the specified class state for the control.
|
Control |
showMenu():void
Shows the menu.
|
MenuButton |
Event | Defined By |
---|---|
Fires when the menu is rendered.
|
MenuButton |
public
function MenuButton(id:String, s:Object, ed:Editor)
id:String | Control id for the split button. |
s:Object | Optional name/value settings object. |
ed:Editor | Optional the editor instance this button is for. |
public
function hideMenu(e:Event):void
e:Event | Optional event object. |
public
function postRender():void
public
function renderMenu():void
public
function showMenu():void
public
event onRenderMenu()