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

📄 treetreedndlistener.java

📁 JGraph扩展应用。自定义Renderer,自定义视图View实现自定义工作流控件
💻 JAVA
字号:
/* * $Id: TreeTreeDnDListener.java,v 1.3 2006/05/15 20:07:28 aviva Exp $ * Read the "license.txt" file for licensing information. * (C) Antonio Vieiro. All rights reserved. */package net.antonioshome.swing.treewrapper;import java.util.EventListener;/** * TreeTreeDnDListener represents a listener that receives notifications *   when some node from a tree is moved or copied into itself *   (or into another tree). * @author Antonio Vieiro (antonio@antonioshome.net), $Author: aviva $ * @version $Revision: 1.3 $ */public interface TreeTreeDnDListener  extends EventListener{  /**   * Invoked to verify that a node may be dropped into another node.   * @param anEvent a TreeTreeDnDEvent the event containing information about   *  the Drag and Drop operation.   * @throws DnDVetoException if the drag and drop operation is not valid.   */  public void mayDrop( TreeTreeDnDEvent anEvent )    throws DnDVetoException;    /**   * Invoked when the drop operation happens.   * @param anEvent a TreeTreeDnDEvent the event containing information about   *  the Drag and Drop operation.   * @throws DnDVetoException if the drag and drop operation is not valid.   */  public void drop( TreeTreeDnDEvent anEvent )    throws DnDVetoException;}

⌨️ 快捷键说明

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