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

📄 customsheetnode.java

📁 全面实现ilog地功能,没有使用第三方lib.
💻 JAVA
字号:
/* * This source code is part of TWaver 1.3.1 * * SERVA Software PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. * Copyright 2000-2005 SERVA Software, Inc. All rights reserved. */package demo.sheet.customsheet;

import java.awt.Color;

/*
 * This source code is part of TWaver 1.3.0.
 *
 * SERVA Software PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
 * Copyright 2001-2005 SERVA Software, Inc. All rights reserved
 */
 
public class CustomSheetNode extends twaver.Node {
	
    public CustomSheetNode() {
        super();
        init();
    };
    
    public CustomSheetNode(Object id) {
        super(id);
        init();
    }

    private void init() {
        this.putClientProperty("MyProp1", "ABCDEFG");
        this.putClientProperty("MyProp2", "www.servasoft.com");
        
        this.putClientProperty("Married", Boolean.TRUE);
        this.putClientProperty("Color", new Color(0, 0, 51));
        this.putClientProperty("State", State.STOPPED);
        
        this.putClientProperty("Sex", EnumEditor.Sex.getValues()[0]);
        this.putClientProperty("Language", EnumEditor.Language.getValues()[1]);
        
        this.putClientProperty("Character", new Character('T'));
        this.putClientProperty("Proportion", new Double(0.8));
        
        this.putClientProperty("Scale", new Float(0.3));
    }
}

⌨️ 快捷键说明

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