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

📄 observablecollection.java

📁 本程序是有IBM开发的一个基于数据表格的组件,里面有相关的例子和DOC,本站资料仅为大家学习之用
💻 JAVA
字号:

package com.ibm.j2x.util.collection;

import com.ibm.j2x.event.CollectionListener;

/**
 * The ObservableCollection interface acts as a super interface for all the collection
 * objects in the Observable framework.  It requires its implementors to 
 * store its own listeners.
 * <p>Although the Map and Bag are technically according to Sun not a Collection, they
 * are used through the Collections framework as if they are.  This inconsistency is
 * carried through to this package, as a Map and Bag are treated as a normal collection
 * for ease of use and consistency throughout the framework.
 * @author MAbernethy
 *
 */
public interface ObservableCollection
{
	/**
	 * Adds a CollectionListener to the collection
	 * @param l the listener
	 */
	public void addCollectionListener(CollectionListener l);
	
	/**
	 * Removes a CollectionListener to the collection
	 * @param l the listener
	 */
	public void removeCollectionListener(CollectionListener l);
}

⌨️ 快捷键说明

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