📄 obj.java
字号:
import javax.microedition.lcdui.Image;
public class Obj
{
private Image image;
private byte code;
int width;
int height;
String name;
public Obj()
{
this("", null, 0); }
public Obj(String name, Image image, byte code) {
this.name = name;
this.image = image;
this.width = image.getWidth();
this.height = image.getHeight();
this.code = code; }
public void setImage(Image image) {
this.image = image; }
public Image getImage() {
return this.image; }
public byte getCode() {
return this.code; }
public String getName() {
return this.name;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -