⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 areaselectedevent.java

📁 JavaeeTutorial5的源代码。
💻 JAVA
字号:
/* * Copyright 2007 Sun Microsystems, Inc. * All rights reserved.  You may not modify, use, * reproduce, or distribute this software except in * compliance with  the terms of the License at: * http://developer.sun.com/berkeley_license.html */package com.sun.bookstore6.listeners;import com.sun.bookstore6.components.MapComponent;import com.sun.bookstore6.components.MapComponent;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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -