locator.java

来自「和YACC一样」· Java 代码 · 共 33 行

JAVA
33
字号
/*File:	 Locator.javaAuthor:  zerksis d. umrigar (zdu@acm.org)Copyright (C) 1997 Zerksis D. UmrigarLast Update Time-stamp: "97/07/26 21:23:50 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 zdu.zydebug.XEnumeration;import zdu.zydebug.BoundedObj;import java.awt.Rectangle;/** Interface meant to locate objects which contain a given point. */interface Locator {  void locatorRegister(Rectangle bounds, Object obj);  XEnumeration locatorXEnumeration(int x, int y);  BoundedObj locate(int x, int y);  void locatorReset();}

⌨️ 快捷键说明

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