| Namespace | tinymce.ui | 
| Class | ColorSplitButton | 
| Inheritance | ColorSplitButton SplitButton Button Control | 
| Property | Defined By | 
|---|---|
| 
settings : Object Settings object. | ColorSplitButton | 
| 
value : String Current color value. | ColorSplitButton | 
| Method | Defined By | 
|---|---|
| 
ColorSplitButton(id:String, s:Object, ed:Editor) Constructs a new color split button control instance. | ColorSplitButton | 
| 
destroy():void Destroys the control. | ColorSplitButton | 
| 
displayColor(c:String):void Change the currently selected color for the control. | ColorSplitButton | 
| 
hideMenu(e:Event):void Hides the color menu. | ColorSplitButton | 
| 
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 event. | ColorSplitButton | 
| 
remove():void Removes the control. | Control | 
| 
renderHTML():String Renders the split button as a HTML string. | SplitButton | 
| 
renderMenu():void Renders the menu to the DOM. | ColorSplitButton | 
| 
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 | 
| 
setColor(c:String):void Sets the current color for the control and hides the menu if it should be visible. | ColorSplitButton | 
| 
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 color menu. | ColorSplitButton | 
| Event | Defined By | 
|---|---|
| Fires when the menu is hidden. | ColorSplitButton | 
| Fires when the menu is shown. | ColorSplitButton | 
public settings : Object
public value : String
public 
						function ColorSplitButton(id:String, s:Object, ed:Editor)
| id:String | Control id for the color split button. | 
| s:Object | Optional name/value settings object. | 
| ed:Editor | The editor instance this button is for. | 
public 
						function destroy():void
public 
						function displayColor(c:String):void
| c:String | Color code value in hex for example: #FF00FF | 
public 
						function hideMenu(e:Event):void
| e:Event | Optional event object. | 
public 
						function postRender():void
public 
						function renderMenu():void
public 
						function setColor(c:String):void
| c:String | Color code value in hex for example: #FF00FF | 
public 
						function showMenu():void
public 
						event onHideMenu()
public 
						event onShowMenu()