eventhandler.java

来自「GEo 地理操作源代码」· Java 代码 · 共 51 行

JAVA
51
字号
/************************************************************************************************** ** ** $Id: EventHandler.java,v 1.3.2.1 2004/05/18 11:20:27 desruisseaux Exp $ ** ** $Source: /cvsroot/geoapi/src/org/opengis/go/display/event/EventHandler.java,v $ ** ** Copyright (C) 2003 Open GIS Consortium, Inc. All Rights Reserved. http://www.opengis.org/Legal/ ** *************************************************************************************************/package org.opengis.go.display.event;// J2SE direct dependenciesimport java.util.EventListener;/** * Common abstraction whose implementations can associate different key * handlers with a Component to switch key handling states easily. * * @version $Revision: 1.3.2.1 $, $Date: 2004/05/18 11:20:27 $ * @author <A HREF="http://www.opengis.org">OpenGIS&reg; consortium</A> * @see EventManager */public interface EventHandler extends EventListener {    /**     * Invoked when the handler is first enabled, or reenabled after     * being temporarily disabled.     *     * @see #handlerDisabled     */    public abstract void handlerEnabled();    /**     * Invoked when the handler is temporarily disabled.     *     * @see #handlerEnabled     */    public abstract void handlerDisabled();    /**     * Invoked when the handler is permanently removed.     *     * @revisit According {@link EventManagerSupport} implementation, a handler     *          is disabled before to be removed. The specification should said     *          that.     */    public abstract void handlerRemoved();}

⌨️ 快捷键说明

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