TinyMCE:API/tinymce.ControlManager

From Moxiecode Documentation Wiki

Jump to: navigation, search

Class: tinymce.ControlManager

This class is responsible for managing UI control instances. It's both a factory and a collection for the controls.

Constructor

ControlManager
Constructs a new control manager instance.

Methods

add
Adds a control to the control collection inside the manager.
createButton
Creates a button control instance by id.
createColorSplitButton
Creates a color split button control instance by id.
createControl
Creates a control by name, when a control is created it will automatically add it to the control collection.
createDropMenu
Creates a drop menu control instance by id.
createListBox
Creates a menu button control instance by id.
createMenuButton
Creates a list box control instance by id.
createSeparator
Creates a separator control instance.
createSplitButton
Creates a split button control instance by id.
createToolbar
Creates a toolbar container control instance by id.
get
Returns a control by id or undefined it it wasn't found.
setActive
Sets the active state of a control by id.
setDisabled
Sets the disabled state of a control by id.
Personal tools