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

📄 nodeselectionlistener.java

📁 JPowerGraph is a Java library for creating directed graphs for SWT. It supports graph movement, sele
💻 JAVA
字号:
package net.sourceforge.jpowergraph.manipulator.selection;

import java.util.Collection;
import java.util.EventListener;

/**
 * A listener for node selection.
 */
public interface NodeSelectionListener extends EventListener {
    /**
     * Called when nodes are added to the selection.
     *
     * @param nodeSelectionModel                    the selection of the nodes
     * @param nodes                                 the nodes added to the selection
     */
    void nodesAddedToSelection(NodeSelectionModel nodeSelectionModel,Collection nodes);
    /**
     * Called when nodes are removed to the selection.
     *
     * @param nodeSelectionModel                    the selection of the nodes
     * @param nodes                                 the nodes removed to the selection
     */
    void nodesRemovedFromSelection(NodeSelectionModel nodeSelectionModel,Collection nodes);
    /**
     * Called when the selection is cleared.
     *
     * @param nodeSelectionModel                    the selection of the nodes
     */
    void selectionCleared(NodeSelectionModel nodeSelectionModel);
}

⌨️ 快捷键说明

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