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

📄 stringtreedndlistener.java

📁 JGraph扩展应用。自定义Renderer,自定义视图View实现自定义工作流控件
💻 JAVA
字号:
/* * $Id: StringTreeDnDListener.java,v 1.2 2006/05/08 19:36:50 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;/** * StringTreeDnDListener represents a listener that is informed when *   a String is about to be dropped into a node in a JTree. * @author Antonio Vieiro (antonio@antonioshome.net), $Author: aviva $ * @version $Revision: 1.2 $ */public interface StringTreeDnDListener  extends EventListener{  /**   * Invoked to verify that aSourceString may be dropped into   *  aTargetNode inside aTargetTree.   * @param anEvent a StringTreeDnDEvent containing information about   *  the data being dropped.   * @throws DnDVetoException if the drag and drop operation is not valid.   */  public void mayDrop( StringTreeDnDEvent anEvent )    throws DnDVetoException;    /**   * Invoked when the drop operation happens.   * @param anEvent a StringTreeDnDEvent the event containing information about   *  the Drag and Drop operation.   * @throws DnDVetoException if the drag and drop operation is not valid.   */  public void drop( StringTreeDnDEvent anEvent )    throws DnDVetoException;}

⌨️ 快捷键说明

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