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

📄 typeconverter.java

📁 非常接近C/S操作方式的Java Ajax框架-ZK 用ZK框架使你的B/S应用程序更漂亮更易操作。 官网:www.zkoss.org
💻 JAVA
字号:
/* TypeConverter.java{{IS_NOTE	Purpose:			Description:			History:		Thu Nov 16 12:43:01     2006, Created by Henri Chen}}IS_NOTECopyright (C) 2006 Potix Corporation. All Rights Reserved.{{IS_RIGHT}}IS_RIGHT*/package org.zkoss.zkplus.databind;import org.zkoss.zk.ui.Component;/** * Converter to cast object class between UI Component attribute and backend data bean property. * This interface is used in DataBinder. The implementation of this converter should not hold any * state since it is shared by the whole application. * * @author Henri Chen */public interface TypeConverter {	/** Convert an value object to UI component attribute type.	 * @param val the object to be corece to UI component attribute type.	 * @param comp associated component	 */	public Object coerceToUi(Object val, Component comp);	/** Convert an value object to bean property type.	 * @param val the object to be corece to backend bean property type.	 * @param comp associated component	 */	public Object coerceToBean(Object val, Component comp);}

⌨️ 快捷键说明

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