Class CKFinder.dialog.definition.vbox
Extends
CKFinder.dialog.definition.uiElement.
Constructor Attributes | Constructor Name and Description |
---|---|
Vertical layout box for dialog UI elements.
|
Field Attributes | Field Name and Description |
---|---|
(Optional) The alignment of the whole layout.
|
|
Array of CKFinder.ui.dialog.uiElement objects inside this container.
|
|
(Optional) Whether the layout should expand vertically to fill its container.
|
|
(Optional) The heights of individual cells.
|
|
(Optional) The padding width inside child cells.
|
|
The CSS styles to apply to this element.
|
|
(Optional) The width of the layout.
|
- Fields borrowed from class CKFinder.dialog.definition.uiElement:
- accessKey, className, hidden, id, onBlur, onChange, onClick, onDblclick, onFocus, onHide, onKeyDown, onKeypress, onKeyup, onLoad, onMousedown, onMouseout, onMouseover, onMouseup, onShow, style, title, type
Class Detail
CKFinder.dialog.definition.vbox()
Since:
2.0
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 CKFinder.ui.dialog.vbox object and can be accessed with CKFinder.dialog#getContentElement.
Once the dialog is opened, the created element becomes a CKFinder.ui.dialog.vbox object and can be accessed with CKFinder.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' } ] }
Field Detail
{String}
align
Since:
2.0
(Optional) The alignment of the whole layout. Example: center, top.
{Array}
children
Since:
2.0
Array of CKFinder.ui.dialog.uiElement objects inside this container.
{Boolean}
expand
Since:
2.0
(Optional) Whether the layout should expand vertically to fill its container.
{Number}
heights
Since:
2.0
(Optional) The heights of individual cells.
{Number}
padding
Since:
2.0
(Optional) The padding width inside child cells. Example: 0, 1.
{String}
styles
Since:
2.0
The CSS styles to apply to this element.
{Array}
width
Since:
2.0
(Optional) The width of the layout.