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

📄 graphevent.java

📁 用Java开发的、实现类似Visio功能的应用程序源码
💻 JAVA
字号:
/**
 *    $Id:GraphEvent.java $
 *
 *    Copyright 2004 ~ 2005  JingFei International Cooperation LTD. All rights reserved. *
 */
package com.jfimagine.jfgraph.event;


import java.util.EventObject;

 
 /**
 * A GraphEvent class is used to encapsulate the events in modifying shapes.
 *
 * @author     CookieMaker    
 *
 * @version $Revision: 1.3.1 $
 */  
public class GraphEvent extends EventObject{
        
	/** 
	 *  A graph change object that contains necessary informations about 
	 *  shape modification.
	 */        
	protected  AbstractGraphChange  m_graphChange;
	
	/**
	 *  The constructor of GraphEvent.
	 *  @param source The event source object.
	 *  @param graphChange A graph change object.
	 */	
        public GraphEvent(Object source, AbstractGraphChange graphChange) {
            super(source);
            m_graphChange	=graphChange;
        }
        
        /**
         *  Get the graph change object.
         *  @return the graph change object.
         */
        public AbstractGraphChange getGraphChange(){
        	return m_graphChange;
        }

}

⌨️ 快捷键说明

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