Code Index | File Index

Namespaces

Classes


Class CKEDITOR.ui.dialog.fileButton


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

Class Summary
Constructor Attributes Constructor Name and Description
 
CKEDITOR.ui.dialog.fileButton(dialog, elementDefinition, htmlList)
A button for submitting the file in a file upload input.
Fields borrowed from class CKEDITOR.ui.dialog.button:
eventProcessors
Methods borrowed from class CKEDITOR.ui.dialog.button:
accessKeyDown, accessKeyUp, click, disable, enable, isEnabled, isVisible
Methods borrowed from class CKEDITOR.ui.dialog.uiElement:
focus, getDialog, getElement, getInputElement, getValue, isChanged, isFocusable, registerEvents, selectParentTab, setValue
Event Summary
Event Attributes Event Name and Description
 
Fired when the inner frame created by the element is ready.
Events borrowed from class CKEDITOR.ui.dialog.uiElement:
change
Class Detail
CKEDITOR.ui.dialog.fileButton(dialog, elementDefinition, htmlList)
Since: 3.0
A button for submitting the file in a file upload input.
Parameters:
{CKEDITOR.dialog} dialog
Parent dialog object.
{CKEDITOR.dialog.definition.uiElement} elementDefinition
The element definition. Accepted fields:
  • for (Required) The file input's page and element Id to associate to, in a 2-item array format: [ 'page_id', 'element_id' ].
  • validate (Optional) The validation function.
{Array} htmlList
List of HTML code to output to.
Event Detail
formLoaded : <object>.on( 'formLoaded', function( e ){ ... } )
Since: 3.0
Fired when the inner frame created by the element is ready. Each time the button is used or the dialog is loaded a new form might be created.
NO EXAMPLE AVAILABLE
Parameters:
{CKEDITOR.eventInfo} e
The standard event object passed to event listeners.

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