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

📄 clipboard.java

📁 JHotDraw学习过程中对数组的测试程序haha 学习过程中对数组的测试程序
💻 JAVA
字号:
/* * @(#)Clipboard.java 5.1 * */package CH.ifa.draw.util;import java.awt.*;import java.util.*;/** * A temporary replacement for a global clipboard. * It is a singleton that can be used to store and * get the contents of the clipboard. * */public class Clipboard {    static Clipboard fgClipboard = new Clipboard();    /**     * Gets the clipboard.     */    static public Clipboard getClipboard() {        return fgClipboard;    }    private Object fContents;    private Clipboard() {    }    /**     * Sets the contents of the clipboard.     */    public void setContents(Object contents) {        fContents = contents;    }    /**     * Gets the contents of the clipboard.     */    public Object getContents() {        return fContents;    }}

⌨️ 快捷键说明

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