📄 graphevent.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 + -