columnlistener.java

来自「用applet实现很多应用小程序」· Java 代码 · 共 73 行

JAVA
73
字号
package prefuse.data.event;

import java.util.EventListener;

import prefuse.data.column.Column;

/**
 * Listener interface for monitoring changes to a data column.
 * 
 * @author <a href="http://jheer.org">jeffrey heer</a>
 */
public interface ColumnListener extends EventListener {

    /**
     * Notification that a data column has changed.
     * @param src the column that has changed
     * @param type One of {@link EventConstants#INSERT},
     * {@link EventConstants#DELETE}, or {@link EventConstants#UPDATE}.
     * @param start the first column index that has been changed
     * @param end the last column index that has been changed
     */
    public void columnChanged(Column src, int type, int start, int end);
    
    /**
     * Notification that a data column has changed.
     * @param src the column that has changed
     * @param idx the column row index that has changed
     * @param prev the previous value at the given location
     */
    public void columnChanged(Column src, int idx, int prev);
    
    /**
     * Notification that a data column has changed.
     * @param src the column that has changed
     * @param idx the column row index that has changed
     * @param prev the previous value at the given location
     */
    public void columnChanged(Column src, int idx, long prev);
    
    /**
     * Notification that a data column has changed.
     * @param src the column that has changed
     * @param idx the column row index that has changed
     * @param prev the previous value at the given location
     */
    public void columnChanged(Column src, int idx, float prev);
    
    /**
     * Notification that a data column has changed.
     * @param src the column that has changed
     * @param idx the column row index that has changed
     * @param prev the previous value at the given location
     */
    public void columnChanged(Column src, int idx, double prev);
    
    /**
     * Notification that a data column has changed.
     * @param src the column that has changed
     * @param idx the column row index that has changed
     * @param prev the previous value at the given location
     */
    public void columnChanged(Column src, int idx, boolean prev);
    
    /**
     * Notification that a data column has changed.
     * @param src the column that has changed
     * @param idx the column row index that has changed
     * @param prev the previous value at the given location
     */
    public void columnChanged(Column src, int idx, Object prev);
    
} // end of interface ColumnListener

⌨️ 快捷键说明

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