eventconst.java
来自「用Java开发的、实现类似Visio功能的应用程序源码」· Java 代码 · 共 75 行
JAVA
75 行
/**
* $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 + =
减小字号Ctrl + -
显示快捷键?