Ticket #7991: 7991_apidocs.patch
File 7991_apidocs.patch, 6.1 KB (added by , 13 years ago) |
---|
-
_source/plugins/dialog/dialogDefinition.js
500 500 * @example 501 501 */ 502 502 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 503 600 // ----- button ------ 504 601 505 602 /** … … 613 710 * </div> 614 711 * For a complete example of dialog definition, please check {@link CKEDITOR.dialog.add}. 615 712 * @name CKEDITOR.dialog.definition.file 616 * @extends CKEDITOR.dialog.definition. uiElement713 * @extends CKEDITOR.dialog.definition.labeledElement 617 714 * @constructor 618 715 * @example 619 716 * // There is no constructor for this class, the user just has to define an … … 648 745 */ 649 746 650 747 /** 651 * The label of the UI element.652 * @name CKEDITOR.dialog.definition.file.prototype.label653 * @type String654 * @field655 * @example656 */657 658 /**659 748 * (Optional) The action attribute of the form element associated with this file upload input. 660 749 * If empty, CKEditor will use path to server connector for currently opened folder. 661 750 * @name CKEDITOR.dialog.definition.file.prototype.action … … 828 917 * </div> 829 918 * For a complete example of dialog definition, please check {@link CKEDITOR.dialog.add}. 830 919 * @name CKEDITOR.dialog.definition.radio 831 * @extends CKEDITOR.dialog.definition. uiElement920 * @extends CKEDITOR.dialog.definition.labeledElement 832 921 * @constructor 833 922 * @example 834 923 * // There is no constructor for this class, the user just has to define an … … 873 962 * @example 874 963 */ 875 964 876 /**877 * The label of the UI element.878 * @name CKEDITOR.dialog.definition.radio.prototype.label879 * @type String880 * @field881 * @example882 */883 884 965 // ----- selectElement ------ 885 966 886 967 /** … … 892 973 * </div> 893 974 * For a complete example of dialog definition, please check {@link CKEDITOR.dialog.add}. 894 975 * @name CKEDITOR.dialog.definition.select 895 * @extends CKEDITOR.dialog.definition. uiElement976 * @extends CKEDITOR.dialog.definition.labeledElement 896 977 * @constructor 897 978 * @example 898 979 * // There is no constructor for this class, the user just has to define an … … 953 1034 * @example 954 1035 */ 955 1036 956 /**957 * The label of the UI element.958 * @name CKEDITOR.dialog.definition.select.prototype.label959 * @type String960 * @field961 * @example962 */963 964 1037 // ----- textInput ----- 965 1038 966 1039 /** … … 972 1045 * </div> 973 1046 * For a complete example of dialog definition, please check {@link CKEDITOR.dialog.add}. 974 1047 * @name CKEDITOR.dialog.definition.textInput 975 * @extends CKEDITOR.dialog.definition. uiElement1048 * @extends CKEDITOR.dialog.definition.labeledElement 976 1049 * @constructor 977 1050 * @example 978 1051 * // There is no constructor for this class, the user just has to define an … … 1025 1098 * @example 1026 1099 */ 1027 1100 1028 /**1029 * The label of the UI element.1030 * @name CKEDITOR.dialog.definition.textInput.prototype.label1031 * @type String1032 * @field1033 * @example1034 */1035 1036 1101 // ----- textarea ------ 1037 1102 1038 1103 /** … … 1044 1109 * </div> 1045 1110 * For a complete example of dialog definition, please check {@link CKEDITOR.dialog.add}. 1046 1111 * @name CKEDITOR.dialog.definition.textarea 1047 * @extends CKEDITOR.dialog.definition. uiElement1112 * @extends CKEDITOR.dialog.definition.labeledElement 1048 1113 * @constructor 1049 1114 * @example 1050 1115 * // There is no constructor for this class, the user just has to define an … … 1097 1162 * @field 1098 1163 * @example 1099 1164 */ 1100 1101 /**1102 * The label of the UI element.1103 * @name CKEDITOR.dialog.definition.textarea.prototype.label1104 * @type String1105 * @field1106 * @example1107 */