⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 propertysheet.js

📁 javascript 很酷的类库
💻 JS
字号:
/*
 * Isomorphic SmartClient
 * Version 6.5 (2008-04-30)
 * Copyright(c) 1998-2007 Isomorphic Software, Inc. All rights reserved.
 * "SmartClient" is a trademark of Isomorphic Software, Inc.
 *
 * licensing@smartclient.com
 *
 * http://smartclient.com/license
 */
// Class will not work without DynamicFormif (isc.DynamicForm) {//> @class PropertySheet//// Editor with a minimalist appearance, tuned for editing large numbers of properties in a// constrained space.//// @treeLocation Client Reference/Forms//// @visibility external//<isc.defineClass("PropertySheet", "DynamicForm").addProperties({    autoChildItems:true,        // Don't show 'spelling errors' - this is used to edit the properties of form items, etc    browserSpellCheck:false,    // for all FormItems    autoChildDefaults : {	    cellStyle:"propSheetValue",    	titleStyle:"propSheetTitle",        showHint:false    },    // borders don't look particular good around GroupItems    GroupItemDefaults : {	    cellStyle:null    },    ExpressionItemDefaults : {        width:"*",    	height:18,        showActionIcon:true    },    ActionMenuItemDefaults : {        width:"*",        height:18    },        SelectItemDefaults : {        controlStyle:"propSheetSelectControl",    	pickListProperties:{cellHeight:16, border:"1px solid black"},    	height:20,	    width:"*",        pickerIconHeight:15, pickerIconWidth:15,        pickerIconSrc:"[SKIN]/DynamicForm/PropSheet_pickbutton.gif",        showOver:false    },    DateItemDefaults : {        width:"*"    },    TextItemDefaults : {    	width:"*",	    height:16,    	textBoxStyle:"propSheetField"    },        ColorItemDefaults : {    	width:"*",	    height:16,        pickerIconHeight:16, pickerIconWidth:16,        pickerIconSrc:"[SKIN]/DynamicForm/PropSheet_ColorPicker_icon.png",    	textBoxStyle:"propSheetField"    },    HeaderItemDefaults : {	    cellStyle:"propSheetHeading"    },    TextAreaItemProperties : {width:"*"},    // place labels on left    CheckboxItemDefaults : {        showTitle:true,         showLabel:false,        getTitleHTML : function () { // NOTE: copy of FormItem.getTitle()            if (this[this.form.titleField] != null) return this[this.form.titleField];            return this[this.form.fieldIdProperty];        }    },        // Apply a different cellStyle to sectionItems - we don't want the 1px border around them    SectionItemDefaults : {        cellStyle:"propSheetSectionHeaderCell"    },    titleAlign:"left",	titleWidth:120,	cellSpacing:0,	cellPadding:0,	backgroundColor:"white",	requiredTitlePrefix:"<span style='color:green'>",	requiredTitleSuffix:"</span>",	titleSuffix:"",    clipItemTitles:true});}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -