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

📄 viewchangelistener.java

📁 JHotDraw是一个二维的GUI框架
💻 JAVA
字号:
package CH.ifa.draw.framework;
import CH.ifa.draw.framework.DrawingView;
import java.util.EventListener;

/**
 * Title:
 * Description:
 * Copyright:    Copyright (c) 2001
 * Company:
 * @author      SourceForge(dnoyeb) aka C.L.Gilbert
 * @version     1.0
 * @since       10/14/01
 */

 /**
  *
  * @see javax.swing.event.EventListenerList
  */
public interface ViewChangeListener extends EventListener {

	/**
	 * Sent when the active view has changed.
	 * @param DrawingView view
	 */
	public void viewSelectionChanged(DrawingView oldView, DrawingView newView);
	
	/**
	 * Sent when a new view is created.  This should only be fired after the view
	 * has a peer.  I believe that means the view has a component chain all the way
	 * to a heavyweight container.
	 * @param DrawingView view
	 */
	public void viewCreated(DrawingView view);

	/**
	 * Send when an existing view is about to be destroyed.  After processing this
	 * event, the view is not guaranteed to contain any appropriate data.  You
	 * must not use it.
	 */
	public void viewDestroying(DrawingView view);
}

⌨️ 快捷键说明

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