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

📄 eventconst.java

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


 /**
 * An EventConst class is used to define all the consts of graph events.
 *
 * @author     CookieMaker    
 *
 * @version $Revision: 1.3.1 $
 */  
public class EventConst{

	//***************shape event *************************
	        
	/**Shape selected event. */        
	public static final int SHAPE_SELECTED		=1;

	/**Shape moving event. */        
	public static final int SHAPE_MOVING		=2;

	/**Shape moved event. */        
	public static final int SHAPE_MOVED		=3;

	/**Shape rotating event. */        
	public static final int SHAPE_ROTATING		=4;

	/**Shape rotated event. */        
	public static final int SHAPE_ROTATED		=5;

	/**Shape mirrored event. */        
	public static final int SHAPE_MIRRORED		=6;

	/**Shape flipped event. */        
	public static final int SHAPE_FLIPPED		=7;

	/**Shape alignment event. */        
	public static final int SHAPE_ALIGNMENT		=8;

	
	/**Property changed event. 
	 * Then event when chaning shape fonts, line formats, fill formats,text,etc.
	 */        
	public static final int SHAPE_PROPERTYCHANGED	=15;


	//***************node event *************************
	
	/**Node selected event. */        
	public static final int NODE_SELECTED		=21;

	/**Node moving event. */        
	public static final int NODE_MOVING		=22;

	/**Node moved event. */
	public static final int NODE_MOVED		=23;

	//***************label event *************************

	/**Label selected event. */        
	public static final int LABEL_SELECTED		=41;

	/**Label moving event. */        
	public static final int LABEL_MOVING		=42;
        
	/**Label moved event. */        
	public static final int LABEL_MOVED		=43;

        

}

⌨️ 快捷键说明

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