?? people.java
字號:
/**
* @author: WangJinTao,MengQingChang 2006
*/
package jfaceViewer;
import org.eclipse.swt.graphics.RGB;
public class People {
private Integer id;
private String name;
private boolean male;
private Integer age;
private String position;
private RGB color;
// 返回id
public Integer getID() {
return id;
}
// 設置id
public void setID(Integer id) {
this.id = id;
}
// 返回name
public String getName() {
return name;
}
// 設置name
public void setName(String name) {
this.name = name;
}
// 返回male
public boolean getMale() {
return male;
}
// 設置 male
public void setMale(boolean male) {
this.male = male;
}
// 設置age
public Integer getAge() {
return age;
}
// 返回age
public void setAge(Integer age) {
this.age = age;
}
// 返回position
public String getPosition() {
return position;
}
// 設置position
public void setPosition(String position) {
this.position = position;
}
// 返回color
public RGB getColor() {
return color;
}
// 設置color
public void setColor(RGB color) {
this.color = color;
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -