CKEDITOR.dialog.definition.vbox
Vertical layout box for dialog UI elements.
This class is not really part of the API. It just illustrates the properties that developers can use to define and create vertical layouts.
Once the dialog is opened, the created element becomes a CKEDITOR.ui.dialog.vbox object and can be accessed with CKEDITOR.dialog.getContentElement.
// There is no constructor for this class, the user just has to define an
// object with the appropriate properties.
// Example:
{
type: 'vbox',
align: 'right',
width: '200px',
children: [
{
type: 'text',
id: 'age',
label: 'Age'
},
{
type: 'text',
id: 'sex',
label: 'Sex'
},
{
type: 'text',
id: 'nationality',
label: 'Nationality'
}
]
}
Filtering
Properties
-
Horizontal alignment (in the container) of the UI element.
-
children : Array
CKEDITOR.dialog.definition.vbox#children
Array of CKEDITOR.ui.dialog.uiElement objects inside this container.
-
className : String
CKEDITOR.dialog.definition.vbox#className
CSS class names to append to the UI element.
-
commit : Function
CKEDITOR.dialog.definition.vbox#commit
Function to execute whenever the UI element's parent dialog's CKEDITOR.dialog.commitContent method is executed. It usually takes care of the respective UI element as a standalone element.
-
expand : Boolean
CKEDITOR.dialog.definition.vbox#expand
(Optional) Whether the layout should expand vertically to fill its container.
-
heights : Number
CKEDITOR.dialog.definition.vbox#heights
(Optional) The heights of individual cells.
-
id : String
CKEDITOR.dialog.definition.vbox#id
The ID of the UI element.
-
onHide : Function
CKEDITOR.dialog.definition.vbox#onHide
Function to execute whenever the UI element's parent dialog is closed.
-
onLoad : Function
CKEDITOR.dialog.definition.vbox#onLoad
Function to execute the first time the UI element is displayed.
-
onShow : Function
CKEDITOR.dialog.definition.vbox#onShow
Function to execute whenever the UI element's parent dialog is displayed.
-
padding : Number
CKEDITOR.dialog.definition.vbox#padding
(Optional) The padding width inside child cells. Example: 0, 1.
-
requiredContent : String | Object | style
CKEDITOR.dialog.definition.vbox#requiredContent
The content that needs to be allowed to enable this UI element. All formats accepted by CKEDITOR.filter.check may be used.
When all UI elements in a tab are disabled, this tab will be disabled automatically.
-
setup : Function
CKEDITOR.dialog.definition.vbox#setup
Function to execute whenever the UI element's parent dialog's CKEDITOR.dialog.setupContent method is executed. It usually takes care of the respective UI element as a standalone element.
-
style : String
CKEDITOR.dialog.definition.vbox#style
Inline CSS classes to append to the UI element.
-
styles : String
CKEDITOR.dialog.definition.vbox#styles
The CSS styles to apply to this element.
-
title : String
CKEDITOR.dialog.definition.vbox#title
The popup label of the UI element.
-
type : String
CKEDITOR.dialog.definition.vbox#type
The type of the UI element. Required.
-
width : Array
CKEDITOR.dialog.definition.vbox#width
(Optional) The width of the layout.