Code Index

Namespaces

Classes


Class CKFinder.dialog.definition.uiElement

Class Summary
Constructor Attributes Constructor Name and Description
 
The definition of user interface element (textarea, radio etc).
Field Summary
Field Attributes Field Name and Description
 
The alphanumeric access key for this element.
 
CSS class names to append to the UI element.
 
A flag that tells if the element should be initially visible.
 
id
The id of the UI element.
 
Function to execute when an element loses focus.
 
Function to execute when the content of a field changes.
 
Function to execute when mouse clicks an object.
 
Function to execute when mouse double-clicks an object.
 
Function to execute when an element gets focus.
 
### Function to execute whenever the UI element's parent dialog is closed.
 
Function to execute when a keyboard key is pressed.
 
Function to execute when a keyboard key is pressed or held down.
 
Function to execute when a keyboard key is released.
 
### Function to execute the first time the UI element is displayed.
 
Function to execute when a mouse button is pressed.
 
Function to execute when the mouse is moved off an element.
 
Function to execute when the mouse is moved over an element.
 
Function to execute when a mouse button is released.
 
### Function to execute whenever the UI element's parent dialog is displayed.
 
Inline CSS classes to append to the UI element.
 
The label of the UI element.
 
The type of the UI element.
Class Detail
CKFinder.dialog.definition.uiElement()
Since: 2.0
The definition of user interface element (textarea, radio etc).
This class is not really part of the API. It just illustrates the properties that developers can use to define and create dialog UI elements.

Once the dialog is opened, the created element becomes a CKFinder.ui.dialog.uiElement object and can be accessed with CKFinder.dialog#getContentElement.
The following classes extend uiElement and can be used in the dialog definition:
See:
CKFinder.ui.dialog.uiElement
Field Detail
{Number} accessKey
Since: 2.0
The alphanumeric access key for this element. Access keys are automatically prefixed by CTRL. Optional.

{String} className
Since: 2.0
CSS class names to append to the UI element.

{Boolean} hidden
Since: 2.0
A flag that tells if the element should be initially visible. Optional.

{String} id
Since: 2.0
The id of the UI element.

{Function} onBlur
Since: 2.0
Function to execute when an element loses focus.

{Function} onChange
Since: 2.0
Function to execute when the content of a field changes.

{Function} onClick
Since: 2.0
Function to execute when mouse clicks an object.

{Function} onDblclick
Since: 2.0
Function to execute when mouse double-clicks an object.

{Function} onFocus
Since: 2.0
Function to execute when an element gets focus.

{Function} onHide
Since: 2.0
### Function to execute whenever the UI element's parent dialog is closed.

{Function} onKeyDown
Since: 2.0
Function to execute when a keyboard key is pressed.

{Function} onKeypress
Since: 2.0
Function to execute when a keyboard key is pressed or held down.

{Function} onKeyup
Since: 2.0
Function to execute when a keyboard key is released.

{Function} onLoad
Since: 2.0
### Function to execute the first time the UI element is displayed.

{Function} onMousedown
Since: 2.0
Function to execute when a mouse button is pressed.

{Function} onMouseout
Since: 2.0
Function to execute when the mouse is moved off an element.

{Function} onMouseover
Since: 2.0
Function to execute when the mouse is moved over an element.

{Function} onMouseup
Since: 2.0
Function to execute when a mouse button is released.

{Function} onShow
Since: 2.0
### Function to execute whenever the UI element's parent dialog is displayed.

{String} style
Since: 2.0
Inline CSS classes to append to the UI element.

{String} title
Since: 2.0
The label of the UI element.

{String} type
Since: 2.0
The type of the UI element. Required.

Copyright © 2007-2015, CKSource - Frederico Knabben. All rights reserved.