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

📄 uniquewindow.java

📁 CRMS客户关系管理系统(JAVA版),这是一个客户关系管理系统。
💻 JAVA
字号:
package crms.ui;/** Special interface for windows designated to be uniquely created, such as edit windows. * The method for creating / using these windows is with UniqueWindowFactory. An example of the usage is: * <code>UniqueWindowType window = (UniqueWindowType)UniqueWindowFactory.getInstance().getUniqueWindow(new UniqueWindowType(), specialobject);</code>  * A good method to make a unique ID is: *<code>String id = getClass().getName() + ":" + <i>(unique data attributes)</i>;</code>*/public abstract class UniqueWindow extends CRMSWindow {	UniqueWindowFactory __factory = null;	String __id = null;	/** Determine a Unique ID for a particular class */	public abstract String getUniqueID(Object data);	public abstract void setData(Object data);	public void dispose() {		if (__factory != null) {			__factory.hashWindows.remove(__id);			System.out.println("UniqueWindow:hashWindows.size()=" + __factory.hashWindows.size()); 		}		super.dispose();	}}

⌨️ 快捷键说明

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