📄 clipboard.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 + -