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

📄 dockinglistener.java

📁 定要上载质量高而定要上载质量高而定要上载质量高而定要上载质量高而定要上载质量高而
💻 JAVA
字号:
/*
 * Created on Mar 8, 2005
 */
package org.flexdock.docking.event;

import java.util.EventListener;

/**
 * @author Kevin Duffey
 * @author Christopher Butler
 */
public interface DockingListener extends EventListener {
	
	/**
	 * Fired when docking of a <code>Dockable</code> has completed.
	 * 
	 * @param evt
	 *            the <code>DockingEvent</code> event which provides the
	 *            source Dockable, the old DockingPort and the new DockingPort
	 */
	void dockingComplete(DockingEvent evt);

	/**
	 * Fired when docking of a <code>Dockable</code> is canceled during the operation.
	 * 
	 * @param evt
	 *            the <code>DockingEvent</code> event which provides the
	 *            source Dockable, the old DockingPort and the new DockingPort
	 */
	void dockingCanceled(DockingEvent evt);
	
	
	/**
	 * Fired when the dragging of a <code>Dockable</code> has begun.
	 * 
	 * @param evt
	 *            the <code>DockingEvent</code> event which provides the
	 *            source Dockable, the old DockingPort and the new DockingPort
	 */
	void dragStarted(DockingEvent evt);
	
	
	/**
	 * Fired when the dropping of a <code>Dockable</code> has begun at the release
	 * of a drag-operation.
	 * 
	 * @param evt
	 *            the <code>DockingEvent</code> event which provides the
	 *            source Dockable, the old DockingPort and the new DockingPort
	 */
	void dropStarted(DockingEvent evt);
	
	void undockingComplete(DockingEvent evt);
	
	void undockingStarted(DockingEvent evt);
	
	class Stub implements DockingListener {

		public void dockingCanceled(DockingEvent evt) {}

		public void dockingComplete(DockingEvent evt) {}

		public void dragStarted(DockingEvent evt) {}

		public void dropStarted(DockingEvent evt) {}

		public void undockingComplete(DockingEvent evt) {}
		
		public void undockingStarted(DockingEvent evt) {}
		
	}
    
}

⌨️ 快捷键说明

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