selectable.java
来自「和YACC一样」· Java 代码 · 共 35 行
JAVA
35 行
/*File: Selectable.javaAuthor: zerksis d. umrigar (zdu@acm.org)Copyright (C) 1997 Zerksis D. UmrigarLast Update Time-stamp: "97/07/19 20:01:39 zdu"This code is distributed under the terms of the GNU General Public License.See the file COPYING with this distribution, or http://www.fsf.org/copyleft/gpl.htmlTHERE IS ABSOLUTELY NO WARRANTY FOR THIS PROGRAM.*/package zdu.zydebug;import java.awt.Color;import java.awt.Component;/** This interface is implemented by widgets which can have a portion * of them selected. */public interface Selectable { /** select portion of widget specified by (xSpec, ySpec). * The meanings of the coordinates may depend on the widget. * @param xSpec specifies the x-coordinate of the portion to be selected. * @param ySpec specifies the y-coordinate of the portion to be selected. */ public void select(Object xSpec, Object ySpec);};
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?