Ticket #7991: 7991_apidocs.patch

File 7991_apidocs.patch, 6.1 KB (added by Wiktor Walc, 13 years ago)
  • _source/plugins/dialog/dialogDefinition.js

     
    500500 * @example
    501501 */
    502502
     503// ----- labeled element ------
     504
     505/**
     506 * The definition of labeled user interface element (textarea, textInput etc).
     507 * <div class="notapi">This class is not really part of the API. It just illustrates the properties
     508 * that developers can use to define and create dialog UI elements.</div>
     509 * @name CKEDITOR.dialog.definition.labeledElement
     510 * @extends CKEDITOR.dialog.definition.uiElement
     511 * @constructor
     512 * @see CKEDITOR.ui.dialog.labeledElement
     513 * @example
     514 * // There is no constructor for this class, the user just has to define an
     515 * // object with the appropriate properties.
     516 */
     517
     518/**
     519 * The label of the UI element.
     520 * @name CKEDITOR.dialog.definition.labeledElement.prototype.label
     521 * @type String
     522 * @field
     523 * @example
     524 * {
     525 *              type : 'text',
     526 *              label : 'My Label '
     527 * }
     528 */
     529
     530/**
     531 * (Optional) Specify the layout of the label. Set to 'horizontal' for horizontal layout.
     532 * The default layout is vertical.
     533 * @name CKEDITOR.dialog.definition.labeledElement.prototype.labelLayout
     534 * @type String
     535 * @field
     536 * @example
     537 * {
     538 *              type : 'text',
     539 *              label : 'My Label ',
     540 *      <strong>        labelLayout : 'horizontal',</strong>
     541 * }
     542 */
     543
     544/**
     545 * (Optional) Applies only to horizontal layouts: a two elements array of lengths to specify the widths of the
     546*       label and the content element. See also {@link CKEDITOR.dialog.definition.labeledElement#labelLayout}.
     547 * @name CKEDITOR.dialog.definition.labeledElement.prototype.widths
     548 * @type Array
     549 * @field
     550 * @example
     551 * {
     552 *              type : 'text',
     553 *              label : 'My Label ',
     554 *              labelLayout : 'horizontal',
     555 *      <strong>        widths : [100, 200],</strong>
     556 * }
     557 */
     558
     559/**
     560 *  Specify the inline style of the uiElement label.
     561 * @name CKEDITOR.dialog.definition.labeledElement.prototype.labelStyle
     562 * @type String
     563 * @field
     564 * @example
     565 * {
     566 *              type : 'text',
     567 *              label : 'My Label ',
     568 *      <strong>        labelStyle : 'color: red',</strong>
     569 * }
     570 */
     571
     572
     573/**
     574 *  Specify the inline style of the input element.
     575 * @name CKEDITOR.dialog.definition.labeledElement.prototype.inputStyle
     576 * @type String
     577 * @field
     578 * @example
     579 * {
     580 *              type : 'text',
     581 *              label : 'My Label ',
     582 *      <strong>        inputStyle : 'text-align:center',</strong>
     583 * }
     584 */
     585
     586/**
     587 *  Specify the inline style of the input element container .
     588 * @name CKEDITOR.dialog.definition.labeledElement.prototype.controlStyle
     589 * @type String
     590 * @field
     591 * @example
     592 * {
     593 *              type : 'text',
     594 *              label : 'My Label ',
     595 *      <strong>        controlStyle : 'width:3em',</strong>
     596 * }
     597 */
     598
     599
    503600// ----- button ------
    504601
    505602/**
     
    613710 * </div>
    614711 * For a complete example of dialog definition, please check {@link CKEDITOR.dialog.add}.
    615712 * @name CKEDITOR.dialog.definition.file
    616  * @extends CKEDITOR.dialog.definition.uiElement
     713 * @extends CKEDITOR.dialog.definition.labeledElement
    617714 * @constructor
    618715 * @example
    619716 * // There is no constructor for this class, the user just has to define an
     
    648745 */
    649746
    650747/**
    651  * The label of the UI element.
    652  * @name CKEDITOR.dialog.definition.file.prototype.label
    653  * @type String
    654  * @field
    655  * @example
    656  */
    657 
    658 /**
    659748 * (Optional) The action attribute of the form element associated with this file upload input.
    660749 * If empty, CKEditor will use path to server connector for currently opened folder.
    661750 * @name CKEDITOR.dialog.definition.file.prototype.action
     
    828917 * </div>
    829918 * For a complete example of dialog definition, please check {@link CKEDITOR.dialog.add}.
    830919 * @name CKEDITOR.dialog.definition.radio
    831  * @extends CKEDITOR.dialog.definition.uiElement
     920 * @extends CKEDITOR.dialog.definition.labeledElement
    832921 * @constructor
    833922 * @example
    834923 * // There is no constructor for this class, the user just has to define an
     
    873962 * @example
    874963 */
    875964
    876 /**
    877  * The label of the UI element.
    878  * @name CKEDITOR.dialog.definition.radio.prototype.label
    879  * @type String
    880  * @field
    881  * @example
    882  */
    883 
    884965// ----- selectElement ------
    885966
    886967/**
     
    892973 * </div>
    893974 * For a complete example of dialog definition, please check {@link CKEDITOR.dialog.add}.
    894975 * @name CKEDITOR.dialog.definition.select
    895  * @extends CKEDITOR.dialog.definition.uiElement
     976 * @extends CKEDITOR.dialog.definition.labeledElement
    896977 * @constructor
    897978 * @example
    898979 * // There is no constructor for this class, the user just has to define an
     
    9531034 * @example
    9541035 */
    9551036
    956 /**
    957  * The label of the UI element.
    958  * @name CKEDITOR.dialog.definition.select.prototype.label
    959  * @type String
    960  * @field
    961  * @example
    962  */
    963 
    9641037// ----- textInput -----
    9651038
    9661039/**
     
    9721045 * </div>
    9731046 * For a complete example of dialog definition, please check {@link CKEDITOR.dialog.add}.
    9741047 * @name CKEDITOR.dialog.definition.textInput
    975  * @extends CKEDITOR.dialog.definition.uiElement
     1048 * @extends CKEDITOR.dialog.definition.labeledElement
    9761049 * @constructor
    9771050 * @example
    9781051 * // There is no constructor for this class, the user just has to define an
     
    10251098 * @example
    10261099 */
    10271100
    1028 /**
    1029  * The label of the UI element.
    1030  * @name CKEDITOR.dialog.definition.textInput.prototype.label
    1031  * @type String
    1032  * @field
    1033  * @example
    1034  */
    1035 
    10361101// ----- textarea ------
    10371102
    10381103/**
     
    10441109 * </div>
    10451110 * For a complete example of dialog definition, please check {@link CKEDITOR.dialog.add}.
    10461111 * @name CKEDITOR.dialog.definition.textarea
    1047  * @extends CKEDITOR.dialog.definition.uiElement
     1112 * @extends CKEDITOR.dialog.definition.labeledElement
    10481113 * @constructor
    10491114 * @example
    10501115 * // There is no constructor for this class, the user just has to define an
     
    10971162 * @field
    10981163 * @example
    10991164 */
    1100 
    1101 /**
    1102  * The label of the UI element.
    1103  * @name CKEDITOR.dialog.definition.textarea.prototype.label
    1104  * @type String
    1105  * @field
    1106  * @example
    1107  */
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy