drawingtoolrequestor.java

来自「openmap java写的开源数字地图程序. 用applet实现,可以像g」· Java 代码 · 共 50 行

JAVA
50
字号
// **********************************************************************// // <copyright>// //  BBN Technologies//  10 Moulton Street//  Cambridge, MA 02138//  (617) 873-8000// //  Copyright (C) BBNT Solutions LLC. All rights reserved.// // </copyright>// **********************************************************************// // $Source: /cvs/distapps/openmap/src/openmap/com/bbn/openmap/tools/drawing/DrawingToolRequestor.java,v $// $RCSfile: DrawingToolRequestor.java,v $// $Revision: 1.1.1.1.2.1 $// $Date: 2004/10/14 18:27:41 $// $Author: dietrick $// // **********************************************************************package com.bbn.openmap.tools.drawing;import com.bbn.openmap.omGraphics.OMGraphic;import com.bbn.openmap.omGraphics.OMAction;/** * A DrawingToolRequestor is an object that asks a DrawingTool to do * something for it. The drawingComplete method is called when the * DrawingTool is complete, letting the requestor know when it should * get the map repainted, or to send the EditableOMGraphic to another * object. */public interface DrawingToolRequestor {    /**     * The method where a graphic, and an action to take on the     * graphic, arrives.     */    public void drawingComplete(OMGraphic omg, OMAction action);    /**     * Needed to fill in a GUI with a receiver's name, to enable the     * user to send a graphic to a specific object. Should be a pretty     * name, suitable to let a user know what it is. It's important     * that the requestor have a name, because that could be the key     * that is used in some GUI components.     */    public String getName();}

⌨️ 快捷键说明

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