?? imoveable.java
字號:
package com.bemjh.Shape;
import java.awt.Graphics;
/**
* <p>Title: MultiMoveableShape</p>
*
* <p>Description: MultiMoveable Shape</p>
*
* <p>Copyright: Copyright (c) 2006</p>
*
* <p>Company: bemjh</p>
*
* @author bemjh
* @version 1.0
*/
public interface IMoveable {
/**
* this function is to draw a graph
* @param g graphics object
*/
public void draw(Graphics g);
/**
* the function traslate is to increase the x and y of the object
* @param dx x direction to crease
* @param dy y direction to crease
*/
public void translate(double dx, double dy);
}
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -