0 results found

tinymce.ui.Separator

Contribute to this page
Namespacetinymce.ui
ClassSeparator
InheritanceSeparator Control

This class is used to create vertical separator between other controls.

Public Methods

MethodDefined By
Separator(id:String, s:Object) : Separator constructor.Separator
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
postRender():void : Post render event.Control
remove():void : Removes the control.Control
renderHTML():String : Renders the separator as a HTML string.Separator
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

Method details

Separator

public function Separator(id:String, s:Object)
Separator constructor.

Parameters

ParamDetail
id:StringControl id to use for the Separator.
s:ObjectOptional name/value settings object.

renderHTML

public function renderHTML():String
Renders the separator as a HTML string. This method is much faster than using the DOM and when creating a whole toolbar with buttons it does make a lot of difference.

Returns
String - HTML for the separator control element.

Except as otherwise noted, the content of this page is licensed under the Creative Commons BY-NC-SA 3.0 License, and code samples are licensed under the Apache 2.0 License.