zoukankan      html  css  js  c++  java
  • EAS组件编辑和显示的自定义

     1      KDFormattedTextField kdtEntrys_returnAmount_TextField = new KDFormattedTextField();
     2         kdtEntrys_returnAmount_TextField.setName("kdtEntrys_returnAmount_TextField");
     3         kdtEntrys_returnAmount_TextField.setVisible(true);
     4         kdtEntrys_returnAmount_TextField.setEditable(true);
     5         kdtEntrys_returnAmount_TextField.setHorizontalAlignment(2);
     6         kdtEntrys_returnAmount_TextField.setDataType(1);
     7         kdtEntrys_returnAmount_TextField.setMinimumValue(new java.math.BigDecimal("-1.0E18"));
     8         kdtEntrys_returnAmount_TextField.setMaximumValue(new java.math.BigDecimal("1.0E18"));
     9         kdtEntrys_returnAmount_TextField.setPrecision(10);
    10         KDTDefaultCellEditor kdtEntrys_returnAmount_CellEditor = new KDTDefaultCellEditor(kdtEntrys_returnAmount_TextField);
    11         this.kdtEntrys.getColumn("returnAmount").setEditor(kdtEntrys_returnAmount_CellEditor);
    12 final KDBizPromptBox kdtEntrys_referRecBill_PromptBox = new KDBizPromptBox(); 13 kdtEntrys_referRecBill_PromptBox.setQueryInfo("com.kingdee.eas.fi.cas.PaymentBillQuery"); 14 kdtEntrys_referRecBill_PromptBox.setVisible(true); 15 kdtEntrys_referRecBill_PromptBox.setEditable(true); 16 kdtEntrys_referRecBill_PromptBox.setDisplayFormat("$number$"); 17 kdtEntrys_referRecBill_PromptBox.setEditFormat("$number$"); 18 kdtEntrys_referRecBill_PromptBox.setCommitFormat("$number$"); 19 KDTDefaultCellEditor kdtEntrys_referRecBill_CellEditor = new KDTDefaultCellEditor(kdtEntrys_referRecBill_PromptBox); 20 this.kdtEntrys.getColumn("referRecBill").setEditor(kdtEntrys_referRecBill_CellEditor);
    21 ObjectValueRender kdtEntrys_referRecBill_OVR = new ObjectValueRender();//new CellCheckBoxRenderer() 22 kdtEntrys_referRecBill_OVR.setFormat(new BizDataFormat("$number$")); 23 this.kdtEntrys.getColumn("referRecBill").setRenderer(kdtEntrys_referRecBill_OVR);
  • 相关阅读:
    WinJS Clipboard
    -ms-grid -ms-grid-rows -ms-grid-row -ms-grid-columns -ms-grid-column
    严格模式 (JavaScript)
    windows rt 扫描二维码
    winmd文件和dll文件的区别
    Windows store 验证你的 URL http:// 和 https:// ms-appx:/// ms-appdata:///local
    使用C#在Windows应用商店程序中获取CPU信息
    python面向对象基础-01
    python红蓝英雄大乱斗(面向对象实现)
    python购物车升级版
  • 原文地址:https://www.cnblogs.com/cyhj/p/5055508.html
Copyright © 2011-2022 走看看