⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 cardattachment.java

📁 java绘图 java awt 经典绘图的例子,对于初学awt模块的人非常有帮助.
💻 JAVA
字号:
/* * To change this template, choose Tools | Templates * and open the template in the editor. */package cardmanager;/** * * @author zhaolin */public class CardAttachment implements java.io.Serializable, ICardAttachment {    private int degree;    private boolean[] favors;    public CardAttachment() {        favors = new boolean[6];    }    public int getDegree() {        return degree;    }    public void setDegree(int degree) {        this.degree = degree;    }        public boolean isFavor(int index){        return favors[index];    }        public void setFavor(int index){        favors[index] = true;     }        public void removeFavor(int index){        favors[index] = false;     }    }

⌨️ 快捷键说明

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