📄 nodeselectionlistener.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 + -