medium.java

来自「基于Java技术实现的minipacs系统,可以进行诊断信息登记, 嵌入控件查看」· Java 代码 · 共 47 行

JAVA
47
字号
/* * Medium.java * * Created on 25. november 2005, 10:06 * * To change this template, choose Tools | Options and locate the template under * the Source Creation and Management node. Right-click the template and choose * Open. You can then make changes to the template in the Source Editor. */package burningtools;/** * * @author Thomas */public class Medium {    //TODO exchange the booleans with an enum type.    private boolean isCD;    private boolean isDVD;    private boolean isBlank;    private int capasity;        /** Creates a new instance of Medium */    public Medium(boolean isBlank) {        this.isBlank = isBlank;            }        public void setMediumInfo(boolean isCD, boolean isDVD, int capasity) {        this.isCD = isCD;        this.isDVD = isDVD;        this.capasity = capasity;    }    public boolean isCD() {        return isCD;    }        public boolean getMediumBlank() {        return this.isBlank;    }        public int getMediumCapasity() {        return this.capasity;    }}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?