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

📄 spaceritem.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	SpacerItem// A SpacerItem takes up a single cell in the FormLayout, of arbitrary size.// @visibility external//<isc.ClassFactory.defineClass("SpacerItem", "FormItem");isc.SpacerItem.addProperties({    // avoid attempting to save this item in the form's values array    shouldSaveValue:false,    //>	@attr	spacerItem.showTitle		(boolean : false : IRW)	//			we never show a separate title cell for spacers	//		@group	appearance    // @visibility external	//<		showTitle:false,    //>	@attr	spacerItem.width				(number : 20 : IRW)	//			default width for the spacer	//		@group	appearance    // @visibility external	//<	width:20,	//>	@attr	spacerItem.height			(number : 20 : IRW)	//			default height for the spacer	//		@group	appearance    // @visibility external	//<	height:20,    showHint:false,     // Don't show a hint for this item    showIcons:false     // even if a user has defined icons for this item, suppress them});isc.SpacerItem.addMethods({    // Override isEditable as this is non editable    isEditable : function () {        return false;    },    	//>	@method	spacerItem.getElementHTML()	(A)	//			output the HTML for this element	//		@group	drawing	//	//		@param	value	(string)	Value of the element [Unused because it is more reliably set by setValue].	//		@return	(HTML)	HTML output for this element	//<	getElementHTML : function (value) {		return isc.Canvas.spacerHTML(this.width, this.height);	},    //>	@method	spacerItem.shouldShowTitle()	(A)    //      Override formItem.shouldShowTitle to return false - we don't want    //      to draw a cell for the item title	//		@group	drawing	//	//		@return	(HTML)	title for the formItem	//<	shouldShowTitle : function () {		return false;	}});

⌨️ 快捷键说明

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