?? shape.java
字號:
/*
* shape.java
*
* Created on 2007年6月16日, 下午1:26
*
* To change this template, choose Tools | Template Manager
* and open the template in the editor.
*/
package huaban;
import java.awt.Color;
import java.io.Serializable;
public class shape implements Serializable{
point dot;
Color color;
int size;
int state;
public shape() {
dot = new point(0,0);
size = 0;
state = 0;
color = Color.BLACK;
}
public void setcolor(Color color){
this.color = color;
}
public void setsize(int i){
size = i;
}
public void setstate(int i){
state = i;
}
public point getdot(){
return dot;
}
public Color getcolor(){
return color;
}
public int getsize(){
return size;
}
public int getstate(){
return state;
}
}
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -