Code Index | File Index

Namespaces

Classes


Class CKEDITOR.ui.dialog.button


Extends CKEDITOR.ui.dialog.uiElement.
Defined in: plugins/dialogui/plugin.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
CKEDITOR.ui.dialog.button(dialog, elementDefinition, htmlList)
A button with a label inside.
Field Summary
Field Attributes Field Name and Description
 
Defines the onChange event and onClick for button element definitions.
Method Summary
Method Attributes Method Name and Description
 
Handler for the element's access key down event.
 
Handler for the element's access key up event.
 
Simulates a click to the button.
 
Disables the button.
 
Enables the button.
 
 
Methods borrowed from class CKEDITOR.ui.dialog.uiElement:
focus, getDialog, getElement, getInputElement, getValue, isChanged, isFocusable, registerEvents, selectParentTab, setValue
Events borrowed from class CKEDITOR.ui.dialog.uiElement:
change
Class Detail
CKEDITOR.ui.dialog.button(dialog, elementDefinition, htmlList)
Since: 3.0
A button with a label inside.
Parameters:
{CKEDITOR.dialog} dialog
Parent dialog object.
{CKEDITOR.dialog.definition.uiElement} elementDefinition
The element definition. Accepted fields:
  • label (Required) The button label.
  • disabled (Optional) Set to true if you want the button to appear in disabled state.
{Array} htmlList
List of HTML code to output to.
Field Detail
{Object} eventProcessors
Since: 3.0
Defines the onChange event and onClick for button element definitions.
Method Detail
{Undefined} accessKeyDown()
Since: 3.0
Handler for the element's access key down event. Simulates a mouse down to the button.

{Undefined} accessKeyUp()
Since: 3.0
Handler for the element's access key up event. Simulates a click to the button.

{Object} click()
Since: 3.0
Simulates a click to the button.
Returns:
{Object} Return value of the 'click' event.

{Undefined} disable()
Since: 3.0
Disables the button.

{Undefined} enable()
Since: 3.0
Enables the button.

{Undefined} isEnabled()
Since: 3.0
NO EXAMPLE AVAILABLE

{Undefined} isVisible()
Since: 3.0
NO EXAMPLE AVAILABLE

Copyright © 2003-2010, CKSource - Frederico Knabben. All rights reserved.