Definition
Namespace:Telerik.Web.UI.Editor
Inheritance: Sys.UI.ControlTelerik.Web.UI.Editor.DefaultToolAdapter
Events
Adds a toolClick event handler for the defaulttooladapter
add_toolClick
The event handler function to attach
Removes a toolClick event handler from the defaulttooladapter
remove_toolClick
The event handler function to remove
Methods
Forces the context menus of the RadEditor to render.
createContextMenus(): void
Sets the enable/disable state of the context menus.
enableContextMenus(Boolean value): void
Indicates whether to disable or enable the context menus.
Returns the animation duration in milliseconds.
get_animationDuration(): Number
Number
Gets the animation type.
get_animationType(): Telerik.Web.UI.Editor.EditorToolBarAnimationType
Telerik.Web.UI.Editor.EditorToolBarAnimationType
Instance of Telerik.Web.UI.Editor.EditorToolBarAnimationType enum that represents the animation type.
Returns the value set to the ContnetAreaMode property.
get_contentAreaMode(): Telerik.Web.UI.EditorContentAreaMode
Telerik.Web.UI.EditorContentAreaMode
Returns the RadEditor instance initialized the toolbar.
get_editor(): Telerik.Web.UI.RadEditor
Telerik.Web.UI.RadEditor
Returns the RadWidnow instance which serves as a toolbar for the editor (NOTE: With Default and RibbonBar toolbar modes, returns null).
get_toolbarHolder(): Telerik.Web.UI.RadWindow
Telerik.Web.UI.RadWindow
Returns an array with the JSON literals of the tools.
get_toolJSON(): Array
Array
Returns all tools/commands available in the toolbar.
get_tools(): Array
Array
Returns the RadWidnow instance which serves as a toolbar for the editor (NOTE: With Default and RibbonBar toolbar modes, returns null).
get_window(): Telerik.Web.UI.RadWindow
Telerik.Web.UI.RadWindow
Returns a reference to the context menu object
getContextMenuByTagName(String tagName): Telerik.Web.UI.EditorContextMenu
The Tag name of the context menu
Returns:Telerik.Web.UI.EditorContextMenu
Reference to the context menu object
Returns a reference to a tool, specified by its name.
getToolByName(String toolName): Telerik.Web.UI.EditorButton
The name of the tool
Returns:Telerik.Web.UI.EditorButton
Sets the animation duration in milliseconds.
set_animationDuration(Number value): void
Sets the animation type.
set_animationType(Telerik.Web.UI.Editor.EditorToolBarAnimationType value): void
Instance of Telerik.Web.UI.Editor.EditorToolBarAnimationType enum.
Sets the RadEditor instance associated to the toolbar.
set_editor(Telerik.Web.UI.RadEditor editor): void
Sets a new array with the JSON literals of the tools.
set_toolJSON(Array value): void
Focuses the first tool in the toolbar.
setFocus(): void
Sets the state of the tools in the specified tools array.
setToolState(Array toolsArray, Telerik.Web.UI.Editor.CommandStates state): void
Array of RadEditor tools/commands (NOTE: If array is not provided, all tools will be updated with the new state).
stateTelerik.Web.UI.Editor.CommandStatesThe state to be used for this group of tools.