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

📄 observablelist.java

📁 java属性邦定的(JSR-295)的一个实现
💻 JAVA
字号:
/* * Copyright (C) 2006-2007 Sun Microsystems, Inc. All rights reserved. Use is * subject to license terms. */package org.jdesktop.observablecollections;import java.util.List;/** * A {@code List} that notifies listeners of changes. * * @author sky */public interface ObservableList<E> extends List<E> {    /**     * Adds a listener that is notified when the list changes.     *     * @param listener the listener to add     */    public void addObservableListListener(ObservableListListener listener);    /**     * Removes a listener.     *     * @param listener the listener to remove     */    public void removeObservableListListener(ObservableListListener listener);    /**     * Returns {@code true} if this list sends out notification when     * the properties of an element change. This method may be used     * to determine if a listener needs to be installed on each of     * the elements of the list.     *     * @return {@code true} if this list sends out notification when     *         the properties of an element change     */    public boolean supportsElementPropertyChanged();}

⌨️ 快捷键说明

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