alignmentchange.java
来自「用Java开发的、实现类似Visio功能的应用程序源码」· Java 代码 · 共 41 行
JAVA
41 行
/**
* $Id:AlignmentChange.java $
*
* Copyright 2004 ~ 2005 JingFei International Cooperation LTD. All rights reserved. *
*/
package com.jfimagine.jfgraph.event;
import com.jfimagine.jfdraw.draw.AlignShapes;
/**
* A AlignmentChange class is the shape alignment information class.
*
* @author CookieMaker
*
* @version $Revision: 1.4.0 $
*/
public class AlignmentChange extends AbstractGraphChange {
private int m_alignmentType=0;
/** set alignment type, alignment types is defined at
* AlignShapes class.
* @param alignmentType A new alignment type.
*/
public void setAlignmentType(int alignmentType){
m_alignmentType =alignmentType;
}
/** get alignment type, alignment types is defined at
* AlignShapes class.
* @return the alignment type
*/
public int getAlignmentType(){
return m_alignmentType;
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?