Class CKEDITOR.ui.button
Defined in: plugins/button/plugin.js.
Constructor Attributes | Constructor Name and Description |
---|---|
CKEDITOR.ui.button(definition)
Represents a button UI element.
|
Field Attributes | Field Name and Description |
---|---|
<static> |
CKEDITOR.ui.button.handler
Transforms a button definition in a CKEDITOR.ui.button instance.
|
Method Attributes | Method Name and Description |
---|---|
render(editor, output)
Renders the button.
|
|
setState(state)
|
Class Detail
CKEDITOR.ui.button(definition)
Since:
3.0
Represents a button UI element. This class should not be called directly. To
create new buttons use CKEDITOR.ui.prototype.addButton instead.
- Parameters:
- {Object} definition
- The button definition.
Field Detail
<static>
{Object}
CKEDITOR.ui.button.handler
Since:
3.0
Transforms a button definition in a CKEDITOR.ui.button instance.
Method Detail
{Undefined}
render(editor, output)
Since:
3.0
Renders the button.
- Parameters:
- {CKEDITOR.editor} editor
- The editor instance which this button is to be used by.
- {Array} output
- The output array to which append the HTML relative to this button.
{Undefined}
setState(state)
Since:
3.0
NO EXAMPLE AVAILABLE
- Parameters:
- {Undefined} state