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

📄 displaynumerstringcell.java

📁 基于java的组号查询模块
💻 JAVA
字号:
/* $RCSfile: DisplayNumerStringCell.java,v $
* Created on 2006-9-15 by zouxuemo
* $Source: /LilyDAPCVS/myAppfuse/src/web/com/lily/dap/webapp/extremecomponents/DisplayNumerStringCell.java,v $
* $Id: DisplayNumerStringCell.java,v 1.1 2006/11/25 02:30:28 zxm Exp $
* Copyright (c) 2005 Jiffle Ltd.  All rights reserved.
*/ 
package com.lily.dap.webapp.extremecomponents;

import org.extremecomponents.table.bean.Column;
import org.extremecomponents.table.cell.DisplayCell;
import org.extremecomponents.table.core.TableModel;

/** 
 * 对于存储的是个数值的字符串的列,在需要Excel导出时会把这个字符串当成是数值列输出,这时候使用这个扩展Cell
 * 使用方法举例:
 *     <ec:column property="code" sortable="true" cell="com.lily.dap.webapp.extremecomponents.DisplayNumerStringCell" style="text-align: center; width:80px;"/>
 * 
 * @author zouxuemo
 * @version $Revision: 1.1 $
 */
public class DisplayNumerStringCell extends DisplayCell {
    public String getExportDisplay(TableModel model, Column column) {
    	String value = super.getExportDisplay(model, column);
    	value = " " + value;
        return value;
    }
}

⌨️ 快捷键说明

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