areaselectedevent.java

来自「一个java写的加密算法」· Java 代码 · 共 49 行

JAVA
49
字号
/* * $Id: AreaSelectedEvent.java,v 1.3 2004/11/14 07:33:12 tcfujii Exp $ *//* * Copyright 2004-2005 Sun Microsystems, Inc.  All rights reserved. * Use is subject to license terms. */package components.components;import javax.faces.event.ActionEvent;/** * <p>An {@link ActionEvent} indicating that the specified {@link AreaComponent} * has just become the currently selected hotspot within the source * {@link MapComponent}.</p> */public class AreaSelectedEvent extends ActionEvent {    // ------------------------------------------------------------ Constructors    /**     * <p>Construct a new {@link AreaSelectedEvent} from the specified     * source map.</p>     *     * @param map The {@link MapComponent} originating this event     */    public AreaSelectedEvent(MapComponent map) {        super(map);    }    // -------------------------------------------------------------- Properties    /**     * <p>Return the {@link MapComponent} of the map for which an area     * was selected.</p>     */    public MapComponent getMapComponent() {        return ((MapComponent) getComponent());    }}

⌨️ 快捷键说明

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